ARB
awt_misc.hxx
Go to the documentation of this file.
1 // ============================================================ //
2 // //
3 // File : awt_misc.hxx //
4 // Purpose : //
5 // //
6 // Coded by Ralf Westram (coder@reallysoft.de) in July 2015 //
7 // http://www.arb-home.de/ //
8 // //
9 // ============================================================ //
10 
11 #ifndef AWT_MISC_HXX
12 #define AWT_MISC_HXX
13 
14 #ifndef AW_BASE_HXX
15 #include <aw_base.hxx>
16 #endif
17 #ifndef ARBDB_H
18 #include <arbdb.h>
19 #endif
20 
22 
23 void AWT_insert_DBsaveType_selector(AW_window *aww, const char *awar_name);
24 void AWT_insert_DBcompression_selector(AW_window *aww, const char *awar_name);
25 
26 // system/shell interface (for GUI apps):
27 // (note: AW_window parameter is an unused callback-dummy)
28 void AWT_system_cb(AW_window *, const char *command);
29 void AWT_console(AW_window*);
30 void AWT_system_in_console_cb(AW_window*, const char *command, XCMD_TYPE exectype);
31 
32 // for direct calls use these:
33 inline void AWT_system_cb(const char *command) { AWT_system_cb(NULp, command); }
34 inline void AWT_console() { AWT_console(NULp); }
35 inline void AWT_system_in_console_cb(const char *command, XCMD_TYPE exectype) { AWT_system_in_console_cb(NULp, command, exectype); }
36 
37 #else
38 #error awt_misc.hxx included twice
39 #endif // AWT_MISC_HXX
AW_window * AWT_create_IUPAC_info_window(AW_root *aw_root)
Definition: AWT_misc.cxx:21
void AWT_insert_DBcompression_selector(AW_window *aww, const char *awar_name)
Definition: AWT_misc.cxx:62
XCMD_TYPE
Definition: arbdb.h:115
void AWT_console(AW_window *)
Definition: AWT_misc.cxx:87
void AWT_system_cb(AW_window *, const char *command)
Definition: AWT_misc.cxx:84
void AWT_insert_DBsaveType_selector(AW_window *aww, const char *awar_name)
Definition: AWT_misc.cxx:39
#define NULp
Definition: cxxforward.h:97
void AWT_system_in_console_cb(AW_window *, const char *command, XCMD_TYPE exectype)
Definition: AWT_misc.cxx:90
static char * command
Definition: arb_a2ps.c:319