1 // DormantNodeInfoView.h (Cortex/InfoView) 2 // 3 // * PURPOSE 4 // An InfoView variant for dormant MediaNodes. Accepts 5 // a dormant_node_info struct in the constructor and 6 // tries to aquire the corresponding dormant_flavor_info 7 // from the BMediaRoster. 8 // 9 // * HISTORY 10 // c.lenz 5nov99 Begun 11 // 12 13 #ifndef __DormantNodeInfoView_H__ 14 #define __DormantNodeInfoView_H__ 15 16 #include "InfoView.h" 17 18 #include "cortex_defs.h" 19 __BEGIN_CORTEX_NAMESPACE 20 21 class NodeRef; 22 23 class DormantNodeInfoView : 24 public InfoView { 25 26 public: // *** ctor/dtor 27 28 // add fields relevant for dormant MediaNodes (like 29 // AddOn-ID, input/output formats etc.) 30 DormantNodeInfoView( 31 const dormant_node_info &info); 32 33 virtual ~DormantNodeInfoView(); 34 35 public: // *** BView impl 36 37 // notify InfoWindowManager 38 virtual void DetachedFromWindow(); 39 40 private: // *** data members 41 42 int32 m_addOnID; 43 44 int32 m_flavorID; 45 }; 46 47 __END_CORTEX_NAMESPACE 48 #endif /* __DormantNodeInfoView_H__ */ 49