From: Segwon Date: Wed, 15 Nov 2017 01:57:02 +0000 (+0900) Subject: gdbus: change 'peripheral_gdbus.h' file name to 'peripheral_gdbus_common.h' X-Git-Tag: submit/tizen_4.0/20171220.125806^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f57c46d2d36e7de3cfbb4af31b6f1722b753d13;p=platform%2Fcore%2Fapi%2Fperipheral-io.git gdbus: change 'peripheral_gdbus.h' file name to 'peripheral_gdbus_common.h' - for match with interface Change-Id: Ib6f2ee970976462c4b52d9a028a8ac956d17b80a Signed-off-by: Segwon --- diff --git a/include/gdbus/peripheral_gdbus.h b/include/gdbus/peripheral_gdbus.h deleted file mode 100644 index ff726de..0000000 --- a/include/gdbus/peripheral_gdbus.h +++ /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 - -#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 index 0000000..685efdb --- /dev/null +++ b/include/gdbus/peripheral_gdbus_common.h @@ -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 + +#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__ */ diff --git a/src/gdbus/peripheral_gdbus_gpio.c b/src/gdbus/peripheral_gdbus_gpio.c index d03ceda..f5e6b0b 100644 --- a/src/gdbus/peripheral_gdbus_gpio.c +++ b/src/gdbus/peripheral_gdbus_gpio.c @@ -19,7 +19,7 @@ #include #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" diff --git a/src/gdbus/peripheral_gdbus_i2c.c b/src/gdbus/peripheral_gdbus_i2c.c index 5ee8906..767332b 100644 --- a/src/gdbus/peripheral_gdbus_i2c.c +++ b/src/gdbus/peripheral_gdbus_i2c.c @@ -19,7 +19,7 @@ #include #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" diff --git a/src/gdbus/peripheral_gdbus_pwm.c b/src/gdbus/peripheral_gdbus_pwm.c index eb26bf5..e9b501b 100644 --- a/src/gdbus/peripheral_gdbus_pwm.c +++ b/src/gdbus/peripheral_gdbus_pwm.c @@ -19,7 +19,7 @@ #include #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" diff --git a/src/gdbus/peripheral_gdbus_spi.c b/src/gdbus/peripheral_gdbus_spi.c index d58edfe..2d07cd3 100644 --- a/src/gdbus/peripheral_gdbus_spi.c +++ b/src/gdbus/peripheral_gdbus_spi.c @@ -19,7 +19,7 @@ #include #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" diff --git a/src/gdbus/peripheral_gdbus_uart.c b/src/gdbus/peripheral_gdbus_uart.c index 985f2b4..32d7992 100644 --- a/src/gdbus/peripheral_gdbus_uart.c +++ b/src/gdbus/peripheral_gdbus_uart.c @@ -19,7 +19,7 @@ #include #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"