]> Dogcows Code - chaz/openbox/blob - src/main.cc
updated doxygen documentation
[chaz/openbox] / 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 blackbox.eventLoop();
32
33 return(0);
34 }
This page took 0.040568 seconds and 4 git commands to generate.