~thomas-voss/location-service/introduce-locationd

« back to all changes in this revision

Viewing changes to tests/null_provider_selection_policy.h

  • Committer: Thomas Voß
  • Date: 2016-06-27 11:05:34 UTC
  • mfrom: (258.1.3 simplify-namespaces)
  • Revision ID: thomas.voss@canonical.com-20160627110534-vgl06rzgh7if12uo
Merge lp:~thomas-voss/location-service/simplify-namespaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef NULL_PROVIDER_SELECTION_POLICY_
20
20
#define NULL_PROVIDER_SELECTION_POLICY_
21
21
 
22
 
#include <com/ubuntu/location/provider_selection_policy.h>
 
22
#include <location/provider_selection_policy.h>
23
23
 
24
 
struct NullProviderSelectionPolicy : public com::ubuntu::location::ProviderSelectionPolicy
 
24
struct NullProviderSelectionPolicy : public location::ProviderSelectionPolicy
25
25
{
26
 
    com::ubuntu::location::ProviderSelection
 
26
    location::ProviderSelection
27
27
    determine_provider_selection_for_criteria(
28
 
            const com::ubuntu::location::Criteria&,
29
 
            const com::ubuntu::location::ProviderEnumerator&)
 
28
            const location::Criteria&,
 
29
            const location::ProviderEnumerator&)
30
30
    {
31
 
        return com::ubuntu::location::ProviderSelection
 
31
        return location::ProviderSelection
32
32
        {
33
 
            com::ubuntu::location::Provider::Ptr{},
34
 
            com::ubuntu::location::Provider::Ptr{},
35
 
            com::ubuntu::location::Provider::Ptr{}
 
33
            location::Provider::Ptr{},
 
34
            location::Provider::Ptr{},
 
35
            location::Provider::Ptr{}
36
36
        };
37
37
    }
38
38
};