ARB
aw_system.hxx
Go to the documentation of this file.
1 // ========================================================= //
2 // //
3 // File : aw_system.hxx //
4 // Purpose : //
5 // //
6 // Coded by Ralf Westram (coder@reallysoft.de) in Nov 25 //
7 // http://www.arb-home.de/ //
8 // //
9 // ========================================================= //
10 
11 #ifndef AW_SYSTEM_HXX
12 #define AW_SYSTEM_HXX
13 
14 // ---------------------------------------- see also ../SL/MACROS/xcmd.hxx@SHELL_INTERFACE
15 // system/shell interface (for GUI apps)
16 
17 void AW_system(const char *command);
18 void AW_system_async(const char *command);
19 void AW_console();
20 
21 // For WindowCallback's use the versions below.
22 // (Note: AW_window parameter is an unused callback-dummy)
23 inline void AW_system_cb(AW_window *, const char *command) { AW_system(command); }
24 inline void AW_system_async_cb(AW_window *, const char *command) { AW_system_async(command); }
25 inline void AW_console_cb(AW_window*) { AW_console(); }
26 
27 #else
28 #error aw_system.hxx included twice
29 #endif // AW_SYSTEM_HXX
void AW_console()
Definition: AW_help.cxx:45
void AW_system_cb(AW_window *, const char *command)
Definition: aw_system.hxx:23
void AW_console_cb(AW_window *)
Definition: aw_system.hxx:25
static char * command
Definition: arb_a2ps.c:319
void AW_system_async(const char *command)
Definition: AW_help.cxx:35
void AW_system(const char *command)
Definition: AW_help.cxx:32
void AW_system_async_cb(AW_window *, const char *command)
Definition: aw_system.hxx:24