/* added by Dariusz Wiechecki - HISA */
void ws_gui_search_home_handler(GError *error, GArray *word, gpointer user_data);
-/*do dbusa*/
/** \brief handle dbus signals
*
*/
*/
void ws_gui_read_active_dictionaries(gpointer user_data);
+/** \brief free a GArray and its elements.
+ *
+ */
void ws_gui_clear_array(GArray *history);
+/** \brief escapes a bug in Hildon GtkTreeList
+ *
+ */
void ws_gui_view_cursor_changed(GtkTreeView *treeview, gpointer user_data);
+/** \brief sets toolbar availability
+ *
+ */
void ws_gui_set_toolbar_avail(gpointer user_data);
+/** \brief refreshes search results
+ *
+ */
void ws_refresh_search_results(gpointer user_data);
#ifdef __cplusplus
NULL);
}
+/** Deletes all elements from a GArray
+*
+* @param history - a GArray to be acted upon
+* @return
+*/
void ws_gui_clear_array(GArray *history)
{
if(history->len >= 0)
}
}
+/** Fixes a bug in hildon GtkTreeView(check if the GtkTreeView widget isn't
+ * unnecessarily cleared and initialized
+ *
+ * @param treeview - a treeview to act upon
+ * @param user_data - user data set when the function was called
+ * @return
+ */
void ws_gui_view_cursor_changed(GtkTreeView *treeview, gpointer user_data)
{
WSGuiApp* ws_gui_app=(WSGuiApp*)user_data;
}
+/** Sets toolbar availability
+*
+* @param user_data - user data set when the function was called
+* @return
+*/
void ws_gui_set_toolbar_avail(gpointer user_data) {
WSGuiApp* ws_gui_app=(WSGuiApp*)user_data;
}
}
+/** refreshes search results
+*
+* @param user_data - user data set when the function was called
+* @return
+*/
void ws_refresh_search_results(gpointer user_data) {
WSGuiApp* ws_gui_app=(WSGuiApp*)user_data;