app_resource_manager API doesn't have to depend on UI.
Therefore, it should be separated from capi-appfw-application
Change-Id: Ibb2e4c4aa54bcd57bc949723b667319a9f4d6958
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
app_error.c
app_finalizer.c
app_event.c
+ app_resource_manager.c
)
TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS})
--- /dev/null
+/*
+ * Copyright (c) 2015 - 2016 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.
+ */
+
+#include <aul_rsc_mgr.h>
+#include "app_resource_manager.h"
+
+int app_resource_manager_init()
+{
+ return aul_resource_manager_init();
+}
+
+int app_resource_manager_get(app_resource_e type, const char *id, char **path)
+{
+ return aul_resource_manager_get((aul_resource_e)type, id, path);
+}
+
+int app_resource_manager_release()
+{
+ return aul_resource_manager_release();
+}
+
%{_includedir}/appfw/app.h
%{_includedir}/appfw/app_internal.h
%{_includedir}/appfw/app_extension.h
-%{_includedir}/appfw/app_resource_manager.h
%{_includedir}/appfw/app_i18n.h
%{_libdir}/pkgconfig/capi-appfw-application.pc
%{_libdir}/libcapi-appfw-application.so
%manifest %{name}.manifest
%{_includedir}/appfw/app_common.h
%{_includedir}/appfw/app_types.h
+%{_includedir}/appfw/app_resource_manager.h
%{_libdir}/pkgconfig/capi-appfw-app-common.pc
%{_libdir}/libcapi-appfw-app-common.so
app_main.c
app_main_legacy.c
app_resource.c
- app_resource_manager.c
i18n.c
)
+++ /dev/null
-/*
- * Copyright (c) 2015 - 2016 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.
- */
-
-#include <aul_rsc_mgr.h>
-#include "app_resource_manager.h"
-
-int app_resource_manager_init()
-{
- return aul_resource_manager_init();
-}
-
-int app_resource_manager_get(app_resource_e type, const char *id, char **path)
-{
- return aul_resource_manager_get((aul_resource_e)type, id, path);
-}
-
-int app_resource_manager_release()
-{
- return aul_resource_manager_release();
-}
-