|
ARB
|
#include "trackers.hxx"#include "macros.hxx"#include "recmac.hxx"#include "dbserver.hxx"#include <aw_msg.hxx>#include <arb_strarray.h>#include <arb_sleep.h>#include <ad_remote.h>#include <unistd.h>#include <ad_cb.h>Go to the source code of this file.
Classes | |
| class | ExecutingMacro |
Functions | |
| static GB_ERROR | announce_recording (GBDATA *gb_main, int record) |
| static void | getKnownMacroClients (ConstStrArray &clientNames, GBDATA *gb_main) |
| __ATTR__USERESULT GB_ERROR | setIntEntryToZero (GBDATA *gb_main, const char *entryPath) |
| static __ATTR__USERESULT GB_ERROR | clearMacroExecutionAuthorization (GBDATA *gb_main) |
| static GB_ERROR | clear_macro_execution_flag (GBDATA *gb_main) |
| static void | macro_terminated (GBDATA *gb_terminated, GB_CB_TYPE cb_type) |
| static void | record_state_changed_cb (GBDATA *gb_recording, ClientActionTracker *cat) |
| static UserActionTracker * | make_macro_recording_tracker (const char *client_id, GBDATA *gb_main) |
| UserActionTracker * | need_macro_ability () |
| GB_ERROR | configure_macro_recording (AW_root *aw_root, const char *client_id, GBDATA *gb_main) |
| void | shutdown_macro_recording (AW_root *aw_root) |
| bool | got_macro_ability (AW_root *aw_root) |
Definition at line 68 of file trackers.cxx.
References GB_await_error(), GB_searchOrCreate_int(), GB_write_int(), MACRO_TRIGGER_RECORDING, and ta.
Referenced by MacroRecorder::start_recording(), and MacroRecorder::stop_recording().
|
static |
Definition at line 114 of file trackers.cxx.
References ConstStrArray::erase(), GB_child(), GB_FIND, GB_nextChild(), GB_read_key_pntr(), GB_search(), MACRO_TRIGGER_CONTAINER, ConstStrArray::put(), REMOTE_BASE, and ta.
Referenced by clearMacroExecutionAuthorization().
|
inline |
Definition at line 130 of file trackers.cxx.
References GB_await_error(), GB_INT, GB_search(), and GB_write_int().
Referenced by clearMacroExecutionAuthorization().
|
static |
Definition at line 135 of file trackers.cxx.
References remote_awars::authAck(), remote_awars::authReq(), error(), GBS_global_string(), getKnownMacroClients(), remote_awars::granted(), NULp, setIntEntryToZero(), CharPtrArray::size(), and ta.
Referenced by macro_terminated().
Definition at line 192 of file trackers.cxx.
References GB_transaction::close(), error(), GB_FIND, GB_search(), GB_write_int(), GBS_global_string(), MACRO_TRIGGER_EXECUTING, NULp, and ta.
Referenced by MacroRecorder::execute(), and macro_terminated().
|
static |
Definition at line 207 of file trackers.cxx.
References aw_message(), aw_message_if(), clear_macro_execution_flag(), clearMacroExecutionAuthorization(), ExecutingMacro::done(), error(), GB_CB_CHANGED, GB_clear_macro_error(), GB_get_macro_error(), GB_get_root(), GB_informationf(), gb_main, and ma_assert.
Referenced by MacroRecorder::execute().
|
static |
Definition at line 338 of file trackers.cxx.
References ClientActionTracker::set_tracking_according_to().
|
static |
Definition at line 479 of file trackers.cxx.
References GB_is_server(), and ma_assert.
Referenced by configure_macro_recording().
| UserActionTracker* need_macro_ability | ( | ) |
Definition at line 498 of file trackers.cxx.
Referenced by ARB_main().
Definition at line 502 of file trackers.cxx.
References error(), get_active_macro_recording_tracker(), ma_assert, make_macro_recording_tracker(), NULp, BoundActionTracker::reconfigure(), reconfigure_dbserver(), AW_root::setUserActionTracker(), and startup_dbserver().
Referenced by ARB_main(), AWTI_open_import_window(), MERGE_create_main_window(), and startup_mainwindow_and_dbserver().
| void shutdown_macro_recording | ( | AW_root * | aw_root | ) |
Definition at line 518 of file trackers.cxx.
References get_active_macro_recording_tracker(), and BoundActionTracker::release().
Referenced by ARB_main(), di_exit(), ED4_exit(), exit_ignoring_running_macro(), MG_exit(), pars_exit(), and ph_exit().
| bool got_macro_ability | ( | AW_root * | aw_root | ) |
Definition at line 523 of file trackers.cxx.
References get_active_macro_recording_tracker().
Referenced by AWTI_open_import_window(), NT_import_sequences(), nt_intro_start_existing(), nt_intro_start_import(), startup_dbserver(), startup_gui(), and startup_merge_main_window().
1.8.8