xref: /haiku/src/apps/cortex/InfoView/LiveNodeInfoView.h (revision 16d5c24e533eb14b7b8a99ee9f3ec9ba66335b1e)
1 // LiveNodeInfoView.h (Cortex/InfoView)
2 //
3 // * PURPOSE
4 //   Defines fields to be displayed for all live MediaNodes,
5 //   which can be added to for special nodes like file-readers
6 //   (see FileNodeInfoView) etc.
7 //
8 // * HISTORY
9 //   c.lenz		5nov99		Begun
10 //
11 
12 #ifndef __LiveNodeInfoView_H__
13 #define __LiveNodeInfoView_H__
14 
15 #include "InfoView.h"
16 
17 #include "cortex_defs.h"
18 __BEGIN_CORTEX_NAMESPACE
19 
20 class NodeRef;
21 
22 class LiveNodeInfoView :
23 	public InfoView {
24 
25 public:					// *** ctor/dtor
26 
27 	// adds the live-node relevant fields the the
28 	// InfoView
29 						LiveNodeInfoView(
30 							const NodeRef *ref);
31 
32 	virtual				~LiveNodeInfoView();
33 
34 public:					// *** BView impl
35 
36 	// notify InfoWindowManager
37 	virtual void		DetachedFromWindow();
38 
39 private:				// *** data members
40 
41 	int32				m_nodeID;
42 };
43 
44 __END_CORTEX_NAMESPACE
45 #endif /* __LiveNodeInfoView_H__ */
46