~thomas-voss/location-service/enable-gnd-messages

« back to all changes in this revision

Viewing changes to src/location/providers/mls/provider.h

Merge lp:~thomas-voss/location-service/forward-command-line-parameters-to-providers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#define LOCATION_PROVIDERS_MLS_PROVIDER_H_
20
20
 
21
21
#include <location/provider.h>
22
 
#include <location/provider_factory.h>
 
22
#include <location/provider_registry.h>
23
23
#include <location/runtime.h>
24
24
 
25
25
#include <location/connectivity/manager.h>
49
49
{
50
50
  public:
51
51
    // For integration with the Provider factory.
52
 
    static std::string class_name();
 
52
    static void add_to_registry();
53
53
    // Instantiates a new provider instance, populating the configuration object
54
54
    // from the provided property bundle. Please see dummy::Configuration::Keys
55
55
    // for the list of known options.
56
 
    static Provider::Ptr create_instance(const ProviderFactory::Configuration&);
 
56
    static Provider::Ptr create_instance(const ProviderRegistry::Configuration&);
57
57
 
58
58
    // Creates a new provider instance from the given configuration.
59
59
    Provider(const Configuration& config = Configuration{});