Make UEFI boot-platform build again
[haiku.git] / headers / private / notification / Notifications.h
blob2f3ac9ec4f20c7be81f599dd232ab7c0ecf500b3
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
8 #include <Mime.h>
9 #include <View.h>
10 #include <String.h>
12 #define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
14 #define B_FOLLOW_DESKBAR B_FOLLOW_NONE
16 // Messages
17 const uint32 kNotificationMessage = 'nssm';
19 // Settings constants
20 extern const char* kSettingsFile;
22 // General settings
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