xref: /haiku/src/apps/pulse/PulseWindow.h (revision 2b76973fa2401f7a5edf68e6470f3d3210cbcff3)
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 MoveOnScreen();
31 		void SetMode(int newmode);
32 
33 	private:
34 		NormalPulseView*	fNormalPulseView;
35 		MiniPulseView*		fMiniPulseView;
36 		PrefsWindow*		fPrefsWindow;
37 		int32				fMode;
38 };
39 
40 #endif	// PULSEWINDOW_H
41