|
Revision 8589, 1.2 KB
(checked in by westram, 5 weeks ago)
|
- macro execution
- when a macro terminates (closes DB), it informs the caller via DB about that
- AW_root::execute_macro(): new callback param; will be called after macro termination
- when running a macro from GUI, it's termination callback will reset the currently selected macro
- just cosmetic, but proofs concept works
- only annoying when calling a macro which calls another macro (previously that other macro was selected after execution)
- GB_close
- run close callbacks before disconnecting from server (-> close callbacks now can transact with DB)
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | // ==================================================================== // |
|---|
| 2 | // // |
|---|
| 3 | // File : awt_macro.hxx // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // // |
|---|
| 7 | // Coded by Ralf Westram (coder@reallysoft.de) in May 2005 // |
|---|
| 8 | // Copyright Department of Microbiology (Technical University Munich) // |
|---|
| 9 | // // |
|---|
| 10 | // Visit our web site at: http://www.arb-home.de/ // |
|---|
| 11 | // // |
|---|
| 12 | // ==================================================================== // |
|---|
| 13 | #ifndef AWT_MACRO_HXX |
|---|
| 14 | #define AWT_MACRO_HXX |
|---|
| 15 | |
|---|
| 16 | #ifndef ARBDB_BASE_H |
|---|
| 17 | #include <arbdb_base.h> |
|---|
| 18 | #endif |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | class AW_window; |
|---|
| 22 | class AW_root; |
|---|
| 23 | |
|---|
| 24 | void awt_popup_macro_window(AW_window *aww, const char *application_id, GBDATA *gb_main); |
|---|
| 25 | void awt_execute_macro(GBDATA *gb_main, AW_root *root, const char *macroname); |
|---|
| 26 | |
|---|
| 27 | #else |
|---|
| 28 | #error awt_macro.hxx included twice |
|---|
| 29 | #endif // AWT_MACRO_HXX |
|---|