]> Dogcows Code - chaz/openbox/blobdiff - src/main.cc
more compressing
[chaz/openbox] / src / main.cc
index af0dcf38b4b6dacf5fdf00d13faef7dbeb92b763..5b6c7885d66a8e15ae1d1bb55aac8acacc5890d9 100644 (file)
@@ -1,10 +1,18 @@
 // -*- mode: C++; indent-tabs-mode: nil; -*-
 
+/*! @file main.cc
+  @brief Main entry point for the application
+*/
+
 #ifdef    HAVE_CONFIG_H
 #  include "../config.h"
 #endif // HAVE_CONFIG_H
 
 extern "C" {
+#ifdef    HAVE_LOCALE_H
+# include <locale.h>
+#endif // HAVE_LOCALE_H
+
 #include "gettext.h"
 }
 
@@ -20,11 +28,11 @@ int main(int argc, char **argv) {
   bindtextdomain(PACKAGE, LOCALEDIR);
   textdomain(PACKAGE);
 
-  //ob::Openbox openbox(argc, argv);
-  ob::Blackbox blackbox(argc, argv, 0);
+  ob::Openbox openbox(argc, argv);
+  //ob::Blackbox blackbox(argc, argv, 0);
   
   //Blackbox blackbox(argv, session_display, rc_file);
-  blackbox.eventLoop();
+  openbox.eventLoop();
 
   return(0);
 }
This page took 0.021299 seconds and 4 git commands to generate.