1 // cortex::NodeManager::AddOnHostApp.h 2 // * PURPOSE 3 // Definition of (and provisions for communication with) 4 // a separate BApplication whose single responsibility is 5 // to launch nodes. NodeManager-launched nodes run in 6 // another team, helping to lower the likelihood of a 7 // socially maladjusted young node taking you out. 8 // 9 // * HISTORY 10 // e.moon 6nov99 11 #ifndef NODE_MANAGER_ADD_ON_HOST_APP_H 12 #define NODE_MANAGER_ADD_ON_HOST_APP_H 13 14 15 #include "cortex_defs.h" 16 17 #include <Application.h> 18 #include <MediaAddOn.h> 19 #include <MediaDefs.h> 20 21 22 __BEGIN_CORTEX_NAMESPACE 23 namespace addon_host { 24 25 class App : public BApplication { 26 typedef BApplication _inherited; 27 28 public: 29 ~App(); 30 App(); 31 32 public: 33 bool QuitRequested(); 34 void MessageReceived(BMessage* message); 35 36 }; 37 38 } // addon_host 39 __END_CORTEX_NAMESPACE 40 41 #endif // NODE_MANAGER_ADD_ON_HOST_APP_H 42