aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-shared.h
blob: 93ea5a1039cf0442aaeceb6aa200308e3667b551 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
An indicator to show date and time information.

Copyright 2010 Canonical Ltd.

Authors:
    Ted Gould <ted@canonical.com>

This program is free software: you can redistribute it and/or modify it 
under the terms of the GNU General Public License version 3, as published 
by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranties of 
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along 
with this program.  If not, see <http://www.gnu.org/licenses/>.
*/


#define  SERVICE_NAME     "com.canonical.indicator.datetime"
#define  SERVICE_IFACE    "com.canonical.indicator.datetime.service"
#define  SERVICE_OBJ      "/com/canonical/indicator/datetime/service"
#define  SERVICE_VERSION  1

#define  MENU_OBJ      "/com/canonical/indicator/datetime/menu"

#define DBUSMENU_CALENDAR_MENUITEM_TYPE    "x-canonical-calendar-item"

// The following properties are not *really* properties, but are just
// a way of accessing the calendar from the service
#define CALENDAR_MENUITEM_PROP_MARK        "calendar-mark"
#define CALENDAR_MENUITEM_PROP_UNMARK      "calendar-unmark"
#define CALENDAR_MENUITEM_PROP_CLEAR_MARKS "calendar-clear-marks"


#define APPOINTMENT_MENUITEM_TYPE          "appointment-item"	
#define APPOINTMENT_MENUITEM_PROP_LABEL    "appointment-label"
#define APPOINTMENT_MENUITEM_PROP_ICON     "appointment-icon"
#define APPOINTMENT_MENUITEM_PROP_RIGHT    "appointment-time"

#define TIMEZONE_MENUITEM_TYPE             "timezone-item"	
#define TIMEZONE_MENUITEM_PROP_ZONE        "timezone-zone"
#define TIMEZONE_MENUITEM_PROP_RADIO       "timezone-radio"