source: trunk/WINDOW/aw_system.hxx

Last change on this file was 19575, checked in by westram, 4 days ago
  • reintegrates 'help' into 'trunk'
    • preformatted text gets checked for width now (to enforce it fits into the arb help window).
    • fixed help following these checks, using the following steps:
      • ignore problems in foreign documentation.
      • increase default help window width.
      • introduce control comments to
        • accept oversized preformatted sections.
        • enforce preformatted style for whole sections.
        • simply define single-line preformatted sections
          Used intensive for definition of internal script languages.
    • fixed several non-related problems found in documentation.
    • minor layout changes for HTML version of arb help (more compacted; highlight anchored/all sections).
    • refactor system interface (GUI version) and use it from help module.
  • adds: log:branches/help@19532:19574
File size: 1.2 KB
Line 
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
17void AW_system(const char *command);
18void AW_system_async(const char *command);
19void AW_console();
20
21// For WindowCallback's use the versions below.
22// (Note: AW_window parameter is an unused callback-dummy)
23inline void AW_system_cb(AW_window *, const char *command) { AW_system(command); }
24inline void AW_system_async_cb(AW_window *, const char *command) { AW_system_async(command); }
25inline 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.