_WSMngSearchAtom Struct Reference
[mDictionary ManagermDictionary Manager]

Structure holding all data for each thread to properly run. More...


Data Fields

WSMngSearchDatadata
gchar * word
GThread * thread
GArray * word_list
gchar * trans


Detailed Description

Structure holding all data for each thread to properly run.

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.


Field Documentation

WSMngSearchData* _WSMngSearchAtom::data

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().


The documentation for this struct was generated from the following file:
Generated on Fri Jan 11 14:30:18 2008 for mDictionary Project by  doxygen 1.5.1