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 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().
|
static |
Definition at line 188 of file trackers.cxx.
References aw_message(), aw_message_if(), clearMacroExecutionAuthorization(), ExecutingMacro::done(), error(), GB_CB_CHANGED, GB_clear_macro_error(), GB_get_macro_error(), GB_get_root(), gb_main, and ma_assert.
Referenced by MacroRecorder::execute().
|
static |
Definition at line 290 of file trackers.cxx.
References ClientActionTracker::set_tracking_according_to().
|
static |
Definition at line 431 of file trackers.cxx.
References GB_is_server(), and ma_assert.
Referenced by configure_macro_recording().
UserActionTracker* need_macro_ability | ( | ) |
Definition at line 450 of file trackers.cxx.
Referenced by ARB_main().
Definition at line 454 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 470 of file trackers.cxx.
References get_active_macro_recording_tracker(), and BoundActionTracker::release().
Referenced by ARB_main(), di_exit(), ED4_exit(), MG_exit(), NT_exit(), pars_exit(), and ph_exit().
bool got_macro_ability | ( | AW_root * | aw_root | ) |
Definition at line 475 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().