00001 /******************************************************************************* 00002 This file is part of mdictionary. 00003 00004 mdictionary is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 mdictionary is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with mdictionary; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 00018 Copyright 2006-2008 ComArch S.A. 00019 *******************************************************************************/ 00025 #ifndef _WS_MANAGER_CALLBACKS 00026 #define _WS_MANAGER_CALLBACKS 00027 00028 #include <ws_mng_searching_threads.h> 00029 #include <ws_mng_dictionary_utils.h> 00030 #include <ws_mng_threads_utils.h> 00031 #include <ws_mng_gconf_utils.h> 00032 #include <ws_manager.h> 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif 00037 00041 00044 void ws_mng_progress_bar( double progress, 00045 gpointer user_data, 00046 EngineStatus error ); 00047 00050 void ws_mng_on_search_word( GError *error, 00051 GArray *word, 00052 gpointer user_data ); 00053 00056 void ws_mng_on_search_translation( GError *error, 00057 GArray *word, 00058 gpointer user_data ); 00059 00062 void ws_mng_signal_handling( GError *error, 00063 GArray *signal, 00064 gpointer user_data ); 00065 00067 #ifdef __cplusplus 00068 } 00069 #endif 00070 #endif 00071