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 *******************************************************************************/ 00026 #ifndef _WS_MANAGER_SEARCHING_THREADS 00027 #define _WS_MANAGER_SEARCHING_THREADS 00028 00029 #include <ws_mng_threads_utils.h> 00030 #include <dictionary_engine.h> 00031 #include <ws_manager.h> 00032 00033 #ifdef __cplusplus 00034 extern "C" { 00035 #endif 00036 00039 00042 gpointer ws_mng_search_word (gpointer search_data); 00043 00046 void ws_mng_on_found_word (GArray* list, 00047 gchar* pattern, 00048 gpointer user_data, 00049 EngineStatus error); 00050 00053 gpointer ws_mng_search_translation (gpointer search_data); 00054 00057 void ws_mng_on_found_translation (gchar* translation, 00058 gchar* pattern, 00059 gpointer user_data, 00060 EngineStatus error); 00061 00064 gint ws_mng_compare_strings (gconstpointer a, gconstpointer b); 00065 00068 void ws_remove_multiple_words(WSMngSearchAtom* user_data); 00069 00072 #ifdef __cplusplus 00073 } 00074 #endif 00075 #endif 00076