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 20 21 class PulseWindow : public BWindow { 22 public: 23 PulseWindow(BRect rect); 24 virtual ~PulseWindow(); 25 26 virtual bool QuitRequested(); 27 virtual void MessageReceived(BMessage *message); 28 29 void SetMode(int newmode); 30 31 private: 32 NormalPulseView* fNormalPulseView; 33 MiniPulseView* fMiniPulseView; 34 int32 fMode; 35 }; 36 37 #endif // PULSEWINDOW_H 38