summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cc
blob: 8a33b9fff639fb38acf765d13d477ef2e7162696 (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.hh"

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;
}