~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/channel.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_CHANNEL_H_
 
2
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_CHANNEL_H_
 
3
 
 
4
#include <boost/signals2.hpp>
 
5
 
 
6
#include <memory>
 
7
#include <set>
 
8
 
 
9
namespace com
 
10
{
 
11
namespace ubuntu
 
12
{
 
13
namespace location
 
14
{
 
15
template<typename T>
 
16
using Channel = boost::signals2::signal<void(const T&)>;
 
17
 
 
18
typedef boost::signals2::scoped_connection ScopedChannelConnection;
 
19
typedef boost::signals2::connection ChannelConnection;
 
20
}
 
21
}
 
22
}
 
23
 
 
24
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_CHANNEL_H_