Move internal header to src directory 57/34557/1
authorSangyoon Jang <s89.jang@samsung.com>
Thu, 29 Jan 2015 04:12:25 +0000 (13:12 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Thu, 29 Jan 2015 04:16:49 +0000 (13:16 +0900)
use quotes instead of angle brackets to include app-manager headers

Change-Id: Ie0771e85d328ba931c9c29cda6b786cdf6de71f5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
CMakeLists.txt
include/app_manager_internal.h [deleted file]
src/app_context.c
src/app_info.c
src/app_manager.c
src/app_manager_internal.h [new file with mode: 0644]

index 6e032fc6e7c85339079e9a1d11fa4dbf7a60f3d1..d938740c7189857c1848da6abdd75c2bcbf6d777 100755 (executable)
@@ -44,12 +44,7 @@ SET_TARGET_PROPERTIES(${fw_name}
 )
 
 INSTALL(TARGETS ${fw_name} DESTINATION ${LIB_INSTALL_DIR})
-INSTALL(
-        DIRECTORY ${INC_DIR}/ DESTINATION include/appfw
-        FILES_MATCHING
-        PATTERN "*_private.h" EXCLUDE
-        PATTERN "${INC_DIR}/*.h"
-        )
+INSTALL(DIRECTORY ${INC_DIR}/ DESTINATION include/appfw)
 
 SET(PC_NAME ${fw_name})
 SET(PC_REQUIRED ${pc_requires})
diff --git a/include/app_manager_internal.h b/include/app_manager_internal.h
deleted file mode 100644 (file)
index f428c35..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * 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 __TIZEN_APPFW_APP_MANAGER_INTERNAL_H
-#define __TIZEN_APPFW_APP_MANAGER_INTERNAL_H
-
-#include "app_manager.h"
-
-#ifndef API
-#define API __attribute__ ((visibility("default")))
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @file app_manager_internal.h
- */
-
-/**
- * @addtogroup CAPI_APPLICATION_MANAGER_MODULE
- * @{
- */
-
-int app_manager_error(app_manager_error_e error, const char* function, const char *description);
-
-int app_context_foreach_app_context(app_manager_app_context_cb callback, void *user_data);
-
-int app_context_get_app_context(const char *app_id, app_context_h *app_context);
-
-int app_context_set_event_cb(app_manager_app_context_event_cb callback, void *user_data);
-
-void app_context_unset_event_cb(void);
-
-int app_info_foreach_app_info(app_manager_app_info_cb callback, void *user_data);
-
-int app_info_get_app_info(const char *app_id, app_info_h *app_info);
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __TIZEN_APPFW_APP_MANAGER_INTERNAL_H */
index bbdc980125f4723941551147afd9a7cfdfcf1b08..65bc80b220b4a4720b70db8b1145ebda4953fbb4 100755 (executable)
@@ -26,9 +26,9 @@
 #include <aul.h>
 #include <dlog.h>
 
-#include <app_context.h>
-#include <app_manager.h>
-#include <app_manager_internal.h>
+#include "app_context.h"
+#include "app_manager.h"
+#include "app_manager_internal.h"
 
 #ifdef LOG_TAG
 #undef LOG_TAG
index cdd03043d5d0e622f2578d92ad061634f6ddf5e5..9da7057534e6ea60e87ba8820a55392ce12a21dc 100755 (executable)
@@ -24,9 +24,9 @@
 #include <package-manager.h>
 #include <dlog.h>
 
-#include <app_info.h>
-#include <app_manager.h>
-#include <app_manager_internal.h>
+#include "app_info.h"
+#include "app_manager.h"
+#include "app_manager_internal.h"
 
 #ifdef LOG_TAG
 #undef LOG_TAG
index 11f13433624247d344809395622dc66b1697b5d3..6e3864725c8b39b54c72f10bb6768d1e34ee1cc7 100755 (executable)
@@ -23,8 +23,8 @@
 #include <aul.h>
 #include <dlog.h>
 
-#include <app_manager.h>
-#include <app_manager_internal.h>
+#include "app_manager.h"
+#include "app_manager_internal.h"
 
 #ifdef LOG_TAG
 #undef LOG_TAG
diff --git a/src/app_manager_internal.h b/src/app_manager_internal.h
new file mode 100644 (file)
index 0000000..f428c35
--- /dev/null
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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 __TIZEN_APPFW_APP_MANAGER_INTERNAL_H
+#define __TIZEN_APPFW_APP_MANAGER_INTERNAL_H
+
+#include "app_manager.h"
+
+#ifndef API
+#define API __attribute__ ((visibility("default")))
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @file app_manager_internal.h
+ */
+
+/**
+ * @addtogroup CAPI_APPLICATION_MANAGER_MODULE
+ * @{
+ */
+
+int app_manager_error(app_manager_error_e error, const char* function, const char *description);
+
+int app_context_foreach_app_context(app_manager_app_context_cb callback, void *user_data);
+
+int app_context_get_app_context(const char *app_id, app_context_h *app_context);
+
+int app_context_set_event_cb(app_manager_app_context_event_cb callback, void *user_data);
+
+void app_context_unset_event_cb(void);
+
+int app_info_foreach_app_info(app_manager_app_info_cb callback, void *user_data);
+
+int app_info_get_app_info(const char *app_id, app_info_h *app_info);
+
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TIZEN_APPFW_APP_MANAGER_INTERNAL_H */