Data Fields | |
| WSDBusData * | dbus_data |
| GMainLoop * | loop |
| GArray * | modules |
| Engine * | bookmark |
| 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 |
Definition at line 92 of file ws_manager.h.
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().
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().
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.
1.5.1