Data Fields | |
WSMngSearchData * | data |
gchar * | word |
GThread * | thread |
GArray * | word_list |
gchar * | trans |
Each thread gets one instance of this strucutre in which are information about what to do and with what. This make it possible to run simultaneously few thread - they will not interrput each other.
Definition at line 44 of file ws_mng_threads_utils.h.
pointer to global data holding by manager
Definition at line 46 of file ws_mng_threads_utils.h.
Referenced by create_search_atom(), free_search_atom(), stop_if_needed(), try_lock_was_locked(), ws_mng_add_bookmark(), ws_mng_close(), ws_mng_extract_dictionary(), ws_mng_init(), ws_mng_init_dbus(), ws_mng_load_bookmark(), ws_mng_load_dict(), ws_mng_on_search_translation(), ws_mng_progress_bar(), ws_mng_remove_bookmark(), ws_mng_search_translation(), ws_mng_search_word(), ws_mng_signal_handling(), and ws_remove_multiple_words().
gchar* _WSMngSearchAtom::word |
word to search by this thread
Definition at line 48 of file ws_mng_threads_utils.h.
Referenced by create_search_atom(), ws_mng_add_bookmark(), ws_mng_remove_bookmark(), ws_mng_search_translation(), and ws_mng_search_word().
GThread* _WSMngSearchAtom::thread |
pointer to thread handler
Definition at line 50 of file ws_mng_threads_utils.h.
Referenced by ws_mng_on_search_translation(), and ws_mng_on_search_word().
GArray* _WSMngSearchAtom::word_list |
GArray in which owner thread will keep words list - if is searching for words list
Definition at line 52 of file ws_mng_threads_utils.h.
Referenced by create_search_atom(), ws_mng_on_found_word(), ws_mng_search_word(), and ws_remove_multiple_words().
gchar* _WSMngSearchAtom::trans |
buffer in which owner thread will keep word's translation - if is searching for word's translation
Definition at line 55 of file ws_mng_threads_utils.h.
Referenced by create_search_atom(), and ws_mng_on_found_translation().