21 #ifndef MACROS_LOCAL_HXX
25 #define ma_assert(bed) arb_assert(bed)
34 GBK_terminate(
"Broken macro recording ability (no valid tracker)");
90 GB_ERROR execute(
const char *macroFile,
bool loop_marked,
const RootCallback& execution_done_cb);
101 if (error) fprintf(stderr,
"Error in stop_recording: %s (while exiting server)\n", error);
110 void bind_callbacks(
bool install);
111 void send_client_action(
const char *action);
112 void ungrant_client_and_confirm_quit_action();
118 bind_callbacks(
true);
126 bind_callbacks(
false);
127 ungrant_client_and_confirm_quit_action();
155 #error trackers.hxx included twice
156 #endif // TRACKERS_HXX
GB_ERROR start_recording(const char *file, const char *stop_action_name, bool expand_existing)
MacroRecorder(const char *application_id, GBDATA *gb_main_)
GB_ERROR execute(const char *macroFile, bool loop_marked, const RootCallback &execution_done_cb)
char * ARB_strdup(const char *str)
void track_awar_change(AW_awar *awar) OVERRIDE
void track_awar_change(AW_awar *awar) OVERRIDE
MacroRecorder * getMacroRecorder(AW_root *aw_root)
void track_action(const char *action_id) OVERRIDE
ClientActionTracker(const char *application_id, GBDATA *gb_main_)
void add_planned_interruption(const char *displayed_text)
void track_action(const char *action_id) OVERRIDE
void set_tracking_according_to(GBDATA *gb_recording)
void GBK_terminate(const char *error) __ATTR__NORETURN
static void error(const char *msg)
bool is_replaceable() const OVERRIDE
bool reconfigure(const char *application_id, GBDATA *gb_main)
BoundActionTracker(const char *application_id, GBDATA *gb_main)
void set_tracking(bool track)
__ATTR__NORETURN void track_awar_change(AW_awar *) OVERRIDE
void set_recording(bool recording)
const char * get_application_id() const
GB_ERROR handle_tracked_client_action(char *&tracked)
BoundActionTracker * get_active_macro_recording_tracker(AW_root *aw_root)
~BoundActionTracker() OVERRIDE
UserActionTracker * getTracker()
__ATTR__NORETURN void track_action(const char *) OVERRIDE
GB_ERROR stop_recording()
bool is_replaceable() const OVERRIDE