Rearrange including header for apis 28/226628/4
authorInkyun Kil <inkyun.kil@samsung.com>
Wed, 4 Mar 2020 07:36:30 +0000 (16:36 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Thu, 5 Mar 2020 03:18:25 +0000 (03:18 +0000)
Change-Id: Ie5bd34dda348ee64aeb6fdf5d544ec916717786f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
watch-holder/CMakeLists.txt
watch-holder/api/sharable_watch.cc
watch-holder/api/sharable_watch.h
watch-holder/api/watch.h
watch-holder/api/watch_holder.h
watch-holder/api/watch_mirror.cc
watch-holder/api/watch_mirror.h

index c21437e..e7fe5e1 100644 (file)
@@ -23,6 +23,8 @@ pkg_check_modules(watch-holder REQUIRED
        vconf
 )
 
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/api)
+
 AUX_SOURCE_DIRECTORY(src BUILD_SOURCE)
 AUX_SOURCE_DIRECTORY(api BUILD_SOURCE)
 
index 430c630..92270e4 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#include "../src/watch.hh"
 
 #include "watch.h"
 #include "sharable_watch.h"
 
+#include "../src/watch.hh"
+
+
 #ifndef C_EXPORT
 #define C_EXPORT extern "C" __attribute__((visibility("default")))
 #endif
index a1599da..1f7fb6a 100644 (file)
@@ -20,7 +20,7 @@
 #include <Evas.h>
 #include <bundle.h>
 
-#include "watch_holder_error.h"
+#include <watch_holder_error.h>
 
 #ifdef __cplusplus
 extern "C" {
index 1147824..505035e 100644 (file)
 #ifndef __WATCH_H__
 #define __WATCH_H__
 
-#include "watch_holder_error.h"
 #include <Evas.h>
 #include <bundle.h>
 
+#include <watch_holder_error.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 62ed809..b72681d 100644 (file)
@@ -21,7 +21,8 @@
 #include <bundle.h>
 #include <Evas.h>
 
-#include "watch.h"
+#include <watch.h>
+#include <watch_holder_error.h>
 
 #ifdef __cplusplus
 extern "C" {
index 1c55a49..0490248 100644 (file)
  * limitations under the License.
  */
 
-#include <cstring>
-#include <list>
-
 #include "watch_mirror.h"
 #include "../src/watch_mirror.hh"
 
+#include <cstring>
+#include <list>
+
 #ifndef C_EXPORT
 #define C_EXPORT extern "C" __attribute__((visibility("default")))
 #endif
index 18f36b9..0e3f4c8 100644 (file)
@@ -20,7 +20,8 @@
 #include <Evas.h>
 #include <bundle.h>
 
-#include "sharable_watch.h"
+#include <watch_holder_error.h>
+#include <sharable_watch.h>
 
 #ifdef __cplusplus
 extern "C" {