aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-data.h
blob: bf82cf0027536400c89596b1e529b986868d5e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#ifndef __DBUS_DATA_H__
#define __DBUS_DATA_H__ 1

#define INDICATOR_MESSAGES_DBUS_NAME               "com.canonical.indicator.messages"
#define INDICATOR_MESSAGES_DBUS_OBJECT             "/com/canonical/indicator/messages/menu"

#define INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT     "/com/canonical/indicator/messages/service"
#define INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE  "com.canonical.indicator.messages.service"

#define APPLICATION_MENUITEM_TYPE        "application-item"
#define APPLICATION_MENUITEM_PROP_NAME   "label"
#define APPLICATION_MENUITEM_PROP_ICON   "icon-name"
#define APPLICATION_MENUITEM_PROP_RUNNING "app-running"

#define INDICATOR_MENUITEM_TYPE                  "indicator-item"
#define INDICATOR_MENUITEM_PROP_LABEL            "indicator-label"
#define INDICATOR_MENUITEM_PROP_ICON             "indicator-icon"
#define INDICATOR_MENUITEM_PROP_RIGHT            "right-side-text"
#define INDICATOR_MENUITEM_PROP_RIGHT_IS_LOZENGE "right-is-lozenge"

#define MAX_NUMBER_OF_INDICATORS  7

#define INDICATOR_MENU_ATTRIBUTE_VISIBLE        "indicator-visible"
#define INDICATOR_MENU_ATTRIBUTE_ENABLED        "indicator-enabled"
#define INDICATOR_MENU_ATTRIBUTE_ICON_NAME      "indicator-icon-name"

#endif /* __DBUS_DATA_H__ */