File: interfaces.vala

package info (click to toggle)
libfsoframework 0.11.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,052 kB
  • sloc: sh: 11,311; ansic: 7,896; makefile: 89
file content (224 lines) | stat: -rw-r--r-- 10,034 bytes parent folder | download
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
/*
 * Copyright (C) 2009-2011 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.

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

 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 */

// NOTE: This file only contains object paths and interface names.
// The actual interfaces are implemented in libfso-glib.

namespace FsoFramework
{
    public const string ServiceDBusPrefix = "org.freesmartphone";
    public const string ServicePathPrefix = "/org/freesmartphone";
    public const string ServiceFacePrefix = "org.freesmartphone";

    namespace Context
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".ocontextd";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Context";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Context";

        public const string ManagerServiceFace = ServiceFacePrefix + ".Manager";
        public const string ManagerServicePath = ServicePathPrefix + "/Manager";

        public const string ClientServiceFace = ServiceFacePrefix + ".Client";
        public const string ClientServicePath = ServicePathPrefix + "/Client";
    }

    namespace Data
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".odatad";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Data";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Data";

        public const string WorldServiceFace = ServiceFacePrefix + ".World";
        public const string WorldServicePath = ServicePathPrefix + "/World";
    }

    namespace Device
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".odeviced";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Device";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Device";

        public const string AmbientLightServiceFace = ServiceFacePrefix + ".AmbientLight";
        public const string AmbientLightServicePath = ServicePathPrefix + "/AmbientLight";

        public const string AudioServiceFace = ServiceFacePrefix + ".Audio";
        public const string AudioServicePath = ServicePathPrefix + "/Audio";

        public const string DisplayServiceFace = ServiceFacePrefix + ".Display";
        public const string DisplayServicePath = ServicePathPrefix + "/Display";

        public const string IdleNotifierServiceFace = ServiceFacePrefix + ".IdleNotifier";
        public const string IdleNotifierServicePath = ServicePathPrefix + "/IdleNotifier";

        public const string InfoServiceFace = ServiceFacePrefix + ".Info";
        public const string InfoServicePath = ServicePathPrefix + "/Info";

        public const string InputServiceFace = ServiceFacePrefix + ".Input";
        public const string InputServicePath = ServicePathPrefix + "/Input";

        public const string LedServiceFace = ServiceFacePrefix + ".LED";
        public const string LedServicePath = ServicePathPrefix + "/LED";

        public const string OrientationServiceFace = ServiceFacePrefix + ".Orientation";
        public const string OrientationServicePath = ServicePathPrefix + "/Orientation";

        public const string PowerControlServiceFace = ServiceFacePrefix + ".PowerControl";
        public const string PowerControlServicePath = ServicePathPrefix + "/PowerControl";

        public const string PowerSupplyServiceFace = ServiceFacePrefix + ".PowerSupply";
        public const string PowerSupplyServicePath = ServicePathPrefix + "/PowerSupply";

        public const string ProximityServiceFace = ServiceFacePrefix + ".Proximity";
        public const string ProximityServicePath = ServicePathPrefix + "/Proximity";

        public const string RtcServiceFace = ServiceFacePrefix + ".RTC";
        public const string RtcServicePath = ServicePathPrefix + "/RTC";

        public const string VibratorServiceFace = ServiceFacePrefix + ".Vibrator";
        public const string VibratorServicePath = ServicePathPrefix + "/Vibrator";
    }

    namespace GPS
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".ogpsd";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".GPS";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/GPS";

        public const string DeviceServiceFace = ServiceFacePrefix + ".Device";
        public const string DeviceServicePath = ServicePathPrefix + "/Device";
    }

    namespace GSM
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".ogsmd";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".GSM";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/GSM";

        public const string DeviceServiceFace = ServiceFacePrefix + ".Device";
        public const string DeviceServicePath = ServicePathPrefix + "/Device";
    }

    namespace Network
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".onetworkd";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Network";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Network";
    }

    namespace Phone
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".ophoned";
        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Phone";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Phone";

        public const string ManagerServiceFace = ServiceFacePrefix + ".Manager";
        public const string ManagerServicePath = ServicePathPrefix + "/Manager";

        public const string ClientServiceFace = ServiceFacePrefix + ".Client";
        public const string ClientServicePath = ServicePathPrefix + "/Client";
    }

    namespace Preferences
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".opreferencesd";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Preferences";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Preferences";
    }

    namespace PIM
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".opimd";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".PIM";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/PIM";

        public const string MessagesServiceFace = ServiceFacePrefix + ".Messages";
        public const string MessagesServicePath = ServicePathPrefix + "/Messages";

        public const string ContactsServiceFace = ServiceFacePrefix + ".Contacts";
        public const string ContactsServicePath = ServicePathPrefix + "/Contacts";
        public const string ContactServiceFace = ServiceFacePrefix + ".Contact";

        public const string CallsServiceFace = ServiceFacePrefix + ".Calls";
        public const string CallsServicePath = ServicePathPrefix + "/Calls";

        public const string TasksServiceFace = ServiceFacePrefix + ".Tasks";
        public const string TasksServicePath = ServicePathPrefix + "/Tasks";

        public const string NotesServiceFace = ServiceFacePrefix + ".Notes";
        public const string NotesServicePath = ServicePathPrefix + "/Notes";
    }

    namespace Resource
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".oresourced"; // dummy

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Resource";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Resource";
    }

    namespace Time
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".otimed";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Time";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Time";

        public const string AlarmServiceFace = ServiceFacePrefix + ".Alarm";
        public const string AlarmServicePath = ServicePathPrefix + "/Alarm";

        public const string LocationServiceFace = ServiceFacePrefix + ".Location";
        public const string LocationServicePath = ServicePathPrefix + "/Location";
    }

    namespace Usage
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".ousaged";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Usage";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Usage";
    }

    namespace Audio
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".oaudiod";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Audio";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Audio";
    }

    namespace Application
    {
        public const string ServiceDBusName = FsoFramework.ServiceDBusPrefix + ".oappd";

        public const string ServiceFacePrefix = FsoFramework.ServiceFacePrefix + ".Application";
        public const string ServicePathPrefix = FsoFramework.ServicePathPrefix + "/Application";
    }

}

// vim:ts=4:sw=4:expandtab