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