|
Last change
on this file was
19613,
checked in by westram, 2 months ago
|
- reintegrates 'lib' into 'trunk'
- replace dynamic library AWT by several static libraries: APP, ARB_SPEC, MASKS, CANVAS, MAPKEY, GUI_TK
- now also check wrong library dependencies for untested units (only4me)
- adds: log:branches/lib@19578:19612
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | // ========================================================= // |
|---|
| 2 | // // |
|---|
| 3 | // File : aw_system.hxx // |
|---|
| 4 | // Purpose : support to run shell commands // |
|---|
| 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 |
|---|
Note: See
TracBrowser
for help on using the repository browser.