2 * Copyright 2010-2017, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _NOTIFICATIONS_H
6 #define _NOTIFICATIONS_H
12 #define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
14 #define B_FOLLOW_DESKBAR B_FOLLOW_NONE
17 const uint32 kNotificationMessage
= 'nssm';
20 extern const char* kSettingsFile
;
23 extern const char* kAutoStartName
;
24 extern const char* kTimeoutName
;
25 extern const char* kWidthName
;
26 extern const char* kIconSizeName
;
27 extern const char* kNotificationPositionName
;
29 // General default settings
30 const bool kDefaultAutoStart
= true;
31 const int32 kDefaultTimeout
= 10;
32 const int32 kMinimumTimeout
= 3;
33 const int32 kMaximumTimeout
= 30;
34 const float kDefaultWidth
= 300.0f
;
35 const float kMinimumWidth
= 300.0f
;
36 const float kMaximumWidth
= 1000.0f
;
37 const int32 kWidthStep
= 50;
38 const icon_size kDefaultIconSize
= B_LARGE_ICON
;
39 const uint32 kDefaultNotificationPosition
= B_FOLLOW_DESKBAR
;
41 #endif // _NOTIFICATIONS_H