summaryrefslogtreecommitdiff
path: root/include/CommonAPI/Stub.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/CommonAPI/Stub.hpp')
-rw-r--r--include/CommonAPI/Stub.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/CommonAPI/Stub.hpp b/include/CommonAPI/Stub.hpp
index 9e4f4f8..8241bf1 100644
--- a/include/CommonAPI/Stub.hpp
+++ b/include/CommonAPI/Stub.hpp
@@ -1,10 +1,10 @@
-// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// Copyright (C) 2014-2020 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, 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/.
#if !defined (COMMONAPI_INTERNAL_COMPILATION)
-#error "Only <CommonAPI/CommonAPI.h> can be included directly, this file may disappear or change contents."
+#error "Only <CommonAPI/CommonAPI.hpp> can be included directly, this file may disappear or change contents."
#endif
#ifndef COMMONAPI_STUB_HPP_
@@ -31,6 +31,7 @@ protected:
class StubBase {
public:
virtual ~StubBase() {}
+ virtual bool hasElement(const uint32_t _id) const = 0;
};
template<typename StubAdapter_, typename StubRemoteEventHandler_>