*/
void modes_destroy_mode(modes_mode_h mode);
-/**
- * @brief Specifies the type of function passed to modes_noti_connect().
- * @details When the Modes apply/undo a mode, it is called, immediately.
- * @since_tizen 6.0
- * @param[in] mode_name The name of mode which was changed state
- * @param[in] user_data The user data to pass to the function
- *
- * @pre The callback must be registered using modes_noti_connect()
- *
- * @see modes_subscribe_mode_changes()
- * @see modes_unsubscribe_mode_changes()
- */
-typedef int (*modes_noti_fn) (const char *mode_name, int state, void *user_data);
/**
* @brief Adds callback for recognizing the changed of mode.
* @details Sets a function to be called when the mode is changed.
* @since_tizen 6.0
*/
typedef struct mds_list_data_handle* mode_list_data_h;
+
+/**
+ * @brief Specifies the type of function passed to modes_noti_connect().
+ * @details When the Modes apply/undo a mode, it is called, immediately.
+ * @since_tizen 6.0
+ * @param[in] mode_name The name of mode which was changed state
+ * @param[in] user_data The user data to pass to the function
+ *
+ * @pre The callback must be registered using modes_noti_connect()
+ *
+ * @see modes_subscribe_mode_changes()
+ * @see modes_unsubscribe_mode_changes()
+ */
+typedef int (*modes_noti_fn) (const char *mode_name, int state, void *user_data);
/**
* @}
*/