~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/default_configuration.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_DEFAULT_CONFIGURATION_H_
 
2
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_DEFAULT_CONFIGURATION_H_
 
3
 
 
4
#include "com/ubuntu/location/service/configuration.h"
 
5
 
 
6
#include <set>
 
7
 
 
8
namespace com
 
9
{
 
10
namespace ubuntu
 
11
{
 
12
namespace location
 
13
{
 
14
namespace service
 
15
{
 
16
class DefaultConfiguration
 
17
{
 
18
public:
 
19
    DefaultConfiguration();
 
20
    DefaultConfiguration(const DefaultConfiguration&) = delete;
 
21
    DefaultConfiguration& operator=(const DefaultConfiguration&) = delete;
 
22
    ~DefaultConfiguration() noexcept;
 
23
 
 
24
    virtual Engine::Ptr the_engine(
 
25
        const std::set<Provider::Ptr>& provider_set,
 
26
        const ProviderSelectionPolicy::Ptr& provider_selection_policy);
 
27
 
 
28
    ProviderSelectionPolicy::Ptr the_provider_selection_policy();
 
29
 
 
30
    std::set<Provider::Ptr> the_provider_set(
 
31
        const Provider::Ptr& seed = Provider::Ptr {});
 
32
 
 
33
    PermissionManager::Ptr the_permission_manager();
 
34
};
 
35
}
 
36
}
 
37
}
 
38
}
 
39
 
 
40
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_DEFAULT_CONFIGURATION_H_