1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
4 @brief Main entry point for the application
8 # include "../config.h"
9 #endif // HAVE_CONFIG_H
14 #endif // HAVE_LOCALE_H
18 #endif // HAVE_STDIO_H
25 int main(int argc, char **argv) {
26 // initialize the locale
27 if (!setlocale(LC_ALL, ""))
28 printf("Couldn't set locale from environment.\n");
29 bindtextdomain(PACKAGE, LOCALEDIR);
30 bind_textdomain_codeset(PACKAGE, "UTF-8");
33 ob::Openbox openbox(argc, argv);