xref: /haiku/src/preferences/notifications/PrefletWin.h (revision ca8ed5ea660fb6275799a3b7f138b201c41a667b)
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 			void			ReloadSettings();
26 
27 private:
28 			PrefletView*	fMainView;
29 			BButton*		fApply;
30 			BButton*		fRevert;
31 };
32 
33 #endif // _PREFLET_WIN_H
34