SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${VERSION})
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
-INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
+INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/system/
DESTINATION ${INCLUDEDIR}
FILES_MATCHING PATTERN "*.h")
#include <stdbool.h>
-#include "syscommon-plugin-common.h"
+#include <system/syscommon-plugin-common.h>
#ifdef __cplusplus
extern "C" {
#include <gio/gio.h>
#include <glib-object.h>
-#include "syscommon-plugin-common.h"
-#include "syscommon-plugin-common-interface.h"
+#include <system/syscommon-plugin-common.h>
+#include <system/syscommon-plugin-common-interface.h>
#include "common.h"
#include "syscommon-plugin-api-conf.h"
#include <gio/gio.h>
#include <glib-object.h>
-#include "syscommon-plugin-common-interface.h"
+#include <system/syscommon-plugin-common-interface.h>
#ifdef __cplusplus
extern "C" {
#ifndef __SYSCOMMON_PLUGIN_API_LIST_H__
#define __SYSCOMMON_PLUGIN_API_LIST_H__
-#include "syscommon-plugin-common.h"
+#include <system/syscommon-plugin-common.h>
#include "common.h"
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${PLUGIN_API_DEVICED_MAJORVER})
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
-INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
+INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/system/
DESTINATION ${INCLUDEDIR}
FILES_MATCHING PATTERN "*.h"
)
extern "C" {
#endif
-#include "syscommon-plugin-deviced-common-interface.h"
-#include "syscommon-plugin-deviced-display-interface.h"
+#include <system/syscommon-plugin-deviced-common-interface.h>
+#include <system/syscommon-plugin-deviced-display-interface.h>
/**
* @brief Get the backend data of deviced-display module
+++ /dev/null
-/**
- * MIT License
- *
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is furnished
- * to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-#ifndef __COMMON_H__
-#define __COMMON_H__
-
-#ifdef ENABLE_DLOG
-#include <dlog.h>
-
-#define _D(fmt, args...) SLOGD(fmt, ##args)
-#define _I(fmt, args...) SLOGI(fmt, ##args)
-#define _W(fmt, args...) SLOGW(fmt, ##args)
-#define _E(fmt, args...) SLOGE(fmt, ##args)
-#else
-#define _D(fmt, args...) do { } while(0)
-#define _I(fmt, args...) do { } while(0)
-#define _W(fmt, args...) do { } while(0)
-#define _E(fmt, args...) do { } while(0)
-#endif
-
-#endif /* __COMMON_H__ */
*/
#include <glib.h>
-#include "syscommon-plugin-common.h"
+#include <libsyscommon/log.h>
-#include "common.h"
-#include "syscommon-plugin-deviced-battery.h"
-#include "syscommon-plugin-deviced-battery-interface.h"
+#include <system/syscommon-plugin-common.h>
+#include <system/syscommon-plugin-deviced-battery.h>
+#include <system/syscommon-plugin-deviced-battery-interface.h>
#ifndef EXPORT
#define EXPORT __attribute__((visibility("default")))
*/
#include <glib.h>
-#include "syscommon-plugin-common.h"
+#include <libsyscommon/log.h>
-#include "common.h"
-#include "syscommon-plugin-deviced-display.h"
-#include "syscommon-plugin-deviced-display-interface.h"
+#include <system/syscommon-plugin-common.h>
+#include <system/syscommon-plugin-deviced-display.h>
+#include <system/syscommon-plugin-deviced-display-interface.h>
#ifndef EXPORT
#define EXPORT __attribute__((visibility("default")))
*/
#include <glib.h>
-#include "syscommon-plugin-common.h"
+#include <libsyscommon/log.h>
-#include "common.h"
-#include "syscommon-plugin-deviced-input.h"
-#include "syscommon-plugin-deviced-input-interface.h"
+#include <system/syscommon-plugin-common.h>
+#include <system/syscommon-plugin-deviced-input.h>
+#include <system/syscommon-plugin-deviced-input-interface.h>
#ifndef EXPORT
#define EXPORT __attribute__((visibility("default")))
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${PLUGIN_API_RESOURCED_MAJORVER})
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
-INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
+INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/system/
DESTINATION ${INCLUDEDIR}
FILES_MATCHING PATTERN "*.h"
)
+++ /dev/null
-/**
- * MIT License
- *
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is furnished
- * to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-#ifndef __COMMON_H__
-#define __COMMON_H__
-
-#ifdef ENABLE_DLOG
-#include <dlog.h>
-
-#define _D(fmt, args...) SLOGD(fmt, ##args)
-#define _I(fmt, args...) SLOGI(fmt, ##args)
-#define _W(fmt, args...) SLOGW(fmt, ##args)
-#define _E(fmt, args...) SLOGE(fmt, ##args)
-#else
-#define _D(fmt, args...) do { } while(0)
-#define _I(fmt, args...) do { } while(0)
-#define _W(fmt, args...) do { } while(0)
-#define _E(fmt, args...) do { } while(0)
-#endif
-
-#endif /* __COMMON_H__ */
#include <assert.h>
#include <glib.h>
-#include "syscommon-plugin-common.h"
+#include <libsyscommon/log.h>
-#include "common.h"
-#include "syscommon-plugin-resourced-memory-lmk.h"
-#include "syscommon-plugin-resourced-memory-lmk-interface.h"
+#include <system/syscommon-plugin-common.h>
+#include <system/syscommon-plugin-resourced-memory-lmk.h>
+#include <system/syscommon-plugin-resourced-memory-lmk-interface.h>
#ifndef EXPORT
#define EXPORT __attribute__((visibility("default")))