/**
+* @deprecated Deprecated since 10.0
* @brief Enumeration for status of voice control elementary after API call.
* @since_tizen 2.4
*/
/**
+* @deprecated Deprecated since 10.0
* @brief Enumeration for directions of the widget hints.
* @since_tizen 2.4
* @see vc_elm_set_command_hint_direction()
/**
+* @deprecated Deprecated since 10.0
* @brief The voice control elementary for object or item object handle.
* @since_tizen 2.4
*/
/**
+* @deprecated Deprecated since 10.0
* @brief Called to retrieve supported language.
* @since_tizen 2.4
* @param[in] language A language is specified as an ISO 3166 alpha-2 two letter country-code
* @pre The function will invoke this callback.
* @see vc_elm_foreach_supported_languages()
*/
-typedef bool (*vc_elm_supported_language_cb)(const char* language, void* user_data);
+typedef bool (*vc_elm_supported_language_cb)(const char* language, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Called when default language is changed.
* @since_tizen 2.4
* @param[in] previous Previous language
* @pre An application registers this callback to detect changing language.
* @see vc_elm_set_current_language_changed_cb()
*/
-typedef void (*vc_elm_current_language_changed_cb)(const char* previous, const char* current, void* user_data);
+typedef void (*vc_elm_current_language_changed_cb)(const char* previous, const char* current, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Called to retrieve supported widget.
* @since_tizen 2.4
* @param[in] widget Widget name
* @pre The function will invoke this callback.
* @see vc_elm_foreach_supported_widgets()
*/
-typedef bool (*vc_elm_widget_cb)(const char* widget, void* user_data);
+typedef bool (*vc_elm_widget_cb)(const char* widget, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Called to retrieve supported action.
* @since_tizen 2.4
* @param[in] action Action name
* @pre The function will invoke this callback.
* @see vc_elm_foreach_supported_actions()
*/
-typedef bool (*vc_elm_action_cb)(const char* action, void* user_data);
+typedef bool (*vc_elm_action_cb)(const char* action, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Initializes voice control elementary module.
* @since_tizen 2.4
* @remarks If the function succeeds, the voice control elementary must be released with vc_elm_deinitialize().
* @retval #VC_ELM_ERROR_NOT_SUPPORTED Not supported
* @see vc_elm_deinitialize()
*/
-int vc_elm_initialize(void);
+int vc_elm_initialize(void) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Deinitializes voice control elementary module.
* @since_tizen 2.4
* @return @c 0 on success,
* @pre vc_elm_initialize() should be successful.
* @see vc_elm_initialize()
*/
-int vc_elm_deinitialize(void);
+int vc_elm_deinitialize(void) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Retrieves all supported languages using callback function.
* @since_tizen 2.4
* @privlevel public
* @see vc_elm_supported_language_cb()
* @see vc_elm_get_current_language()
*/
-int vc_elm_foreach_supported_languages(vc_elm_supported_language_cb callback, void* user_data);
+int vc_elm_foreach_supported_languages(vc_elm_supported_language_cb callback, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Gets current language.
* @since_tizen 2.4
* @privlevel public
* @retval #VC_ELM_ERROR_NOT_SUPPORTED Not supported
* @pre vc_elm_initialize() should be successful.
*/
-int vc_elm_get_current_language(char** language);
+int vc_elm_get_current_language(char** language) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Retrieves all supported widget using callback function.
* @since_tizen 2.4
* @privlevel public
* @see vc_elm_widget_cb()
* @see vc_elm_foreach_supported_actions()
*/
-int vc_elm_foreach_supported_widgets(vc_elm_widget_cb callback, void* user_data);
+int vc_elm_foreach_supported_widgets(vc_elm_widget_cb callback, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Retrieves all supported actions of widget using callback function.
* @since_tizen 2.4
* @privlevel public
* @see vc_elm_action_cb()
* @see vc_elm_foreach_supported_widgets()
*/
-int vc_elm_foreach_supported_actions(const char* widget, vc_elm_action_cb callback, void* user_data);
+int vc_elm_foreach_supported_actions(const char* widget, vc_elm_action_cb callback, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Gets action command of action.
* @since_tizen 2.4
* @privlevel public
* @retval #VC_ELM_ERROR_NOT_SUPPORTED Not supported
* @pre vc_elm_initialize() should be successful.
*/
-int vc_elm_get_action_command(const char* action, char** command);
+int vc_elm_get_action_command(const char* action, char** command) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Creates vc elm handle for Evas object.
* @since_tizen 2.4
* @privlevel public
* @pre vc_elm_initialize() should be successful.
* @see vc_elm_destroy()
*/
-int vc_elm_create_object(Evas_Object* object, vc_elm_h* vc_elm);
+int vc_elm_create_object(Evas_Object* object, vc_elm_h* vc_elm) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Creates vc elm handle for elm object item.
* @since_tizen 2.4
* @privlevel public
* @pre vc_elm_initialize() should be successful.
* @see vc_elm_destroy()
*/
-int vc_elm_create_item(Elm_Object_Item* item, vc_elm_h* vc_elm);
+int vc_elm_create_item(Elm_Object_Item* item, vc_elm_h* vc_elm) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Destroys the handle.
* @since_tizen 2.4
* @privlevel public
* @see vc_elm_create_object()
* @see vc_elm_create_item()
*/
-int vc_elm_destroy(vc_elm_h vc_elm);
+int vc_elm_destroy(vc_elm_h vc_elm) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Sets command to the handle.
* @since_tizen 2.4
* @privlevel public
* @pre The vc_elm handle should be valid with vc_elm_create_object() or vc_elm_create_item().
* @see vc_elm_unset_command()
*/
-int vc_elm_set_command(vc_elm_h vc_elm, const char* command);
+int vc_elm_set_command(vc_elm_h vc_elm, const char* command) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Unsets command from the handle.
* @since_tizen 2.4
* @privlevel public
* @pre The vc_elm handle should be valid with vc_elm_create_object() or vc_elm_create_item().
* @see vc_elm_set_command()
*/
-int vc_elm_unset_command(vc_elm_h vc_elm);
+int vc_elm_unset_command(vc_elm_h vc_elm) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Sets command hint for the handle.
* @since_tizen 2.4
* @privlevel public
* @pre The vc_elm handle should be valid with vc_elm_create_object() or vc_elm_create_item().
* @see vc_elm_unset_command_hint()
*/
-int vc_elm_set_command_hint(vc_elm_h vc_elm, const char* hint);
+int vc_elm_set_command_hint(vc_elm_h vc_elm, const char* hint) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Unsets command hint for the handle.
* @since_tizen 2.4
* @privlevel public
* @pre The vc_elm handle should be valid with vc_elm_create_object() or vc_elm_create_item().
* @see vc_elm_set_command_hint()
*/
-int vc_elm_unset_command_hint(vc_elm_h vc_elm);
+int vc_elm_unset_command_hint(vc_elm_h vc_elm) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Sets the direction of hint to the handle.
* @since_tizen 2.4
* @privlevel public
* @see vc_elm_set_command_hint()
* @see vc_elm_get_command_hint_direction()
*/
-int vc_elm_set_command_hint_direction(vc_elm_h vc_elm, vc_elm_direction_e direction);
+int vc_elm_set_command_hint_direction(vc_elm_h vc_elm, vc_elm_direction_e direction) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Unsets the direction of hint from the handle.
* @since_tizen 2.4
* @privlevel public
* @pre The vc_elm handle should be valid with vc_elm_create_object() or vc_elm_create_item().
* @see vc_elm_set_command_hint_direction()
*/
-int vc_elm_get_command_hint_direction(vc_elm_h vc_elm, vc_elm_direction_e* direction);
+int vc_elm_get_command_hint_direction(vc_elm_h vc_elm, vc_elm_direction_e* direction) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Sets command hint's x,y position to the handle.
* @since_tizen 2.4
* @privlevel public
* @see vc_elm_set_command_hint()
* @see vc_elm_get_command_hint_offset()
*/
-int vc_elm_set_command_hint_offset(vc_elm_h vc_elm, int pos_x, int pos_y);
+int vc_elm_set_command_hint_offset(vc_elm_h vc_elm, int pos_x, int pos_y) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Gets command hint's x,y position from the handle.
* @since_tizen 2.4
* @privlevel public
* @pre The vc_elm handle should be valid with vc_elm_create_object() or vc_elm_create_item().
* @see vc_elm_set_command_hint_offset()
*/
-int vc_elm_get_command_hint_offset(vc_elm_h vc_elm, int* pos_x, int* pos_y);
+int vc_elm_get_command_hint_offset(vc_elm_h vc_elm, int* pos_x, int* pos_y) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Registers a callback function to be called when current language is changed.
* @since_tizen 2.4
* @privlevel public
* @pre vc_elm_initialize() should be successful.
* @see vc_elm_unset_current_language_changed_cb()
*/
-int vc_elm_set_current_language_changed_cb(vc_elm_current_language_changed_cb callback, void* user_data);
+int vc_elm_set_current_language_changed_cb(vc_elm_current_language_changed_cb callback, void* user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Unregisters the callback function.
* @since_tizen 2.4
* @privlevel public
* @pre vc_elm_initialize() should be successful.
* @see vc_elm_set_current_language_changed_cb()
*/
-int vc_elm_unset_current_language_changed_cb(void);
+int vc_elm_unset_current_language_changed_cb(void) TIZEN_DEPRECATED_API;
#ifdef __cplusplus
#define VOICE_CONTROL_ELEMENTARY_PRIVATE_H_
#include <stdbool.h>
+#include <tizen.h>
/**
* @internal
#endif
/**
+* @deprecated Deprecated since 10.0
* @brief Set auto command-register mode and click method for recognized object.
* @since_tizen 3.0
*
*
* @see vc_elm_get_auto_register_mode()
*/
-int vc_elm_set_auto_register_mode(int mode, int click_method);
+int vc_elm_set_auto_register_mode(int mode, int click_method) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Get auto command-register mode and click method for recognized object.
* @since_tizen 3.0
*
*
* @see vc_elm_set_auto_register_mode()
*/
-int vc_elm_get_auto_register_mode(int* mode, int* click_method);
+int vc_elm_get_auto_register_mode(int* mode, int* click_method) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Add allowed text part for auto command register.
* @since_tizen 3.0
*
*
* @see vc_elm_remove_allowed_text_part()
*/
-int vc_elm_add_allowed_text_part(const char* text_part);
+int vc_elm_add_allowed_text_part(const char* text_part) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 10.0
* @brief Remove the list of additional allowed text part for auto command register.
* @since_tizen 3.0
*
*
* @see vc_elm_add_allowed_text_part()
*/
-int vc_elm_remove_allowed_text_part(void);
+int vc_elm_remove_allowed_text_part(void) TIZEN_DEPRECATED_API;
-int vc_elm_set_geometry_info(int x, int y, int w, int h);
+int vc_elm_set_geometry_info(int x, int y, int w, int h) TIZEN_DEPRECATED_API;
-int vc_elm_unset_geometry_info();
+int vc_elm_unset_geometry_info() TIZEN_DEPRECATED_API;
-int vc_elm_set_click_time(float time);
+int vc_elm_set_click_time(float time) TIZEN_DEPRECATED_API;
-int vc_elm_unset_click_time();
+int vc_elm_unset_click_time() TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 10.0
* @brief Function that check whether voice touch is set as auto mode or not
* @param[out] is_vt_automode a parameter for checking whether voice touch is set as auto mode or not
*/
-int vc_elm_is_supported_vt_auto(int* is_vt_automode);
+int vc_elm_is_supported_vt_auto(int* is_vt_automode) TIZEN_DEPRECATED_API;
#ifdef __cplusplus
}