Mercurial > ~dholland > hg > ag > index.cgi
comparison anagram/guisupport/proctabdc.h @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 /* | |
2 * AnaGram, A System for Syntax Directed Programming | |
3 * Copyright 1993-2002 Parsifal Software. All Rights Reserved. | |
4 * See the file COPYING for license and usage terms. | |
5 * | |
6 * proctabdc.h | |
7 */ | |
8 | |
9 #ifndef PROCTABDC_H | |
10 #define PROCTABDC_H | |
11 | |
12 #include "dc.h" | |
13 | |
14 | |
15 class proc_table_dc : public dc { | |
16 public: | |
17 | |
18 proc_table_dc(void); | |
19 proc_table_dc(proc_table_dc &x) : dc(x) {} | |
20 | |
21 virtual void getLine(unsigned) const; | |
22 virtual void synchCursor(unsigned) const; | |
23 }; | |
24 | |
25 /* | |
26 class string_table_dc : public dc { | |
27 public: | |
28 void init(void); | |
29 AgArray<AgString> text; | |
30 | |
31 string_table_dc(const AgString, AgArray<AgString>); | |
32 string_table_dc(string_table_dc &x) : dc(x), text(x.text) {} | |
33 | |
34 ~string_table_dc() {} | |
35 virtual void getLine(unsigned) const; | |
36 | |
37 class ref : public dc::ref { | |
38 public: | |
39 ref(void) {} | |
40 ref(string_table_dc *x) : dc::ref(x) {} | |
41 ref(const dc::ref &x) : dc::ref(x) {} | |
42 | |
43 operator string_table_dc *(void) { return (string_table_dc *) window; } | |
44 string_table_dc *operator ->(void) | |
45 { return (string_table_dc *) window; } | |
46 }; | |
47 }; | |
48 */ | |
49 | |
50 | |
51 #endif /* PROCTABDC_H */ |