]> icculus.org git repositories - mikachu/openbox.git/blob - src/main.cc
not using any old blackbox classes anymore!
[mikachu/openbox.git] / src / main.cc
1 // -*- mode: C++; indent-tabs-mode: nil; -*-
2
3 /*! @file main.cc
4   @brief Main entry point for the application
5 */
6
7 #ifdef    HAVE_CONFIG_H
8 #  include "../config.h"
9 #endif // HAVE_CONFIG_H
10
11 extern "C" {
12 #include "gettext.h"
13 }
14
15 #include <string>
16 using std::string;
17
18 #include "blackbox.hh"
19 #include "openbox.hh"
20
21 int main(int argc, char **argv) {
22   // initialize the locale
23   setlocale(LC_ALL, "");
24   bindtextdomain(PACKAGE, LOCALEDIR);
25   textdomain(PACKAGE);
26
27   ob::Openbox openbox(argc, argv);
28   //ob::Blackbox blackbox(argc, argv, 0);
29   
30   //Blackbox blackbox(argv, session_display, rc_file);
31   openbox.eventLoop();
32
33   return(0);
34 }