2011-11-03 16:49:18 +04:00
|
|
|
/*
|
2014-11-25 10:50:47 +03:00
|
|
|
* Copyright 2010-2014, Haiku, Inc. All Rights Reserved.
|
2011-11-03 16:49:18 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _NOTIFICATIONS_H
|
|
|
|
#define _NOTIFICATIONS_H
|
|
|
|
|
|
|
|
#include <Mime.h>
|
|
|
|
|
|
|
|
#define kNotificationServerSignature "application/x-vnd.Haiku-notification_server"
|
|
|
|
|
|
|
|
// Messages
|
2014-11-25 10:50:47 +03:00
|
|
|
const uint32 kNotificationMessage = 'nssm';
|
2011-11-03 16:49:18 +04:00
|
|
|
|
|
|
|
// Settings constants
|
2014-10-21 20:46:17 +04:00
|
|
|
extern const char* kSettingsFile;
|
2011-11-03 16:49:18 +04:00
|
|
|
|
|
|
|
// General settings
|
|
|
|
extern const char* kAutoStartName;
|
|
|
|
extern const char* kTimeoutName;
|
|
|
|
|
|
|
|
// General default settings
|
2014-11-25 10:50:47 +03:00
|
|
|
const bool kDefaultAutoStart = true;
|
|
|
|
const int32 kDefaultTimeout = 10;
|
2011-11-03 16:49:18 +04:00
|
|
|
|
|
|
|
// Display settings
|
|
|
|
extern const char* kWidthName;
|
|
|
|
extern const char* kIconSizeName;
|
|
|
|
extern const char* kLayoutName;
|
|
|
|
|
|
|
|
// Display default settings
|
2014-11-25 10:50:47 +03:00
|
|
|
const float kDefaultWidth = 300.0f;
|
|
|
|
const icon_size kDefaultIconSize = B_LARGE_ICON;
|
2011-11-03 16:49:18 +04:00
|
|
|
|
|
|
|
#endif // _NOTIFICATIONS_H
|