directory: change directory 70/160970/4
authorSegwon <segwon.han@samsung.com>
Tue, 21 Nov 2017 02:41:43 +0000 (11:41 +0900)
committerSegwon Han <segwon.han@samsung.com>
Tue, 21 Nov 2017 06:28:40 +0000 (06:28 +0000)
 - remove daemon
 - add src/handle
 - add inc/handle
 - add src/gdbus
 - add inc/gdbus
 - add inc/interface

Change-Id: I925816afe27ec9804fb77a056706e72f65623442
Signed-off-by: Segwon <segwon.han@samsung.com>
37 files changed:
CMakeLists.txt
include/gdbus/peripheral_gdbus_gpio.h [moved from src/daemon/include/peripheral_gdbus_gpio.h with 100% similarity]
include/gdbus/peripheral_gdbus_i2c.h [moved from src/daemon/include/peripheral_gdbus_i2c.h with 100% similarity]
include/gdbus/peripheral_gdbus_pwm.h [moved from src/daemon/include/peripheral_gdbus_pwm.h with 100% similarity]
include/gdbus/peripheral_gdbus_spi.h [moved from src/daemon/include/peripheral_gdbus_spi.h with 100% similarity]
include/gdbus/peripheral_gdbus_uart.h [moved from src/daemon/include/peripheral_gdbus_uart.h with 100% similarity]
include/handle/peripheral_handle_gpio.h [moved from src/daemon/include/peripheral_handle_gpio.h with 100% similarity]
include/handle/peripheral_handle_i2c.h [moved from src/daemon/include/peripheral_handle_i2c.h with 100% similarity]
include/handle/peripheral_handle_pwm.h [moved from src/daemon/include/peripheral_handle_pwm.h with 100% similarity]
include/handle/peripheral_handle_spi.h [moved from src/daemon/include/peripheral_handle_spi.h with 100% similarity]
include/handle/peripheral_handle_uart.h [moved from src/daemon/include/peripheral_handle_uart.h with 100% similarity]
include/interface/peripheral_interface_common.h [moved from src/interface/include/peripheral_interface_common.h with 100% similarity]
include/interface/peripheral_interface_gpio.h [moved from src/interface/include/peripheral_interface_gpio.h with 100% similarity]
include/interface/peripheral_interface_i2c.h [moved from src/interface/include/peripheral_interface_i2c.h with 100% similarity]
include/interface/peripheral_interface_pwm.h [moved from src/interface/include/peripheral_interface_pwm.h with 100% similarity]
include/interface/peripheral_interface_spi.h [moved from src/interface/include/peripheral_interface_spi.h with 100% similarity]
include/interface/peripheral_interface_uart.h [moved from src/interface/include/peripheral_interface_uart.h with 100% similarity]
include/peripheral_bus.h [moved from src/daemon/include/peripheral_bus.h with 100% similarity]
include/peripheral_bus_board.h [moved from src/daemon/include/peripheral_bus_board.h with 100% similarity]
include/peripheral_bus_util.h [moved from src/daemon/include/peripheral_bus_util.h with 100% similarity]
include/peripheral_log.h [moved from src/daemon/include/peripheral_log.h with 100% similarity]
include/privilege_checker.h [moved from src/daemon/include/privilege_checker.h with 100% similarity]
src/gdbus/peripheral_gdbus_gpio.c [moved from src/daemon/peripheral_gdbus_gpio.c with 100% similarity]
src/gdbus/peripheral_gdbus_i2c.c [moved from src/daemon/peripheral_gdbus_i2c.c with 100% similarity]
src/gdbus/peripheral_gdbus_pwm.c [moved from src/daemon/peripheral_gdbus_pwm.c with 100% similarity]
src/gdbus/peripheral_gdbus_spi.c [moved from src/daemon/peripheral_gdbus_spi.c with 100% similarity]
src/gdbus/peripheral_gdbus_uart.c [moved from src/daemon/peripheral_gdbus_uart.c with 100% similarity]
src/gdbus/peripheral_io.xml [moved from src/daemon/peripheral_io.xml with 100% similarity]
src/handle/peripheral_handle_gpio.c [moved from src/daemon/peripheral_handle_gpio.c with 100% similarity]
src/handle/peripheral_handle_i2c.c [moved from src/daemon/peripheral_handle_i2c.c with 100% similarity]
src/handle/peripheral_handle_pwm.c [moved from src/daemon/peripheral_handle_pwm.c with 100% similarity]
src/handle/peripheral_handle_spi.c [moved from src/daemon/peripheral_handle_spi.c with 100% similarity]
src/handle/peripheral_handle_uart.c [moved from src/daemon/peripheral_handle_uart.c with 100% similarity]
src/peripheral_bus.c [moved from src/daemon/peripheral_bus.c with 100% similarity]
src/peripheral_bus_board.c [moved from src/daemon/peripheral_bus_board.c with 100% similarity]
src/peripheral_bus_util.c [moved from src/daemon/peripheral_bus_util.c with 100% similarity]
src/privilege_checker.c [moved from src/daemon/privilege_checker.c with 100% similarity]

