/*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-WhiteStork is distributed in the hope that it will be useful,
+mdictionary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright 2006 ComArch S.A.
*******************************************************************************/
+/** \addtogroup GUI
+ */
+/*@{*/
+/** \file ws_gui_callbacks.h
+ * \brief Declaration of structures used by ws_gui_callbacks.c
+ *
+ * \author Anna Gadomska \<anna.gadomska\@comarch.com\>
+ * \date 05-11-2007
+ * \version 1.0.0
+ */
#ifndef _WS_GUI_CALLBACKS
#define _WS_GUI_CALLBACKS
#define TIMER_STOP FALSE
+/* 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_dbus_progress_bar(GError *error, GArray *words, gpointer user_data);
+
+/** \brief clean words list
+ *
+ */
+void ws_gui_clear_list (GtkListStore* list, gpointer user_data);
+
/** \brief handle dbus signal and transfer words to the words list
*
*/
/** \brief handle dbus signal and load extracted dictionary
*
*/
-void ws_dbus_server_return_extracted_dict2(GError *error,
+void ws_dbus_server_return_extracted_bzip(GError *error,
GArray *words,
gpointer user_data);
*/
GtkTreeModel * create_and_fill_model (GArray *words_list, gpointer user_data);
-/** \brief handles a signal when user highlight a word from the words list
- *
- */
-void ws_gui_tree_selection_changed(GtkTreeSelection *selection,
- gpointer user_data);
-
/** \brief switch view between full screen and normal mode
*
*/
void ws_gui_read_active_dictionaries(gpointer user_data);
void ws_gui_clear_array(GArray *history);
+
+void ws_gui_view_cursor_changed(GtkTreeView *treeview, gpointer user_data);
+
+void ws_gui_set_toolbar_avail(gpointer user_data);
+
+void ws_refresh_search_results(gpointer user_data);
+
#ifdef __cplusplus
}
#endif