00001 #ifndef APPLICATION_H 00002 #define APPLICATION_H 00003 00004 #include <util/application.h> 00005 #include <gui/window.h> 00006 #include <list> 00007 00008 class MainWindow; 00009 00018 class App : public os::Application 00019 { 00020 public: 00021 App(int argc, char **argv); 00022 ~App(); 00023 00024 bool OkToQuit(); 00025 00026 private: 00027 00028 bool _parseArgs(MainWindow* myWindow, int argc, char **argv); 00029 void _Usage(char *name); 00030 00032 os::Window* m_pcMainWindow; 00033 }; 00034 00035 #endif 00036 00037 00038 00039 00040 00041 00042 00043