~ci-train-bot/location-service/location-service-ubuntu-yakkety-1895

« back to all changes in this revision

Viewing changes to include/location_service/com/ubuntu/location/service/stub.h

  • Committer: Thomas Voß
  • Date: 2013-05-28 14:20:45 UTC
  • Revision ID: thomas.voss@canonical.com-20130528142045-kq5umqdmm4o53vwk
Initial push.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_STUB_H_
 
2
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_STUB_H_
 
3
 
 
4
#include "com/ubuntu/location/service/interface.h"
 
5
#include "com/ubuntu/location/service/session/interface.h"
 
6
 
 
7
#include <org/freedesktop/dbus/stub.h>
 
8
 
 
9
namespace com
 
10
{
 
11
namespace ubuntu
 
12
{
 
13
namespace location
 
14
{
 
15
namespace service
 
16
{
 
17
class Stub : public org::freedesktop::dbus::Stub<Interface>
 
18
{
 
19
  public:
 
20
    Stub(const dbus::Bus::Ptr& connection);
 
21
    ~Stub() noexcept;
 
22
 
 
23
    session::Interface::Ptr create_session_for_criteria(const Criteria& criteria);
 
24
 
 
25
  private:
 
26
    org::freedesktop::dbus::Bus::Ptr bus;
 
27
    org::freedesktop::dbus::Object::Ptr object;
 
28
};
 
29
}
 
30
}
 
31
}
 
32
}
 
33
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_STUB_H_