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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_DEFAULT_CONFIGURATION_H_
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_DEFAULT_CONFIGURATION_H_

#include "com/ubuntu/location/service/configuration.h"

#include <set>

namespace com
{
namespace ubuntu
{
namespace location
{
namespace service
{
class DefaultConfiguration
{
public:
    DefaultConfiguration();
    DefaultConfiguration(const DefaultConfiguration&) = delete;
    DefaultConfiguration& operator=(const DefaultConfiguration&) = delete;
    ~DefaultConfiguration() noexcept;

    virtual Engine::Ptr the_engine(
        const std::set<Provider::Ptr>& provider_set,
        const ProviderSelectionPolicy::Ptr& provider_selection_policy);

    ProviderSelectionPolicy::Ptr the_provider_selection_policy();

    std::set<Provider::Ptr> the_provider_set(
        const Provider::Ptr& seed = Provider::Ptr {});

    PermissionManager::Ptr the_permission_manager();
};
}
}
}
}

#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_DEFAULT_CONFIGURATION_H_