xref: /haiku/src/apps/cortex/TransportView/TransportWindow.h (revision 1d9d47fc72028bb71b5f232a877231e59cfe2438)
1 // TransportWindow.h
2 //
3 // * PURPOSE
4 //   Standalone window container for the group/node inspectors.
5 // * HISTORY
6 //   e.moon		18aug99		Begun
7 
8 #ifndef __TransportWindow_H__
9 #define __TransportWindow_H__
10 
11 #include <Window.h>
12 
13 #include "cortex_defs.h"
14 __BEGIN_CORTEX_NAMESPACE
15 
16 class TransportView;
17 class NodeManager;
18 class RouteWindow;
19 
20 class TransportWindow :
21 	public	BWindow {
22 	typedef	BWindow _inherited;
23 
24 public:											// *** messages
25 	enum message_t {
26 		// groupID: int32
27 		M_SELECT_GROUP					= TransportWindow_message_base
28 	};
29 
30 public:											// *** ctors/dtor
31 	virtual ~TransportWindow();
32 
33 	TransportWindow(
34 		NodeManager*						manager,
35 		BWindow*								parent,
36 		const char*							name);
37 
38 	BMessenger parentWindow() const;
39 
40 public:											// *** BHandler
41 	virtual void MessageReceived(
42 		BMessage*								message);
43 
44 public:											// *** BWindow
45 	virtual bool QuitRequested();
46 
47 private:
48 	TransportView*						m_view;
49 	BWindow*									m_parent;
50 
51 	void _togglePlayback(); //nyi
52 };
53 
54 __END_CORTEX_NAMESPACE
55 #endif /*__TransportWindow_H__*/
56