-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcharsource.h
More file actions
executable file
·31 lines (28 loc) · 832 Bytes
/
charsource.h
File metadata and controls
executable file
·31 lines (28 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*Copyright 2001
*
* charsource.h
*
* Author: Gregory Ford greg@reddfish.co.nz
* RTF token parser based on:
* rtf2html by Dmitry Porapov <dpotapov@capitalsoft.com>,
* based on earlier work of Chuck Shotton.
* distributed under BSD-style license
* RTF token lists and hashing algorithm based on
* RTF Tools, Release 1.10
* 6 April 1994
* Paul DuBois dubois@primate.wisc.edu
*
* Copying permitted under GNU licence (see COPYING)
*/
// charsource.h: interface for the CharSource class.
//
//////////////////////////////////////////////////////////////////////
class CharSource
{
public:
virtual bool endOfInput() = 0 ; //{return true;};
virtual char unGetChar( char ch ) = 0 ; // {return '\0';};
virtual char getChar() = 0 ; //{return '\0';};
CharSource();
~CharSource();
};