xref: /haiku/headers/private/notification/Notifications.h (revision 45bd7bb3db9d9e4dcb02b89a3e7c2bf382c0a88c)
1 /*
2  * Copyright 2010, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _NOTIFICATIONS_H
6 #define _NOTIFICATIONS_H
7 
8 #include <Mime.h>
9 
10 #define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
11 
12 // Messages
13 const uint32 kNotificationMessage		= 'nssm';
14 
15 // Notification layout
16 enum infoview_layout {
17 	TitleAboveIcon = 0,
18 	AllTextRightOfIcon = 1
19 };
20 
21 // Settings constants
22 extern const char* kSettingsDirectory;
23 extern const char* kFiltersSettings;
24 extern const char* kGeneralSettings;
25 extern const char* kDisplaySettings;
26 
27 // General settings
28 extern const char* kAutoStartName;
29 extern const char* kTimeoutName;
30 
31 // General default settings
32 const float kDefaultAutoStart			= false;
33 const int32 kDefaultTimeout				= 10;
34 
35 // Display settings
36 extern const char* kWidthName;
37 extern const char* kIconSizeName;
38 extern const char* kLayoutName;
39 
40 // Display default settings
41 const float kDefaultWidth				= 300.0f;
42 const icon_size kDefaultIconSize		= B_LARGE_ICON;
43 const infoview_layout kDefaultLayout	= TitleAboveIcon;
44 
45 #endif	// _NOTIFICATIONS_H
46