summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp
blob: be1ab19606f6cc2e249c3f2baf1b97b4d614436e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%{CC_TEMPLATE}

#include <config.h>
#include <gnome--/main.h>
#include <libgnome/gnome-i18n.h>

#include "main_window.h"

int main(int argc, char **argv)
{  
#if defined(ENABLE_NLS)
   bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
   textdomain (GETTEXT_PACKAGE);
#endif //ENABLE_NLS
   
   Gnome::Main m(PACKAGE, VERSION, argc, argv);

   main_window *main_window = new class main_window();
   m.run();
   delete main_window;
   return 0;
}