~thomas-voss/location-service/flatten

« back to all changes in this revision

Viewing changes to src/location_service/com/ubuntu/location/service/session/interface_p.h

  • Committer: thomas-voss
  • Date: 2015-02-03 12:21:33 UTC
  • Revision ID: thomas.voss@canonical.com-20150203122133-660kjot28cz7dx6m
Adjust namespace to core::location for all classes not in com::ubuntu::location::connectivity.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *
16
16
 * Authored by: Thomas Voß <thomas.voss@canonical.com>
17
17
 */
18
 
#ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_P_H_
19
 
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_P_H_
 
18
#ifndef CORE_LOCATION_SERVICE_SESSION_INTERFACE_P_H_
 
19
#define CORE_LOCATION_SERVICE_SESSION_INTERFACE_P_H_
20
20
 
21
21
#include <com/ubuntu/location/service/session/interface.h>
22
22
 
23
23
#include <core/dbus/codec.h>
24
24
#include <core/dbus/traits/service.h>
25
25
 
26
 
struct com::ubuntu::location::service::session::Interface::UpdatePosition
 
26
struct core::location::service::session::Interface::UpdatePosition
27
27
{
28
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
28
    typedef core::location::service::session::Interface Interface;
29
29
 
30
30
    inline static const std::string& name()
31
31
    {
39
39
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{1}; }
40
40
};
41
41
 
42
 
struct com::ubuntu::location::service::session::Interface::UpdateVelocity
 
42
struct core::location::service::session::Interface::UpdateVelocity
43
43
{
44
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
44
    typedef core::location::service::session::Interface Interface;
45
45
 
46
46
    inline static const std::string& name()
47
47
    {
55
55
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{1}; }
56
56
};
57
57
 
58
 
struct com::ubuntu::location::service::session::Interface::UpdateHeading
 
58
struct core::location::service::session::Interface::UpdateHeading
59
59
{
60
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
60
    typedef core::location::service::session::Interface Interface;
61
61
 
62
62
    inline static const std::string& name()
63
63
    {
71
71
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{1}; }
72
72
};
73
73
 
74
 
struct com::ubuntu::location::service::session::Interface::StartPositionUpdates
 
74
struct core::location::service::session::Interface::StartPositionUpdates
75
75
{
76
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
76
    typedef core::location::service::session::Interface Interface;
77
77
 
78
78
    inline static const std::string& name()
79
79
    {
87
87
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
88
88
};
89
89
 
90
 
struct com::ubuntu::location::service::session::Interface::StopPositionUpdates
 
90
struct core::location::service::session::Interface::StopPositionUpdates
91
91
{
92
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
92
    typedef core::location::service::session::Interface Interface;
93
93
 
94
94
    inline static const std::string& name()
95
95
    {
103
103
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
104
104
};
105
105
 
106
 
struct com::ubuntu::location::service::session::Interface::StartVelocityUpdates
 
106
struct core::location::service::session::Interface::StartVelocityUpdates
107
107
{
108
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
108
    typedef core::location::service::session::Interface Interface;
109
109
 
110
110
    inline static const std::string& name()
111
111
    {
119
119
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
120
120
};
121
121
 
122
 
struct com::ubuntu::location::service::session::Interface::StopVelocityUpdates
 
122
struct core::location::service::session::Interface::StopVelocityUpdates
123
123
{
124
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
124
    typedef core::location::service::session::Interface Interface;
125
125
 
126
126
    inline static const std::string& name()
127
127
    {
135
135
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
136
136
};
137
137
 
138
 
struct com::ubuntu::location::service::session::Interface::StartHeadingUpdates
 
138
struct core::location::service::session::Interface::StartHeadingUpdates
139
139
{
140
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
140
    typedef core::location::service::session::Interface Interface;
141
141
 
142
142
    inline static const std::string& name()
143
143
    {
151
151
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
152
152
};
153
153
 
154
 
struct com::ubuntu::location::service::session::Interface::StopHeadingUpdates
 
154
struct core::location::service::session::Interface::StopHeadingUpdates
155
155
{
156
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
156
    typedef core::location::service::session::Interface Interface;
157
157
 
158
158
    inline static const std::string& name()
159
159
    {
167
167
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
168
168
};
169
169
 
170
 
struct com::ubuntu::location::service::session::Interface::Errors::ErrorParsingUpdate
 
170
struct core::location::service::session::Interface::Errors::ErrorParsingUpdate
171
171
{
172
172
    inline static std::string name()
173
173
    {
175
175
    }
176
176
};
177
177
 
178
 
struct com::ubuntu::location::service::session::Interface::Errors::ErrorStartingUpdate
 
178
struct core::location::service::session::Interface::Errors::ErrorStartingUpdate
179
179
{
180
180
    inline static std::string name()
181
181
    {
190
190
namespace traits
191
191
{
192
192
template <>
193
 
struct Service<com::ubuntu::location::service::session::Interface>
 
193
struct Service<core::location::service::session::Interface>
194
194
{
195
195
    static const std::string& interface_name()
196
196
    {
205
205
 
206
206
#include <com/ubuntu/location/codec.h>
207
207
 
208
 
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_P_H_
 
208
#endif // CORE_LOCATION_SERVICE_SESSION_INTERFACE_P_H_