ARB
|
#include "macros.hxx"
#include "macros_local.hxx"
#include "trackers.hxx"
#include <arbdb.h>
#include <arb_file.h>
#include <arb_match.h>
#include <aw_window.hxx>
#include <aw_edit.hxx>
#include <aw_file.hxx>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <arbdbt.h>
#include <ad_cb.h>
Go to the source code of this file.
Macros | |
#define | ma_assert(bed) arb_assert(bed) |
#define | AWAR_MACRO_RECORDING_MACRO_TEXT AWAR_MACRO_BASE "/button_label" |
#define | AWAR_MACRO_RECORDING_EXPAND AWAR_MACRO_BASE "/expand" |
#define | AWAR_MACRO_RECORDING_RUNB4 AWAR_MACRO_BASE "/runb4" |
#define | AWAR_MACRO_INTERRUPT_PROMPT AWAR_MACRO_BASE "/" NEVER_RECORDED_ID "/prompt" |
Functions | |
static void | delete_macro_cb (AW_window *aww) |
static void | macro_execution_finished (AW_root *awr, char *macroName) |
static void | exec_macro_cb (AW_window *aww, bool loop_marked) |
void | update_macro_record_button (AW_root *awr) |
static void | start_macro_cb (AW_window *aww) |
static void | insert_interruption_to_macro_cb (AW_window *aww) |
static void | popup_interrupt_macro_window_cb (AW_window *aww) |
static void | edit_macro_cb (AW_window *aww) |
static void | macro_recording_changed_cb () |
static void | create_macro_variables (AW_root *aw_root) |
static void | popup_macro_window (AW_window *aww) |
void | insert_macro_menu_entry (AW_window *awm, bool prepend_separator) |
static void | dont_announce_done (AW_root *) |
void | execute_macro (AW_root *root, const char *macroname) |
#define ma_assert | ( | bed | ) | arb_assert(bed) |
Definition at line 28 of file macro_gui.cxx.
Referenced by MacroRecorder::add_planned_interruption(), configure_macro_recording(), MacroRecorder::handle_tracked_client_action(), macro_terminated(), make_macro_recording_tracker(), BoundActionTracker::reconfigure(), RecordingMacro::RecordingMacro(), RecordingMacro::track_action(), MacroRecorder::track_action(), ClientActionTracker::track_action(), RecordingMacro::track_awar_change(), MacroRecorder::track_awar_change(), and ClientActionTracker::track_awar_change().
#define AWAR_MACRO_RECORDING_MACRO_TEXT AWAR_MACRO_BASE "/button_label" |
Definition at line 30 of file macro_gui.cxx.
Referenced by create_macro_variables(), popup_macro_window(), and update_macro_record_button().
#define AWAR_MACRO_RECORDING_EXPAND AWAR_MACRO_BASE "/expand" |
Definition at line 31 of file macro_gui.cxx.
Referenced by create_macro_variables(), popup_macro_window(), and start_macro_cb().
#define AWAR_MACRO_RECORDING_RUNB4 AWAR_MACRO_BASE "/runb4" |
Definition at line 32 of file macro_gui.cxx.
Referenced by create_macro_variables(), popup_macro_window(), and start_macro_cb().
#define AWAR_MACRO_INTERRUPT_PROMPT AWAR_MACRO_BASE "/" NEVER_RECORDED_ID "/prompt" |
Definition at line 33 of file macro_gui.cxx.
Referenced by create_macro_variables(), insert_interruption_to_macro_cb(), and popup_interrupt_macro_window_cb().
|
static |
Definition at line 35 of file macro_gui.cxx.
References AW_get_selected_fullname(), aw_message(), AW_refresh_fileselection(), AWAR_MACRO_BASE, GB_await_error(), GB_unlink(), and AW_window::get_root().
Referenced by popup_macro_window().
Definition at line 45 of file macro_gui.cxx.
References AW_set_selected_fullname(), and AWAR_MACRO_BASE.
Referenced by exec_macro_cb().
|
static |
Definition at line 55 of file macro_gui.cxx.
References AW_get_selected_fullname(), aw_message(), AWAR_MACRO_BASE, error(), MacroRecorder::execute(), AW_window::get_root(), getMacroRecorder(), and macro_execution_finished().
Referenced by popup_macro_window(), and start_macro_cb().
|
inline |
Definition at line 65 of file macro_gui.cxx.
References AW_root::awar(), AWAR_MACRO_RECORDING_MACRO_TEXT, AW_root::is_tracking(), and AW_awar::write_string().
Referenced by create_macro_variables(), macro_recording_changed_cb(), and start_macro_cb().
|
static |
Definition at line 69 of file macro_gui.cxx.
References AW_get_selected_fullname(), aw_message(), AW_refresh_fileselection(), AW_root::awar(), AWAR_MACRO_BASE, AWAR_MACRO_RECORDING_EXPAND, AWAR_MACRO_RECORDING_RUNB4, error(), exec_macro_cb(), GB_is_directory(), GBS_global_string_copy(), AW_window::get_root(), getMacroRecorder(), AW_root::is_tracking(), MACRO_RECORD_ID, NULp, AW_awar::read_int(), MacroRecorder::start_recording(), MacroRecorder::stop_recording(), update_macro_record_button(), and AW_window::window_defaults_name.
Referenced by popup_macro_window().
|
static |
Definition at line 99 of file macro_gui.cxx.
References MacroRecorder::add_planned_interruption(), aw_message_if(), AW_root::awar(), AWAR_MACRO_INTERRUPT_PROMPT, error(), GBS_regreplace(), AW_window::get_root(), getMacroRecorder(), info, AW_root::is_tracking(), NULp, and AW_awar::read_char_pntr().
Referenced by popup_interrupt_macro_window_cb().
|
static |
Definition at line 125 of file macro_gui.cxx.
References aw_message(), AW_POPDOWN(), AWAR_MACRO_INTERRUPT_PROMPT, AW_window::get_root(), insert_interruption_to_macro_cb(), AW_root::is_tracking(), makeHelpCallback(), NEVER_RECORDED_ID, and NULp.
Referenced by popup_macro_window().
|
static |
Definition at line 155 of file macro_gui.cxx.
References AW_edit(), AW_get_selected_fullname(), AWAR_MACRO_BASE, and AW_window::get_root().
Referenced by popup_macro_window().
|
static |
Definition at line 161 of file macro_gui.cxx.
References AW_root::SINGLETON, and update_macro_record_button().
Referenced by create_macro_variables().
|
static |
Definition at line 165 of file macro_gui.cxx.
References AW_create_fileselection_awars(), aw_message(), AW_root::awar_int(), AWAR_MACRO_BASE, AWAR_MACRO_INTERRUPT_PROMPT, AWAR_MACRO_RECORDING_EXPAND, AWAR_MACRO_RECORDING_MACRO_TEXT, AWAR_MACRO_RECORDING_RUNB4, AW_root::awar_string(), error(), GB_add_callback(), GB_await_error(), GB_CB_CHANGED, gb_main, GB_searchOrCreate_int(), GBS_global_string(), BoundActionTracker::get_gbmain(), AW_root::get_tracker(), macro_recording_changed_cb(), MACRO_TRIGGER_RECORDING, NULp, ta, and update_macro_record_button().
Referenced by popup_macro_window().
|
static |
Definition at line 191 of file macro_gui.cxx.
References ANY_DIR, AW_create_fileselection(), AW_POPDOWN(), AWAR_MACRO_BASE, AWAR_MACRO_RECORDING_EXPAND, AWAR_MACRO_RECORDING_MACRO_TEXT, AWAR_MACRO_RECORDING_RUNB4, create_macro_variables(), delete_macro_cb(), edit_macro_cb(), exec_macro_cb(), AW_window::get_root(), MACRO_PLAYBACK_ID, MACRO_PLAYBACK_MARKED_ID, MACRO_RECORD_ID, MACRO_WINDOW_ID, makeHelpCallback(), NEVER_RECORDED_ID, NULp, popup_interrupt_macro_window_cb(), and start_macro_cb().
Referenced by insert_macro_menu_entry().
void insert_macro_menu_entry | ( | AW_window * | awm, |
bool | prepend_separator | ||
) |
Definition at line 233 of file macro_gui.cxx.
References AWM_ALL, AW_window::get_root(), getMacroRecorder(), AW_window::insert_menu_topic(), popup_macro_window(), and AW_window::sep______________().
Referenced by create_phyl_main_window(), DI_create_matrix_window(), ED4_root::generate_window(), MERGE_create_main_window(), pars_start_cb(), and popup_new_main_window().
|
static |
Definition at line 240 of file macro_gui.cxx.
Referenced by execute_macro().
Definition at line 242 of file macro_gui.cxx.
References aw_message(), dont_announce_done(), error(), MacroRecorder::execute(), GBS_global_string(), getMacroRecorder(), and NULp.
Referenced by startup_mainwindow_and_dbserver().