2 * Copyright 2010-2017, Haiku, Inc. All Rights Reserved.
3 * Copyright 2008-2009, Pier Luigi Fiorini. All Rights Reserved.
4 * Copyright 2004-2008, Michael Davidson. All Rights Reserved.
5 * Copyright 2004-2007, Mikael Eiman. All Rights Reserved.
6 * Distributed under the terms of the MIT License.
8 #ifndef _NOTIFICATION_WINDOW_H
9 #define _NOTIFICATION_WINDOW_H
15 #include <AppFileInfo.h>
20 #include "NotificationView.h"
28 typedef std::map
<BString
, AppGroupView
*> appview_t
;
29 typedef std::map
<BString
, AppUsage
*> appfilter_t
;
31 const uint32 kRemoveGroupView
= 'RGVi';
34 class NotificationWindow
: public BWindow
{
37 virtual ~NotificationWindow();
39 virtual bool QuitRequested();
40 virtual void MessageReceived(BMessage
*);
41 virtual void WorkspaceActivated(int32
, bool);
42 virtual void FrameResized(float width
, float height
);
43 virtual void ScreenChanged(BRect frame
, color_space mode
);
52 friend class AppGroupView
;
55 void _LoadSettings(bool startMonitor
= false);
56 void _LoadAppFilters(BMessage
& settings
);
57 void _LoadGeneralSettings(BMessage
& settings
);
58 void _LoadDisplaySettings(BMessage
& settings
);
61 appfilter_t fAppFilters
;
71 extern property_info main_prop_list
[];
73 #endif // _NOTIFICATION_WINDOW_H