18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_PROVIDERS_GEOCLUE_PROVIDER_H_
19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_PROVIDERS_GEOCLUE_PROVIDER_H_
21 #include "com/ubuntu/location/provider.h"
22 #include "com/ubuntu/location/provider_factory.h"
37 static Provider::Ptr create_instance(
const ProviderFactory::Configuration&);
39 static const Provider::FeatureFlags& default_feature_flags();
40 static const Provider::RequirementFlags& default_requirement_flags();
44 static std::string key_name() {
return "name"; }
45 static std::string key_path() {
return "path"; }
49 Provider::FeatureFlags features;
50 Provider::RequirementFlags requirements;
56 virtual
bool matches_criteria(const
Criteria&);
58 virtual
void start_position_updates();
59 virtual
void stop_position_updates();
61 virtual
void start_velocity_updates();
62 virtual
void stop_velocity_updates();
64 virtual
void start_heading_updates();
65 virtual
void stop_heading_updates();
69 std::unique_ptr<Private> d;
76 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_PROVIDERS_GEOCLUE_PROVIDER_H_