blob: ecd6f8a3af312b0408ca1e0e379d94b3db62c87e (
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
|
/*
An example indicator.
Copyright 2010 Canonical Ltd.
Authors:
Ted Gould <ted@example.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.example.indicator.example"
#define SERVICE_IFACE "com.example.indicator.example.service"
#define SERVICE_OBJ "/com/example/indicator/example/service"
#define SERVICE_VERSION 1
#define MENU_OBJ "/com/example/indicator/example/menu"
#define DBUSMENU_CALENDAR_MENUITEM_TYPE "x-example-calendar-item"
#define CALENDAR_MENUITEM_PROP_MARKS "calendar-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_NAME "timezone-name"
#define TIMEZONE_MENUITEM_PROP_RADIO "timezone-radio"
|