entity-manager: move logDeviceAdded/Removed
functions do not need to be 'inline' and since they are normal
functions, they can go into a .cpp file to be compiled separately.
Functions otherwise unchanged.
Tested: Inspection only.
References:
[1] https://en.cppreference.com/w/cpp/language/inline.html
Change-Id: I194d86f17f90d54d6be2286a52482457435f4c36
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/src/entity_manager/log_device_inventory.hpp b/src/entity_manager/log_device_inventory.hpp
new file mode 100644
index 0000000..764f89b
--- /dev/null
+++ b/src/entity_manager/log_device_inventory.hpp
@@ -0,0 +1,22 @@
+/*
+// Copyright (c) 2018 Intel Corporation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+*/
+#pragma once
+
+#include <nlohmann/json.hpp>
+
+void logDeviceAdded(const nlohmann::json& record);
+
+void logDeviceRemoved(const nlohmann::json& record);