ARB
macros.hxx
Go to the documentation of this file.
1 // ============================================================= //
2 // //
3 // File : macros.hxx //
4 // Purpose : macro interface //
5 // //
6 // Coded by Ralf Westram (coder@reallysoft.de) in March 2013 //
7 // Institute of Microbiology (Technical University Munich) //
8 // http://www.arb-home.de/ //
9 // //
10 // ============================================================= //
11 
12 #ifndef MACROS_HXX
13 #define MACROS_HXX
14 
15 #ifndef ARB_CORE_H
16 #include <arb_core.h>
17 #endif
18 #ifndef ATTRIBUTES_H
19 #include <attributes.h>
20 #endif
21 
22 class AW_window;
23 class AW_root;
24 class UserActionTracker;
25 
26 struct GBDATA;
27 
28 // tracker factory:
30 __ATTR__USERESULT GB_ERROR configure_macro_recording(AW_root *aw_root, const char *client_id, GBDATA *gb_main); // replaces active tracker
31 void shutdown_macro_recording(AW_root *aw_root);
32 
33 bool got_macro_ability(AW_root *aw_root);
34 
35 // gui-interface:
36 void insert_macro_menu_entry(AW_window *awm, bool prepend_separator);
37 void execute_macro(AW_root *root, const char *macroname);
38 
39 #else
40 #error macros.hxx included twice
41 #endif // MACROS_HXX
const char * GB_ERROR
Definition: arb_core.h:25
__ATTR__USERESULT GB_ERROR configure_macro_recording(AW_root *aw_root, const char *client_id, GBDATA *gb_main)
Definition: trackers.cxx:459
void insert_macro_menu_entry(AW_window *awm, bool prepend_separator)
Definition: macro_gui.cxx:233
UserActionTracker * need_macro_ability()
Definition: trackers.cxx:455
static AW_window_menu_modes_opengl * awm
bool got_macro_ability(AW_root *aw_root)
Definition: trackers.cxx:480
#define __ATTR__USERESULT
Definition: attributes.h:58
void execute_macro(AW_root *root, const char *macroname)
Definition: macro_gui.cxx:242
void shutdown_macro_recording(AW_root *aw_root)
Definition: trackers.cxx:475
GBDATA * gb_main
Definition: adname.cxx:32