xref: /haiku/headers/private/notification/Notifications.h (revision 6aa0587222b965a635512f99861a5f6a9ad465a8)
1e9834f35SAdrien Destugues /*
2*6aa05872SBrian Hill  * Copyright 2010-2017, Haiku, Inc. All Rights Reserved.
3e9834f35SAdrien Destugues  * Distributed under the terms of the MIT License.
4e9834f35SAdrien Destugues  */
5e9834f35SAdrien Destugues #ifndef _NOTIFICATIONS_H
6e9834f35SAdrien Destugues #define _NOTIFICATIONS_H
7e9834f35SAdrien Destugues 
8e9834f35SAdrien Destugues #include <Mime.h>
9*6aa05872SBrian Hill #include <String.h>
10e9834f35SAdrien Destugues 
11e9834f35SAdrien Destugues #define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
12e9834f35SAdrien Destugues 
13e9834f35SAdrien Destugues // Messages
14e9834f35SAdrien Destugues const uint32 kNotificationMessage = 'nssm';
15e9834f35SAdrien Destugues 
16e9834f35SAdrien Destugues // Settings constants
17015a928bSAdrien Destugues extern const char* kSettingsFile;
18e9834f35SAdrien Destugues 
19e9834f35SAdrien Destugues // General settings
20e9834f35SAdrien Destugues extern const char* kAutoStartName;
21e9834f35SAdrien Destugues extern const char* kTimeoutName;
22*6aa05872SBrian Hill extern const char* kWidthName;
23*6aa05872SBrian Hill extern const char* kIconSizeName;
24e9834f35SAdrien Destugues 
25e9834f35SAdrien Destugues // General default settings
26af218cc4SAdrien Destugues const bool kDefaultAutoStart = true;
27e9834f35SAdrien Destugues const int32 kDefaultTimeout = 10;
28*6aa05872SBrian Hill const int32 kMinimumTimeout = 3;
29*6aa05872SBrian Hill const int32 kMaximumTimeout = 30;
30e9834f35SAdrien Destugues const float kDefaultWidth = 300.0f;
31*6aa05872SBrian Hill const float kMinimumWidth = 300.0f;
32*6aa05872SBrian Hill const float kMaximumWidth = 1000.0f;
33*6aa05872SBrian Hill const int32 kWidthStep = 50;
34e9834f35SAdrien Destugues const icon_size kDefaultIconSize = B_LARGE_ICON;
35e9834f35SAdrien Destugues 
36e9834f35SAdrien Destugues #endif	// _NOTIFICATIONS_H
37