~thomas-voss/location-service/enable-gnd-messages

« back to all changes in this revision

Viewing changes to src/location/service/session/interface_p.h

  • Committer: Thomas Voß
  • Date: 2016-06-26 21:17:03 UTC
  • mto: This revision was merged to the branch mainline in revision 259.
  • Revision ID: thomas.voss@canonical.com-20160626211703-aptpytiwrjdr1snn
Simplify namespaces.

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 LOCATION_SERVICE_SESSION_INTERFACE_P_H_
 
19
#define LOCATION_SERVICE_SESSION_INTERFACE_P_H_
20
20
 
21
 
#include <com/ubuntu/location/service/session/interface.h>
 
21
#include <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 location::service::session::Interface::UpdatePosition
27
27
{
28
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
28
    typedef location::service::session::Interface Interface;
29
29
 
30
30
    inline static const std::string& name()
31
31
    {
41
41
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{1}; }
42
42
};
43
43
 
44
 
struct com::ubuntu::location::service::session::Interface::UpdateVelocity
 
44
struct location::service::session::Interface::UpdateVelocity
45
45
{
46
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
46
    typedef location::service::session::Interface Interface;
47
47
 
48
48
    inline static const std::string& name()
49
49
    {
59
59
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{1}; }
60
60
};
61
61
 
62
 
struct com::ubuntu::location::service::session::Interface::UpdateHeading
 
62
struct location::service::session::Interface::UpdateHeading
63
63
{
64
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
64
    typedef location::service::session::Interface Interface;
65
65
 
66
66
    inline static const std::string& name()
67
67
    {
77
77
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{1}; }
78
78
};
79
79
 
80
 
struct com::ubuntu::location::service::session::Interface::StartPositionUpdates
 
80
struct location::service::session::Interface::StartPositionUpdates
81
81
{
82
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
82
    typedef location::service::session::Interface Interface;
83
83
 
84
84
    inline static const std::string& name()
85
85
    {
95
95
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
96
96
};
97
97
 
98
 
struct com::ubuntu::location::service::session::Interface::StopPositionUpdates
 
98
struct location::service::session::Interface::StopPositionUpdates
99
99
{
100
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
100
    typedef location::service::session::Interface Interface;
101
101
 
102
102
    inline static const std::string& name()
103
103
    {
113
113
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
114
114
};
115
115
 
116
 
struct com::ubuntu::location::service::session::Interface::StartVelocityUpdates
 
116
struct location::service::session::Interface::StartVelocityUpdates
117
117
{
118
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
118
    typedef location::service::session::Interface Interface;
119
119
 
120
120
    inline static const std::string& name()
121
121
    {
131
131
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
132
132
};
133
133
 
134
 
struct com::ubuntu::location::service::session::Interface::StopVelocityUpdates
 
134
struct location::service::session::Interface::StopVelocityUpdates
135
135
{
136
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
136
    typedef location::service::session::Interface Interface;
137
137
 
138
138
    inline static const std::string& name()
139
139
    {
149
149
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
150
150
};
151
151
 
152
 
struct com::ubuntu::location::service::session::Interface::StartHeadingUpdates
 
152
struct location::service::session::Interface::StartHeadingUpdates
153
153
{
154
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
154
    typedef location::service::session::Interface Interface;
155
155
 
156
156
    inline static const std::string& name()
157
157
    {
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::StopHeadingUpdates
 
170
struct location::service::session::Interface::StopHeadingUpdates
171
171
{
172
 
    typedef com::ubuntu::location::service::session::Interface Interface;
 
172
    typedef location::service::session::Interface Interface;
173
173
 
174
174
    inline static const std::string& name()
175
175
    {
185
185
    inline static const std::chrono::milliseconds default_timeout() { return std::chrono::seconds{5}; }
186
186
};
187
187
 
188
 
struct com::ubuntu::location::service::session::Interface::Errors::ErrorParsingUpdate
 
188
struct location::service::session::Interface::Errors::ErrorParsingUpdate
189
189
{
190
190
    inline static std::string name()
191
191
    {
193
193
    }
194
194
};
195
195
 
196
 
struct com::ubuntu::location::service::session::Interface::Errors::ErrorStartingUpdate
 
196
struct location::service::session::Interface::Errors::ErrorStartingUpdate
197
197
{
198
198
    inline static std::string name()
199
199
    {
208
208
namespace traits
209
209
{
210
210
template<>
211
 
struct Service<com::ubuntu::location::service::session::Interface>
 
211
struct Service<location::service::session::Interface>
212
212
{
213
213
    static const std::string& interface_name()
214
214
    {
223
223
}
224
224
}
225
225
 
226
 
#include <com/ubuntu/location/codec.h>
 
226
#include <location/codec.h>
227
227
 
228
228
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_P_H_