INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/watchface-editable-internal.h DESTINATION include/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/watchface-editable.h DESTINATION include/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/watchface-complication.h DESTINATION include/${PROJECT_NAME})
\ No newline at end of file
--- /dev/null
+/*
+ * Copyright (c) 2018 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_WATCHFACE_EDITABLE_INTERNAL_H__
+#define __TIZEN_APPFW_WATCHFACE_EDITABLE_INTERNAL_H__
+
+#include <tizen.h>
+#include <glib.h>
+#include <bundle.h>
+
+#include <watchface-editable.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @brief Gets current editable container
+ * @since_tizen 5.0
+ * @remarks Created candidates list should be destroyed after used.
+ * @param[out] container The editable container
+ * @return #WATCHFACE_COMPLICATION_ERROR_NONE on success,
+ * otherwise an error code (see #watchface_complication_error_e) on failure
+ * @retval #WATCHFACE_COMPLICATION_ERROR_NONE Successful
+ * @retval #WATCHFACE_COMPLICATION_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #WATCHFACE_COMPLICATION_ERROR_IO_ERROR I/O Error
+ * @retval #WATCHFACE_COMPLICATION_ERROR_NOT_SUPPORTED Not supported
+ * @par Sample code:
+ * @code
+{
+ watchface_editable_container_h container;
+
+ int ret = watchface_editable_container_get(&container);
+ if (ret != WATCHFACE_COMPLICATION_ERROR_NONE)
+ return;
+}
+ * @endcode
+ */
+int watchface_editable_container_get(watchface_editable_container_h *container);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TIZEN_APPFW_WATCHFACE_EDITABLE_INTERNAL_H__ */
char **error_message);
/**
+ * @brief Gets editable's setup appid.
+ * @since_tizen 5.0
+ * @param[in] handle The editable handle
+ * @param[out] setup_appid The complication application's setup appid.
+ * @return #WATCHFACE_COMPLICATION_ERROR_NONE if success, other value if failure
+ * @retval #WATCHFACE_COMPLICATION_ERROR_NONE Success
+ * @retval #WATCHFACE_COMPLICATION_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #WATCHFACE_COMPLICATION_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WATCHFACE_COMPLICATION_ERROR_NO_DATA No data available
+ * @retval #WATCHFACE_COMPLICATION_ERROR_OUT_OF_MEMORY Out of memory
+ * @par Sample code:
+ * @code
+#include <watchface-complication.h>
+
+int _on_request_edit(const char *appid, editable_list_h list_h,
+ void *user_data)
+{
+ const watchface_editable_h ed;
+ char *setup_appid;
+
+ watchface_editor_editable_list_get_nth(s_info.list_h, 0, &ed);
+ watchface_editor_get_setup_appid(ed, &setup_appid);
+ return 0;
+}
+ * @endcode
+ */
+int watchface_editor_get_setup_appid(
+ watchface_editable_h handle, char** setup_appid);
+
+/**
* @}
*/