xref: /haiku/src/apps/cortex/addons/common/MediaNodeControlApp.h (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1 // MediaMediaNodeControlApp.h
2 //
3 // TO DO
4 //   +++++ shut down automatically when node is deleted
5 //
6 // PURPOSE
7 //   Display a generic control panel for a given media node.
8 //
9 // HISTORY
10 //   e.moon 8jun99		Begun
11 
12 #ifndef __MediaNodeControlApp_H__
13 #define __MediaNodeControlApp_H__
14 
15 #include <Application.h>
16 #include <MediaNode.h>
17 
18 class MediaNodeControlApp :
19 	public		BApplication {
20 	typedef	BApplication _inherited;
21 
22 public:						// ctor/dtor
23 	virtual ~MediaNodeControlApp();
24 	MediaNodeControlApp(
25 		const char* pAppSignature,
26 		media_node_id nodeID);
27 
28 private:						// members
29 	media_node			m_node;
30 };
31 
32 #endif /*__MediaNodeControlApp_H__*/