xref: /haiku/src/preferences/notifications/PrefletView.h (revision 4a57f843964b2598ff06ba9a15e206a0a72a82ff)
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_VIEW_H
7 #define _PREFLET_VIEW_H
8 
9 #include <View.h>
10 
11 class BIconRule;
12 
13 class SettingsHost;
14 
15 class PrefletView : public BView {
16 public:
17 						PrefletView(SettingsHost* host);
18 
19 	virtual	void		AttachedToWindow();
20 	virtual	void		MessageReceived(BMessage* message);
21 
22 			void		Select(int32 index);
23 			BView*		CurrentPage();
24 			int32		CountPages() const;
25 			BView*		PageAt(int32 index);
26 
27 private:
28 			BIconRule*	fRule;
29 			BView*		fPagesView;
30 };
31 
32 #endif // PREFLETVIEW_H
33