Alexa Auto SDK  2.3.0
AddressBookEngineInterface.h
1 /*
2  * Copyright 2019-2020 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_ADDRESS_BOOK_ADDRESS_BOOK_ENGINE_INTERFACE_H
17 #define AACE_ADDRESS_BOOK_ADDRESS_BOOK_ENGINE_INTERFACE_H
18 
19 #include "AddressBook.h"
20 
21 namespace aace {
22 namespace addressBook {
23 
24 class AddressBookEngineInterface {
25 public:
26  using AddressBookType = aace::addressBook::AddressBook::AddressBookType;
27 
28  virtual bool onAddAddressBook(
29  const std::string& addressBookSourceId,
30  const std::string& name,
31  const AddressBookType type) = 0;
32  virtual bool onRemoveAddressBook(const std::string& addressBookSourceId) = 0;
33 };
34 
35 } // namespace addressBook
36 } // namespace aace
37 
38 #endif // AACE_ADDRESS_BOOK_ADDRESS_BOOK_INTERFACE_H
Definition: AddressBook.h:26

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