This is TextConverter.h in view mode; [Download] [Up]
/***********************************************************************\
Common class for subclassing text converters in all Convert programs
Copyright (C) 1993 David John Burrowes
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
The author, David John Burrowes, can be reached at:
davidjohn@kira.net.netcom.com
David John Burrowes
1926 Ivy #10
San Mateo, CA 94403-1367
\***********************************************************************/
/*====================================================================
This is the interface file for the TextConverter class. Full documentation for this class can be found in the TextConverter.rtf file. I will not duplicate all that fine information here.
NOTE: You may find that text doesn't line up properly unless you use the New Century Schoolbook Roman typeface, since this was created with it.
INFORMATION:
This is $Revision: 1.2 $ of this file
It was last modified by $Author: death $ on $Date: 93/04/04 23:45:20 $
$Log: TextConverter.h,v $
* Revision 1.2 93/04/04 23:45:20 death
* Sun Apr 4 23:45:20 PDT 1993
*
* Revision 1.1 93/01/10 15:08:49 death
* Sun Jan 10 15:08:49 PST 1993
*
====================================================================*/
#import "ResultObject.h"
#import "common.h"
@interface TextConverter:ResultObject
{
//
// This class has no instance variables
//
}
- (Character) ConvertCharacter: (Character) theCharacter;
- (Pointer) ConvertString: (Pointer) theData WithLength: (Integer) length;
@end
/* DEFINES */
#define errCANTMAPTOONE 1001 /* set by ConvertChar: if mapping would be > 1 dest char */
#define errCANTMAPFROMONE 1002 /* set by ConvertChar: if mapping needs > 1 source char */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.