1 // Copyright (C) 2019 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) 2 // This Source Code Form is subject to the terms of the Mozilla Public 3 // License, v. 2.0. If a copy of the MPL was not distributed with this 4 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 #ifndef VSOMEIP_V3_CONFIGURATION_PLUGIN_HPP_ 7 #define VSOMEIP_V3_CONFIGURATION_PLUGIN_HPP_ 8 9 #include <string> 10 #include <memory> 11 12 #define VSOMEIP_CONFIG_PLUGIN_VERSION 1 13 14 namespace vsomeip_v3 { 15 16 class configuration; 17 18 class configuration_plugin { 19 public: ~configuration_plugin()20 virtual ~configuration_plugin() 21 #ifndef ANDROID 22 {} 23 #else 24 ; 25 #endif 26 virtual std::shared_ptr<configuration> get_configuration(const std::string &_name) = 0; 27 }; 28 29 } // namespace vsomeip_v3 30 31 #endif // VSOMEIP_V3_CONFIGURATION_PLUGIN_HPP_ 32