1 /* 2 * Copyright 2010, Haiku, Inc. All Rights Reserved. 3 * Copyright 2009, Pier Luigi Fiorini. 4 * Distributed under the terms of the MIT License. 5 */ 6 #ifndef _PREFLET_WIN_H 7 #define _PREFLET_WIN_H 8 9 #include <Window.h> 10 11 #include "SettingsHost.h" 12 13 class BButton; 14 15 class PrefletView; 16 17 class PrefletWin : public BWindow, public SettingsHost { 18 public: 19 PrefletWin(); 20 21 virtual bool QuitRequested(); 22 virtual void MessageReceived(BMessage* msg); 23 24 virtual void SettingChanged(); 25 26 private: 27 PrefletView* fMainView; 28 BButton* fApply; 29 BButton* fRevert; 30 }; 31 32 #endif // _PREFLET_WIN_H 33