xref: /haiku/headers/private/notification/Notifications.h (revision b247f935d133a42c427cad8a759a1bf2f65bc290)
1 /*
2  * Copyright 2010-2017, 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 #include <String.h>
10 
11 #define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
12 
13 // Messages
14 const uint32 kNotificationMessage = 'nssm';
15 
16 // Settings constants
17 extern const char* kSettingsFile;
18 
19 // General settings
20 extern const char* kAutoStartName;
21 extern const char* kTimeoutName;
22 extern const char* kWidthName;
23 extern const char* kIconSizeName;
24 
25 // General default settings
26 const bool kDefaultAutoStart = true;
27 const int32 kDefaultTimeout = 10;
28 const int32 kMinimumTimeout = 3;
29 const int32 kMaximumTimeout = 30;
30 const float kDefaultWidth = 300.0f;
31 const float kMinimumWidth = 300.0f;
32 const float kMaximumWidth = 1000.0f;
33 const int32 kWidthStep = 50;
34 const icon_size kDefaultIconSize = B_LARGE_ICON;
35 
36 #endif	// _NOTIFICATIONS_H
37