18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_STUB_H_
19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SESSION_SESSION_STUB_H_
21 #include "com/ubuntu/location/service/session/interface.h"
23 #include "com/ubuntu/location/channel.h"
24 #include "com/ubuntu/location/heading.h"
25 #include "com/ubuntu/location/position.h"
26 #include "com/ubuntu/location/provider.h"
27 #include "com/ubuntu/location/update.h"
28 #include "com/ubuntu/location/velocity.h"
30 #include <org/freedesktop/dbus/stub.h>
44 class Stub :
public org::freedesktop::dbus::Stub<Interface>
48 const org::freedesktop::dbus::Bus::Ptr& bus,
49 const org::freedesktop::dbus::types::ObjectPath& session_path);
51 virtual ~
Stub() noexcept;
52 Stub& operator=(
const Stub&) =
delete;
54 virtual const org::freedesktop::dbus::types::ObjectPath& path()
const;
56 virtual void start_position_updates();
57 virtual void stop_position_updates() noexcept;
59 virtual void start_velocity_updates();
60 virtual void stop_velocity_updates() noexcept;
62 virtual void start_heading_updates();
63 virtual void stop_heading_updates() noexcept;
67 std::unique_ptr<Private> d;
74 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_STUB_H_