</TABLE>
<H3>2.1.1 Supported types</H3>
-\snippet lib/include/shortcut.h Enumeration values for type of shortcuts
+shortcut.h Enumeration values for type of shortcuts
<H2>2.2 Add shortcut (Home screen retrieves shortcuts from app)</H2>
"Add shortcut " service enables home screen to retrieve all shortcuts that applications promised to support and request an app to send their shortcuts to home directly, as opposed to "add to home".
Then, the information will be shown and used in home screen when a user selects "add shortcut" service.
<TABLE>
-<TH><TD>Syntax of the shortcut manifest file</TD></TH>
+<caption>Syntax of the shortcut manifest file</caption>
<TR><TD>
\code
<manifest xmlns="http://tizen.org/ns/packages" package="com.samsung.APP_PKGNAME">
Shortcut list view will launch your "[App] Shortcut list" using followed code.
<TABLE>
-<TH><TD>Launch your app from shortcut list viewer</TD></TH>
+<caption>Launch your app from shortcut list viewer</caption>
<TR><TD>
\code
service_h service;
</TABLE>
<H3>2.1.1 Supported types</H3>
-\snippet lib/include/shortcut.h Enumeration values for type of shortcuts
+shortcut.h Enumeration values for type of shortcuts
<H2>2.2 Add shortcut (Home screen retrieves shortcuts from app)</H2>
"Add shortcut " service enables home screen to retrieve all shortcuts that applications promised to support and request an app to send their shortcuts to home directly, as opposed to "add to home".
Then, the information will be shown and used in home screen when a user selects "add shortcut" service.
<TABLE>
-<TH><TD>Syntax of the shortcut manifest file</TD></TH>
+<caption>Syntax of the shortcut manifest file</caption>
<TR><TD>
\code
<manifest xmlns="http://tizen.org/ns/packages" package="com.samsung.APP_PKGNAME">
Shortcut list view will launch your "[App] Shortcut list" using followed code.
<TABLE>
-<TH><TD>Launch your app from shortcut list viewer</TD></TH>
+<caption>Launch your app from shortcut list viewer</caption>
<TR><TD>
\code
service_h service;
* @param[in] appid Package name of owner of this shortcut
* @param[in] name Name for created shortcut icon
* @param[in] type Type of shortcuts (dynamicbox or shortcut, and its size if it is for the dynamicbox)
- * @param[in] content_info Specific information for delivering to the viewer for creating a shortcut
+ * @param[in] content Specific information for delivering to the viewer for creating a shortcut
* @param[in] icon Absolute path of an icon file
* @param[in] period Update period
* @param[in] allow_duplicate Set 1 If accept the duplicated shortcut or 0
*/
extern int add_to_home_remove_dynamicbox(const char *appid, const char *name, result_cb_t result_cb, void *data);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
#endif
-/* @}
- * End of a file
- */
#endif
/**
- * @file shortcut_internal.h
+ * @file shortcut_product.h
* @brief This file declares API of libshortcut library (platform only)
*/
/**
-* @defgroup SHORTCUT_ICON_MODULE Shortcut Icon
-* @ingroup SHORTCUT_MODULE
-* @{
-*/
-
-/**
* @addtogroup SHORTCUT_ICON_MODULE
* @{
*/
* @param[in] data Callback data
* @return int value
* @retval #SHORTCUT_ERROR_INVALID_PARAMETER Already initialized
- * @retval #SHORTCUT_ERROR_SUCCESS Successfully initialized
+ * @retval #SHORTCUT_ERROR_NONE Successfully initialized
* @see shortcut_icon_service_fini()
*/
extern int shortcut_icon_service_init(int (*init_cb)(int status, void *data), void *data);
* @brief Sets information for creating icon image.
* @param[in] handle Request handle
* @param[in] id Target ID to be affected by this data
- * @param[in] type #SHORTCUT_ICON_TYPE_IMAGE, #SHORTCUT_ICON_TYPE_TEXT, #SHORTCUT_ICON_TYPE_SCRIPT can be used
+ * @param[in] type SHORTCUT_ICON_TYPE_IMAGE, SHORTCUT_ICON_TYPE_TEXT, SHORTCUT_ICON_TYPE_SCRIPT can be used
* @param[in] part Target part to be affect by this data
* @param[in] data type == IMAGE ? Image file path : type == TEXT ? text string : type == SCRIPT ? script file path : N/A
* @param[in] option Image load option or group name of script file to be loaded
*/
extern void *shortcut_icon_request_data(struct shortcut_icon *handle);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
-#endif
-/* @}
- * End of a file
- */
+#endif
\ No newline at end of file