2
* Copyright © 2012-2013 Canonical Ltd.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License version 3,
6
* as published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
* Authored by: Thomas Voß <thomas.voss@canonical.com>
19
#ifndef NULL_PROVIDER_SELECTION_POLICY_
20
#define NULL_PROVIDER_SELECTION_POLICY_
22
#include <com/ubuntu/location/provider_selection_policy.h>
24
struct NullProviderSelectionPolicy : public com::ubuntu::location::ProviderSelectionPolicy
26
com::ubuntu::location::ProviderSelection
27
determine_provider_selection_for_criteria(
28
const com::ubuntu::location::Criteria&,
29
const com::ubuntu::location::ProviderEnumerator&)
31
return com::ubuntu::location::ProviderSelection
33
com::ubuntu::location::Provider::Ptr{},
34
com::ubuntu::location::Provider::Ptr{},
35
com::ubuntu::location::Provider::Ptr{}
40
#endif // NULL_PROVIDER_SELECTION_POLICY_