blob: 0b6aa958257cf4b984a5a8598d2f3eb5dde491db (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/*
* Copyright 2013 Canonical Ltd.
*
* 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/>.
*
* Authors:
* Ted Gould <ted@canonical.com>
* Charles Kerr <charles.kerr@canonical.com>
*/
#ifndef INDICATOR_DATETIME_DBUS_SHARED_H
#define INDICATOR_DATETIME_DBUS_SHARED_H
#define BUS_DATETIME_NAME "org.ayatana.indicator.datetime"
#define BUS_DATETIME_PATH "/org/ayatana/indicator/datetime"
#define BUS_POWERD_NAME "com.lomiri.Repowerd"
#define BUS_POWERD_PATH "/com/lomiri/Repowerd"
#define BUS_POWERD_INTERFACE "com.lomiri.Repowerd"
namespace Bus
{
namespace Timedate1
{
static constexpr char const * BUSNAME {"org.freedesktop.timedate1"};
static constexpr char const * ADDR {"/org/freedesktop/timedate1"};
static constexpr char const * IFACE {"org.freedesktop.timedate1"};
namespace Properties
{
static constexpr char const * TIMEZONE {"Timezone"};
}
namespace Methods
{
static constexpr char const * SET_TIMEZONE {"SetTimezone"};
}
}
namespace Properties
{
static constexpr char const * IFACE {"org.freedesktop.DBus.Properties"};
namespace Methods
{
static constexpr char const * GET {"Get"};
}
namespace Signals
{
static constexpr char const * PROPERTIES_CHANGED {"PropertiesChanged"};
}
}
}
#endif /* INDICATOR_DATETIME_DBUS_SHARED_H */
|