/** * @licence app begin@ * SPDX-License-Identifier: MPL-2.0 * * \copyright Copyright (C) 2015, 2016 TomTom International B.V. * \copyright Copyright (C) 2016, PCA Peugeot Citroen * \author Peter Goedegebure (Peter.Goedegebure@tomtom.com) * \author Philippe Colliot * \author Morteza Damavandpeyma * This Source Code Form is subject to the terms of the * Mozilla Public License (MPL), v. 2.0. * If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. * * For further information see http://www.genivi.org/. * * List of changes: * , , * * @licence end@ */ #ifndef FREETEXTSEARCHSTUBIMPL_H_ #define FREETEXTSEARCHSTUBIMPL_H_ #include #include #include #include #include namespace v1 { namespace org { namespace genivi { namespace navigation { namespace freetextsearchservice { class FreeTextSearchStubImpl: public FreeTextSearchStubDefault { public: void getVersion(const std::shared_ptr _client, getVersionReply_t _reply) override; void ftsRequest(const std::shared_ptr _client, FreeTextSearch::FtsString _inputString, v4::org::genivi::navigation::NavigationTypes::Coordinate2D _searchLocation, FreeTextSearch::ShapeList _searchShapes, FreeTextSearch::PageSize _pageSize, FreeTextSearch::SearchOptions _searchOptions, FreeTextSearch::FtsString _searchConditions, FreeTextSearch::FuzzyLevel _fuzzyLevel, ftsRequestReply_t _reply) override; void ftsNextPage(const std::shared_ptr _client, v4::org::genivi::navigation::NavigationTypes::Handle _sessionHandle, FreeTextSearch::SearchOptions _searchOptions, ftsNextPageReply_t _reply) override; void ftsCancel(const std::shared_ptr _client, v4::org::genivi::navigation::NavigationTypes::Handle _sessionHandle, ftsCancelReply_t _reply) override; void deleteLocationHandles(const std::shared_ptr _client, FreeTextSearch::LocationHandleList _locationHandleList, deleteLocationHandlesReply_t _reply) override; private: v4::org::genivi::navigation::NavigationTypes::Handle iSessionHandle = 0; FreeTextSearch::PageId iPageId = 0; bool iSearchIsInProgress = false; }; } // namespace freetextsearchservice } // namespace navigation } // namespace genivi } // namespace org } // namespace v1 #endif /* FREETEXTSEARCHSTUBIMPL_H_ */