~thomas-voss/location-service/next

« back to all changes in this revision

Viewing changes to src/location/dbus/skeleton/session.h

Merge lp:~thomas-voss/location-service/refactor-location-position.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#include <location/service.h>
22
22
 
23
 
#include <location/heading.h>
24
23
#include <location/position.h>
25
24
#include <location/provider.h>
26
25
#include <location/update.h>
27
 
#include <location/velocity.h>
28
26
 
29
27
#include <core/dbus/message.h>
30
28
#include <core/dbus/object.h>
94
92
    // Invoked whenever the actual session impl. for the session reports a position update.
95
93
    virtual void on_position_changed(const Update<Position>& position);
96
94
    // Invoked whenever the actual session impl. reports a heading update.
97
 
    virtual void on_heading_changed(const Update<Heading>& heading);
 
95
    virtual void on_heading_changed(const Update<units::Degrees>& heading);
98
96
    // Invoked whenever the actual session impl. reports a velocity update.
99
 
    virtual void on_velocity_changed(const Update<Velocity>& velocity);
 
97
    virtual void on_velocity_changed(const Update<units::MetersPerSecond>& velocity);
100
98
 
101
99
    // Stores all attributes passed at creation time.
102
100
    Configuration configuration;