1 // Copyright (C) 2014-2017 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_DESERIALIZABLE_HPP 7 #define VSOMEIP_DESERIALIZABLE_HPP 8 9 #include "../../../compat/vsomeip/export.hpp" 10 11 namespace vsomeip { 12 13 class deserializer; 14 15 class deserializable { 16 public: ~deserializable()17 VSOMEIP_EXPORT virtual ~deserializable() { 18 } 19 VSOMEIP_EXPORT virtual bool deserialize(deserializer *_from) = 0; 20 }; 21 22 } // namespace vsomeip 23 24 #endif // VSOMEIP_SERIALIZABLE_HPP 25