~ubuntu-branches/ubuntu/wily/gargoyle-free/wily-proposed

« back to all changes in this revision

Viewing changes to tads/tads3/vmbiftix.h

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Beucler
  • Date: 2009-09-11 20:09:43 UTC
  • Revision ID: james.westby@ubuntu.com-20090911200943-idgzoyupq6650zpn
Tags: upstream-2009-08-25
ImportĀ upstreamĀ versionĀ 2009-08-25

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
    /* show a popup menu */
 
25
    static void show_popup_menu(VMG_ uint argc);
 
26
 
 
27
    /* enable/disable system menu command */
 
28
    static void enable_sys_menu_cmd(VMG_ uint argc);
 
29
};
 
30
 
 
31
 
 
32
#endif /* VMBIFTIX_H */
 
33
 
 
34
/* ------------------------------------------------------------------------ */
 
35
/*
 
36
 *   Function set vector.  Define this only if VMBIF_DEFINE_VECTOR has been
 
37
 *   defined, so that this file can be included for the prototypes alone
 
38
 *   without defining the function vector.
 
39
 *   
 
40
 *   Note that this vector is specifically defined outside of the section of
 
41
 *   the file protected against multiple inclusion.  
 
42
 */
 
43
#ifdef VMBIF_DEFINE_VECTOR
 
44
 
 
45
/* TADS input/output extension functions */
 
46
void (*G_bif_tadsio_ext[])(VMG_ uint) =
 
47
{
 
48
    &CVmBifTIOExt::show_popup_menu,
 
49
    &CVmBifTIOExt::enable_sys_menu_cmd
 
50
};
 
51
 
 
52
#endif /* VMBIF_DEFINE_VECTOR */