1 #include <Application.h> 2 #include <InterfaceKit.h> 3 #include <Window.h> 4 #include <String.h> 5 6 class BF_GUI_WinMain; 7 8 class BF_App : public BApplication { 9 public: 10 bool bAskedQuit; 11 12 BF_App(const char* pc_AppFileName); 13 virtual bool QuitRequested(); 14 virtual void MessageReceived(BMessage * message); 15 16 const BString AppFileName(); 17 18 private: 19 BString sAppFileName; 20 }; 21 22 extern BF_App *poApp; 23 24