gdbus: change 'peripheral_gdbus.h' file name to 'peripheral_gdbus_common.h' 21/160221/2
authorSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 01:57:02 +0000 (10:57 +0900)
committerSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 06:15:10 +0000 (15:15 +0900)
 - for match with interface

Change-Id: Ib6f2ee970976462c4b52d9a028a8ac956d17b80a
Signed-off-by: Segwon <segwon.han@samsung.com>
include/gdbus/peripheral_gdbus.h [deleted file]
include/gdbus/peripheral_gdbus_common.h [new file with mode: 0644]
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

diff --git a/include/gdbus/peripheral_gdbus.h b/include/gdbus/peripheral_gdbus.h
deleted file mode 100644 (file)
index ff726de..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
- *
- * 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.
- */
-#ifndef __PERIPHERAL_GDBUS_H__
-#define __PERIPHERAL_GDBUS_H__
-
-#include <gio/gio.h>
-
-#define PERIPHERAL_GDBUS_INTERFACE     "org.tizen.peripheral_io"
-#define PERIPHERAL_GDBUS_GPIO_PATH     "/Org/Tizen/Peripheral_io/Gpio"
-#define PERIPHERAL_GDBUS_I2C_PATH      "/Org/Tizen/Peripheral_io/I2c"
-#define PERIPHERAL_GDBUS_PWM_PATH      "/Org/Tizen/Peripheral_io/Pwm"
-#define PERIPHERAL_GDBUS_UART_PATH     "/Org/Tizen/Peripheral_io/Uart"
-#define PERIPHERAL_GDBUS_SPI_PATH      "/Org/Tizen/Peripheral_io/Spi"
-#define PERIPHERAL_GDBUS_NAME          "org.tizen.peripheral_io"
-
-#endif /* __PERIPHERAL_GDBUS_H__ */
diff --git a/include/gdbus/peripheral_gdbus_common.h b/include/gdbus/peripheral_gdbus_common.h
new file mode 100644 (file)
index 0000000..685efdb
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+#ifndef __PERIPHERAL_GDBUS_COMMON_H__
+#define __PERIPHERAL_GDBUS_COMMON_H__
+
+#include <gio/gio.h>
+
+#define PERIPHERAL_GDBUS_INTERFACE     "org.tizen.peripheral_io"
+#define PERIPHERAL_GDBUS_GPIO_PATH     "/Org/Tizen/Peripheral_io/Gpio"
+#define PERIPHERAL_GDBUS_I2C_PATH      "/Org/Tizen/Peripheral_io/I2c"
+#define PERIPHERAL_GDBUS_PWM_PATH      "/Org/Tizen/Peripheral_io/Pwm"
+#define PERIPHERAL_GDBUS_UART_PATH     "/Org/Tizen/Peripheral_io/Uart"
+#define PERIPHERAL_GDBUS_SPI_PATH      "/Org/Tizen/Peripheral_io/Spi"
+#define PERIPHERAL_GDBUS_NAME          "org.tizen.peripheral_io"
+
+#endif /* __PERIPHERAL_GDBUS_COMMON_H__ */
index d03cedab85af03c9db56b03ac9d4e6889b3774c6..f5e6b0b24f00895a5c40c1b040777979f16ae89d 100644 (file)
@@ -19,7 +19,7 @@
 #include <gio/gunixfdlist.h>
 
 #include "peripheral_io.h"
-#include "peripheral_gdbus.h"
+#include "peripheral_gdbus_common.h"
 #include "peripheral_common.h"
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
index 5ee89061f378366e0aa26f7f811870949ecf8fd4..767332b796332b32b1e2ef09ac17bde8216ca319 100644 (file)
@@ -19,7 +19,7 @@
 #include <gio/gunixfdlist.h>
 
 #include "peripheral_io.h"
-#include "peripheral_gdbus.h"
+#include "peripheral_gdbus_common.h"
 #include "peripheral_common.h"
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
index eb26bf5be11985c9fbc0244407af57ef9076d546..e9b501be527679275ef0b5caaa906433253c7357 100644 (file)
@@ -19,7 +19,7 @@
 #include <gio/gunixfdlist.h>
 
 #include "peripheral_io.h"
-#include "peripheral_gdbus.h"
+#include "peripheral_gdbus_common.h"
 #include "peripheral_common.h"
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
index d58edfeb2797f59a49a0e851e72cbbf14af210b2..2d07cd347d63b2eee971fe743288e4c555a015eb 100644 (file)
@@ -19,7 +19,7 @@
 #include <gio/gunixfdlist.h>
 
 #include "peripheral_io.h"
-#include "peripheral_gdbus.h"
+#include "peripheral_gdbus_common.h"
 #include "peripheral_common.h"
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
index 985f2b44508a8b66e4428d5288db3710a1ce509d..32d799287adfa86fece884715b2f46f13548255d 100644 (file)
@@ -19,7 +19,7 @@
 #include <gio/gunixfdlist.h>
 
 #include "peripheral_io.h"
-#include "peripheral_gdbus.h"
+#include "peripheral_gdbus_common.h"
 #include "peripheral_common.h"
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"