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 12 #ifndef __NodeManager_AddOnHostApp_H__ 13 #define __NodeManager_AddOnHostApp_H__ 14 15 #include <Application.h> 16 #include <MediaAddOn.h> 17 #include <MediaDefs.h> 18 19 #include "cortex_defs.h" 20 __BEGIN_CORTEX_NAMESPACE 21 namespace addon_host { 22 23 class App : 24 public BApplication { 25 typedef BApplication _inherited; 26 27 public: // *** implementation 28 ~App(); 29 App(); 30 31 public: // *** BLooper 32 bool QuitRequested(); 33 34 public: // *** BHandler 35 void MessageReceived( 36 BMessage* message); 37 38 private: // implementation 39 40 }; 41 42 }; // addon_host 43 __END_CORTEX_NAMESPACE 44 #endif /*__NodeManager_AddOnHostApp_H__*/