~thomas-voss/location-service/refactor-location-position

« back to all changes in this revision

Viewing changes to src/location/providers/config.cpp

  • Committer: Thomas Voß
  • Date: 2016-08-14 19:36:05 UTC
  • Revision ID: thomas.voss@canonical.com-20160814193605-e6c0xitja9yncmw8
Add back mls provider relying on Mozilla's location service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include <location/provider_factory.h>
20
20
 
21
21
#include "dummy/provider.h"
 
22
#include "mls/provider.h"
22
23
 
23
24
#include <map>
24
25
 
39
40
    location::providers::dummy::Provider::create_instance
40
41
};
41
42
 
 
43
static FactoryInjector mls_injector
 
44
{
 
45
    "mls::Provider",
 
46
    location::providers::mls::Provider::create_instance
 
47
};
 
48
 
42
49
#if defined(LOCATION_PROVIDERS_GPS)
43
50
#include <location/providers/gps/provider.h>
44
51
static FactoryInjector gps_injector