application/main.c

changeset 518
45ed276ba7a4
parent 517
ac867877999e
child 519
8884c7fbe4cb
equal deleted inserted replaced
517:ac867877999e 518:45ed276ba7a4
771 771
772 #endif 772 #endif
773 773
774 #ifdef UI_QT 774 #ifdef UI_QT
775 775
776 void application_startup(UiEvent *event, void *data) {
777
778 }
779
776 int main(int argc, char **argv) { 780 int main(int argc, char **argv) {
781 ui_init("app1", 0, NULL);
782 ui_onstartup(application_startup, NULL);
783
784 ui_main();
785
777 return 0; 786 return 0;
778 } 787 }
779 788
780 #endif 789 #endif
781 790

mercurial