xref: /haiku/src/apps/pulse/PulseWindow.h (revision f2df0cfe93a902842f6f4629ff614f5b3f9bf687)
1 //****************************************************************************************
2 //
3 //	File:		PulseWindow.h
4 //
5 //	Written by:	Daniel Switkin
6 //
7 //	Copyright 1999, Be Incorporated
8 //
9 //****************************************************************************************
10 
11 #ifndef PULSEWINDOW_H
12 #define PULSEWINDOW_H
13 
14 
15 #include <interface/Window.h>
16 
17 #include "NormalPulseView.h"
18 #include "MiniPulseView.h"
19 #include "PrefsWindow.h"
20 
21 
22 class PulseWindow : public BWindow {
23 	public:
24 		PulseWindow(BRect rect);
25 		virtual ~PulseWindow();
26 
27 		virtual bool QuitRequested();
28 		virtual void MessageReceived(BMessage *message);
29 
30 		void SetMode(int newmode);
31 
32 	private:
33 		NormalPulseView*	fNormalPulseView;
34 		MiniPulseView*		fMiniPulseView;
35 		PrefsWindow*		fPrefsWindow;
36 		int32				fMode;
37 };
38 
39 #endif	// PULSEWINDOW_H
40