1 /* 2 * Copyright 2003-2009, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Authors: 6 * Jérôme Duval 7 * François Revol 8 * Axel Dörfler, axeld@pinc-software.de. 9 */ 10 #ifndef VOLUME_WINDOW_H 11 #define VOLUME_WINDOW_H 12 13 14 #include <Window.h> 15 16 #include "MixerControl.h" 17 18 19 class VolumeWindow : public BWindow { 20 public: 21 VolumeWindow(BRect frame, bool dontBeep = false, 22 int32 volumeWhich = VOLUME_USE_MIXER); 23 virtual ~VolumeWindow(); 24 25 protected: 26 virtual void MessageReceived(BMessage* message); 27 28 private: 29 int32 fUpdatedCount; 30 }; 31 32 #endif // VOLUME_WINDOW_H 33