8 CommandOption *user_opt_list = 0;
10 CommandOptionNoArg longhelp("longhelp", "", "\t\t\tprints longer help", false,
13 void demo_app::parse_command_options(void)
15 if (longhelp.numSet) {
16 std::cout << "\nlong help message: bla-bla-bla ...\n\n";
21 //#define TEST_SIGSEGV 1
23 void demo_app::main_loop()
32 #ifdef NEED_TO_TEST_OUT_OF_MEMORY_CONDITION
35 kk = new char(1000000000);
38 idle(); // F_App::default_idle()
43 int main(int argc, char **argv)
45 setlocale(LC_ALL, "");
46 // the simplest app instance
47 // demo_app app(argc, argv);
48 demo_app app(argc, argv,
49 "Demo App", "v0.1", "Harbour <Harbour@Sfinx.Od.UA>", "somewhat restricted",
51 app.start_ui(); // start ui