index bddedcb..fbf1660 100644 (file)
@@ -9,33 +9,35 @@ SET(dependents "dlog glib-2.0 gio-2.0 gio-unix-2.0 libsystemd-daemon iniparser l
 FIND_PROGRAM(GDBUS_CODEGEN NAMES gdbus-codegen)
 EXEC_PROGRAM(${GDBUS_CODEGEN} ARGS
                 " \\
-                --generate-c-code ${CMAKE_SOURCE_DIR}/src/daemon/peripheral_io_gdbus \\
+                --generate-c-code ${CMAKE_SOURCE_DIR}/src/gdbus/peripheral_io_gdbus \\
                 --c-namespace PeripheralIoGdbus \\
                 --interface-prefix org.tizen.peripheral_io. \\
-                ${CMAKE_SOURCE_DIR}/src/daemon/peripheral_io.xml \\
+                ${CMAKE_SOURCE_DIR}/src/gdbus/peripheral_io.xml \\
                 ")
 
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/daemon)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/daemon/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/interface/include)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/handle)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/gdbus)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/interface)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/gdbus)
 
 SET(PERIPHERAL-BUS "peripheral-bus")
 SET(SRCS
-       src/daemon/peripheral_bus.c
-       src/daemon/peripheral_bus_util.c
-       src/daemon/peripheral_gdbus_gpio.c
-       src/daemon/peripheral_gdbus_i2c.c
-       src/daemon/peripheral_gdbus_pwm.c
-       src/daemon/peripheral_gdbus_spi.c
-       src/daemon/peripheral_gdbus_uart.c
-       src/daemon/peripheral_handle_pwm.c
-       src/daemon/peripheral_handle_i2c.c
-       src/daemon/peripheral_handle_gpio.c
-       src/daemon/peripheral_handle_uart.c
-       src/daemon/peripheral_handle_spi.c
-       src/daemon/peripheral_bus_board.c
-       src/daemon/peripheral_io_gdbus.c
-       src/daemon/privilege_checker.c
+       src/peripheral_bus.c
+       src/peripheral_bus_util.c
+       src/peripheral_bus_board.c
+       src/privilege_checker.c
+       src/gdbus/peripheral_io_gdbus.c
+       src/gdbus/peripheral_gdbus_gpio.c
+       src/gdbus/peripheral_gdbus_i2c.c
+       src/gdbus/peripheral_gdbus_pwm.c
+       src/gdbus/peripheral_gdbus_spi.c
+       src/gdbus/peripheral_gdbus_uart.c
+       src/handle/peripheral_handle_pwm.c
+       src/handle/peripheral_handle_i2c.c
+       src/handle/peripheral_handle_gpio.c
+       src/handle/peripheral_handle_uart.c
+       src/handle/peripheral_handle_spi.c
        src/interface/peripheral_interface_gpio.c
        src/interface/peripheral_interface_i2c.c
        src/interface/peripheral_interface_pwm.c