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 <View.h>
10#include <String.h>
11
12#define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
13
14#define B_FOLLOW_DESKBAR B_FOLLOW_NONE
15
16// Messages
17const uint32 kNotificationMessage = 'nssm';
18
19// Settings constants
20extern const char* kSettingsFile;
21
22// General settings
23extern const char* kAutoStartName;
24extern const char* kTimeoutName;
25extern const char* kWidthName;
26extern const char* kIconSizeName;
27extern const char* kNotificationPositionName;
28
29// General default settings
30const bool kDefaultAutoStart = true;
31const int32 kDefaultTimeout = 10;
32const int32 kMinimumTimeout = 3;
33const int32 kMaximumTimeout = 30;
34const float kDefaultWidth = 300.0f;
35const float kMinimumWidth = 300.0f;
36const float kMaximumWidth = 1000.0f;
37const int32 kWidthStep = 50;
38const icon_size kDefaultIconSize = B_LARGE_ICON;
39const uint32 kDefaultNotificationPosition = B_FOLLOW_DESKBAR;
40
41#endif	// _NOTIFICATIONS_H
42