Alexa Auto SDK  2.0.0
LocationProvider.h
1 /*
2  * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef AACE_LOCATION_LOCATION_PROVIDER_H
17 #define AACE_LOCATION_LOCATION_PROVIDER_H
18 
19 #include <string>
20 #include <chrono>
21 
22 #include "AACE/Core/PlatformInterface.h"
23 
24 #include "Location.h"
25 
28 namespace aace {
29 namespace location {
30 
35 protected:
36  LocationProvider() = default;
37 
38 public:
39  virtual ~LocationProvider();
40 
47 
54  virtual std::string getCountry();
55 };
56 
57 } // aace::location
58 } // aace
59 
60 #endif // AACE_LOCATION_LOCATION_PROVIDER_H
Definition: Location.h:32
Definition: PlatformInterface.h:29
Definition: LocationProvider.h:34
Definition: AddressBook.h:26
virtual std::string getCountry()
Definition: LocationProvider.cpp:23
virtual aace::location::Location getLocation()=0

Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0