You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp

23 lines
450 B

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