2 * Copyright 2010, Haiku, Inc. All Rights Reserved.
3 * Copyright 2009, Pier Luigi Fiorini.
4 * Distributed under the terms of the MIT License.
11 #include <notification/AppUsage.h>
13 #include "SettingsPane.h"
15 typedef std::map
<BString
, AppUsage
*> appusage_t
;
19 class BColumnListView
;
23 class NotificationsView
: public SettingsPane
{
25 NotificationsView(SettingsHost
* host
);
27 virtual void AttachedToWindow();
28 virtual void MessageReceived(BMessage
* msg
);
31 status_t
Load(BMessage
&);
32 status_t
Save(BMessage
&);
33 status_t
Revert() {return B_OK
;} // FIXME implement this
34 void _PopulateApplications();
35 void _Populate(AppUsage
* usage
);
37 appusage_t fAppFilters
;
39 BTextControl
* fSearch
;
40 BColumnListView
* fApplications
;
41 BStringColumn
* fAppCol
;
42 BStringColumn
* fAppEnabledCol
;
43 BColumnListView
* fNotifications
;
44 BStringColumn
* fTitleCol
;
45 BDateColumn
* fDateCol
;
46 BStringColumn
* fTypeCol
;
47 BStringColumn
* fAllowCol
;
50 #endif // _APPS_VIEW_H