/* * Copyright 2011 Dewey Taylor * All rights reserved. Distributed under the terms of the MIT license. */ #ifndef _APP_H_ #define _APP_H_ using namespace std; #include #include #include #include #include #include #include #include #define D_CONNECT 'dcnc' #define D_MONITOR_SIGNATURE "application/x-vnd.Drafter-monitor" #define D_SERVER_SIGNATURE "application/x-vnd.Drafter-server" using namespace std; class App : public BApplication { public: App(); ~App(); status_t Status(); virtual void ReadyToRun(); virtual void MessageReceived(BMessage*); virtual bool QuitRequested(); private: entry_ref fGfxServerRef; entry_ref fWarehouseRef; }; #endif // _APP_H_