Debian Codegraph @

terps/tads/tads3/vmbiftix.h

raw symbols SCIP
1 /* Copyright (c) 2005 by Michael J. Roberts. All Rights Reserved. */
2 /*
3 Name
4 vmbiftix.h - function set definition - TADS I/O Extensions
5 Function
6 The I/O Extensions function set provides access to some UI functionality
7 beyond the basic tads-io set.
8 Notes
9
10 Modified
11 03/02/05 MJRoberts - Creation
12 */
13
14 #ifndef VMBIFTIX_H
15 #define VMBIFTIX_H
16
17 #include "os.h"
18 #include "vmbif.h"
19 #include "utf8.h"
20
21 class CVmBifTIOExt: public CVmBif
22 {
23 public:
24 /* function vector */
25 static vm_bif_desc bif_table[];
26
27 /* show a popup menu */
28 static void show_popup_menu(VMG_ uint argc);
29
30 /* enable/disable system menu command */
31 static void enable_sys_menu_cmd(VMG_ uint argc);
32 };
33
34
35 #endif /* VMBIFTIX_H */
36
37 /* ------------------------------------------------------------------------ */
38 /*
39 * Function set vector. Define this only if VMBIF_DEFINE_VECTOR has been
40 * defined, so that this file can be included for the prototypes alone
41 * without defining the function vector.
42 *
43 * Note that this vector is specifically defined outside of the section of
44 * the file protected against multiple inclusion.
45 */
46 #ifdef VMBIF_DEFINE_VECTOR
47
48 /* TADS input/output extension functions */
49 vm_bif_desc CVmBifTIOExt::bif_table[] =
50 {
51 { &CVmBifTIOExt::show_popup_menu, 3, 0, FALSE },
52 { &CVmBifTIOExt::enable_sys_menu_cmd, 2, 0, FALSE }
53 };
54
55 #endif /* VMBIF_DEFINE_VECTOR */