1
#ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_SKELETON_H_
2
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_SKELETON_H_
4
#include "com/ubuntu/location/service/session/interface.h"
6
#include "com/ubuntu/location/channel.h"
7
#include "com/ubuntu/location/heading.h"
8
#include "com/ubuntu/location/position.h"
9
#include "com/ubuntu/location/provider.h"
10
#include "com/ubuntu/location/update.h"
11
#include "com/ubuntu/location/velocity.h"
13
#include <org/freedesktop/dbus/message.h>
14
#include <org/freedesktop/dbus/skeleton.h>
28
class Skeleton : public org::freedesktop::dbus::Skeleton<Interface>
32
const org::freedesktop::dbus::Bus::Ptr& bus,
33
const org::freedesktop::dbus::types::ObjectPath& session_path);
35
virtual ~Skeleton() noexcept;
37
virtual const org::freedesktop::dbus::types::ObjectPath& path() const;
40
void handle_start_position_updates(DBusMessage* msg);
41
void handle_stop_position_updates(DBusMessage* msg);
43
void handle_start_velocity_updates(DBusMessage* msg);
44
void handle_stop_velocity_updates(DBusMessage* msg);
46
void handle_start_heading_updates(DBusMessage* msg);
47
void handle_stop_heading_updates(DBusMessage* msg);
49
org::freedesktop::dbus::types::ObjectPath session_path;
50
org::freedesktop::dbus::Object::Ptr object;
58
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_SKELETON_H_