1 // Copyright (C) 2014-2018 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_SD_RUNTIME_HPP_ 7 #define VSOMEIP_V3_SD_RUNTIME_HPP_ 8 9 #include <memory> 10 11 namespace vsomeip_v3 { 12 13 class configuration; 14 15 namespace sd { 16 17 class message_impl; 18 class service_discovery; 19 class service_discovery_host; 20 21 class runtime { 22 public: ~runtime()23 virtual ~runtime() 24 #ifndef ANDROID 25 {} 26 #else 27 ; 28 #endif 29 30 virtual std::shared_ptr<service_discovery> create_service_discovery( 31 service_discovery_host *_host, 32 std::shared_ptr<configuration> _configuration) const = 0; 33 }; 34 35 } // namespace sd 36 } // namespace vsomeip_v3 37 38 #endif // VSOMEIP_V3_SD_RUNTIME_HPP_ 39