Ubuntu Platform API  1.0.0
A library helping with tight integration into the Ubuntu platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
controller.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2013 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License version 3 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Thomas Voß <thomas.voss@canonical.com>
17  */
18 
19 #ifndef UBUNTU_APPLICATION_LOCATION_SERVICE_CONTROLLER_H_
20 #define UBUNTU_APPLICATION_LOCATION_SERVICE_CONTROLLER_H_
21 
22 #include <ubuntu/status.h>
23 #include <ubuntu/visibility.h>
24 
25 #ifdef __cplusplus
26 extern "C"
27 {
28 #endif
29 
34  typedef enum
35  {
41 
43 
44  typedef unsigned int UALocationServiceStatusFlags;
45 
51  UALocationServiceStatusFlags flags,
52  void *context);
53 
58  typedef struct UbuntuApplicationLocationServiceController UALocationServiceController;
59 
67  UALocationServiceController *controller);
68 
76  UALocationServiceController *controller);
77 
87  UALocationServiceController *controller,
89  void *context);
90 
99  UALocationServiceController *controller,
100  UALocationServiceStatusFlags *out_flags);
101 
109  UALocationServiceController *controller);
110 
118  UALocationServiceController *controller);
119 
127  UALocationServiceController *controller);
128 
136  UALocationServiceController *controller);
137 
138 
139 #ifdef __cplusplus
140 }
141 #endif
142 
143 #endif // UBUNTU_APPLICATION_LOCATION_SERVICE_CONTROLLER_H_