btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / notification / Notifications.h
blob18298a4270e91a345ccb6dc68dfbb36cb70d788d
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 <String.h>
11 #define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
13 // Messages
14 const uint32 kNotificationMessage = 'nssm';
16 // Settings constants
17 extern const char* kSettingsFile;
19 // General settings
20 extern const char* kAutoStartName;
21 extern const char* kTimeoutName;
22 extern const char* kWidthName;
23 extern const char* kIconSizeName;
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;
36 #endif // _NOTIFICATIONS_H