_WSMngSearchData Struct Reference
[mDictionary Manager]

Structure holding all data needed by manager to work. More...


Data Fields

WSDBusDatadbus_data
GMainLoop * loop
GArray * modules
Enginebookmark
GArray * dict
gchar * word
GArray * word_list
gchar * trans
gchar * last_search
gboolean search_in_history
GStaticMutex * action_working
GStaticMutex * thread_creation
GStaticRecMutex * action_stop
GArray * library_path
GArray * libraries
gboolean bookmark_mode
GModule * bookmark_library


Detailed Description

Structure holding all data needed by manager to work.

Definition at line 92 of file ws_manager.h.


Field Documentation

WSDBusData* _WSMngSearchData::dbus_data

a pointer to the DBUS data for manager module

Definition at line 95 of file ws_manager.h.

Referenced by stop_if_needed(), ws_mng_add_bookmark(), ws_mng_close(), ws_mng_extract_dictionary(), ws_mng_init(), ws_mng_init_dbus(), 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().

GMainLoop* _WSMngSearchData::loop

pointer to the main loop of manager proccess

Definition at line 98 of file ws_manager.h.

Referenced by ws_mng_close(), ws_mng_signal_handling(), and ws_mng_start_main_loop().

GArray* _WSMngSearchData::modules

pointer to GArray structure which stores pointers to fuction used to service modules loading

Definition at line 101 of file ws_manager.h.

Referenced by ws_mng_close(), ws_mng_init(), ws_mng_load_bookmark(), and ws_mng_load_dict().

Engine* _WSMngSearchData::bookmark

pointer to bookmark engine

Definition at line 105 of file ws_manager.h.

Referenced by ws_mng_add_bookmark(), ws_mng_close(), ws_mng_init(), ws_mng_load_bookmark(), ws_mng_remove_bookmark(), ws_mng_search_translation(), and ws_mng_search_word().

GArray* _WSMngSearchData::dict

pointer to GArray structure which stores pointers to particular dictionaries

Definition at line 108 of file ws_manager.h.

Referenced by ws_mng_close(), ws_mng_init(), ws_mng_load_dict(), ws_mng_search_translation(), ws_mng_search_word(), and ws_mng_signal_handling().

gchar* _WSMngSearchData::word

word which will be used to search a dictionaries

Definition at line 112 of file ws_manager.h.

Referenced by free_search_atom(), ws_mng_init(), and ws_mng_signal_handling().

GArray* _WSMngSearchData::word_list

GArray for whole words list returned to GUI

Definition at line 115 of file ws_manager.h.

Referenced by free_search_atom(), ws_mng_init(), and ws_mng_signal_handling().

gchar* _WSMngSearchData::trans

found translation

Definition at line 118 of file ws_manager.h.

Referenced by free_search_atom(), and ws_mng_init().

gchar* _WSMngSearchData::last_search

last word used for searching

Definition at line 121 of file ws_manager.h.

Referenced by ws_mng_close(), ws_mng_init(), and ws_mng_signal_handling().

gboolean _WSMngSearchData::search_in_history

flag signalig when search in history is commited

Definition at line 124 of file ws_manager.h.

Referenced by ws_mng_init().

GStaticMutex* _WSMngSearchData::action_working

pointer to mutex; while any action is being performed this mutex is locked - it is telling if there is any active action curently

Definition at line 130 of file ws_manager.h.

Referenced by stop_if_needed(), try_lock_was_locked(), ws_mng_close(), ws_mng_init(), ws_mng_search_translation(), ws_mng_search_word(), and ws_mng_signal_handling().

GStaticMutex* _WSMngSearchData::thread_creation

pointer to mutex; is locked while new thread is creating. After thread is created and start to work, this mutex is unclocked

Definition at line 134 of file ws_manager.h.

Referenced by ws_mng_close(), ws_mng_init(), ws_mng_on_search_translation(), and ws_mng_on_search_word().

GStaticRecMutex* _WSMngSearchData::action_stop

pointer to mutex; is locked when current job (search) should be aborted

Definition at line 138 of file ws_manager.h.

Referenced by stop_if_needed(), ws_mng_close(), ws_mng_init(), ws_mng_search_translation(), ws_mng_search_word(), and ws_mng_signal_handling().

GArray* _WSMngSearchData::library_path

path to library

Definition at line 147 of file ws_manager.h.

Referenced by ws_mng_close(), and ws_mng_init().

GArray* _WSMngSearchData::libraries

table used for storing modules libraries

Definition at line 150 of file ws_manager.h.

Referenced by ws_mng_close(), and ws_mng_init().

gboolean _WSMngSearchData::bookmark_mode

flag telling if manager is in bookmark mode

Definition at line 153 of file ws_manager.h.

Referenced by ws_mng_init(), ws_mng_search_translation(), ws_mng_search_word(), and ws_mng_signal_handling().

GModule* _WSMngSearchData::bookmark_library

pointer to bookmark library

Definition at line 156 of file ws_manager.h.


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