 
#ifndef texttroff_DEFINED
#define texttroff_DEFINED 1
 
#ifndef class_DEFINED
#include <class.h>
#endif /* class_DEFINED */
/* 
 * This file was generated by the Andrew class system preprocessor.
 * Don't make changes to this file as it is created from txttroff.ch and will be
 * overwritten.  Make changes to txttroff.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from txttroff.ch.
 */ 
 
/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *
 *        For full copyright information see:'andrew/config/COPYRITE'     *
\* ********************************************************************** */

/*
	$Disclaimer: 
*Permission to use, copy, modify, and distribute this software and its 
*documentation for any purpose is hereby granted without fee, 
*provided that the above copyright notice appear in all copies and that 
*both that copyright notice, this permission notice, and the following 
*disclaimer appear in supporting documentation, and that the names of 
*IBM, Carnegie Mellon University, and other copyright holders, not be 
*used in advertising or publicity pertaining to distribution of the software 
*without specific, written prior permission.
*
*IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 
*DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
*ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 
*SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 
*BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
*DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
*WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
*ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
*OF THIS SOFTWARE.
* $
*/


 

/* Flags for various things texttroff should or should not do. (each should be a power of 2) */
#define	texttroff_Revert 1	/* if set texttroff will revert to the parents state after processing, otherwise the state will be left however it ended up. */
				  





/* 
 * End of information copied from txttroff.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* texttroff has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for texttroff 
 */ 
/* texttroff is a package.  Packages don't have any data */ 

 
/* 
 * End of data structure for texttroff.
 */ 
 

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef texttroff_PROGRAMMERVERSION
#define texttroff_PROGRAMMERVERSION 1
#endif /* texttroff_PROGRAMMERVERSION */

#ifdef texttroff_VERSION
#undef texttroff_VERSION
#endif /* texttroff_VERSION */
#define texttroff_VERSION ((((texttroff_PROGRAMMERVERSION << 16) ^ (6 << 8)) & 0x7ffff) + (0 << 20))


#endif /* class_StaticInfoOnly */
#define texttroff_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *texttroff__GetClassInfo(); \
 extern struct classheader *txttroff_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, txttroff_classheader_StaticExport->name, texttroff__GetClassInfo, NULL, txttroff_classheader_StaticExport->namekey); } 
 
#define texttroff_StaticLoad()  \
    { \
    texttroff_StaticLoadOnlyThisClass();  \
    } 
 
#define texttroff_StaticEntry  {texttroff_StaticLoad()} 
 
#define txttroff_StaticEntry  {texttroff_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader texttroff_classheader = {
    texttroff_VERSION,
    "texttroff",
    "txttroff",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define texttroff_CLASSPROCEDURES (texttroff_classheader.classprocedures)
int txttroff_classref_;
#endif /* class_StaticInfoOnly */

#endif /* texttroff_DEFINED */

#if !defined(texttroff_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_texttroff) && !defined(class_StaticEntriesOnly)
#define texttroff_ROUTINESDEFINED


#define texttroff_WriteSomeTroff(view,dd,f,toplevel,revert) \
    (*((void (*)()) (texttroff_CLASSPROCEDURES->routines[0])))(&texttroff_classheader,view,dd,f,toplevel,revert)
#define texttroff_WriteTroff(view,dd,f,toplevel) \
    (*((void (*)()) (texttroff_CLASSPROCEDURES->routines[1])))(&texttroff_classheader,view,dd,f,toplevel)
#define texttroff_BeginDoc(f) \
    (*((void (*)()) (texttroff_CLASSPROCEDURES->routines[2])))(&texttroff_classheader,f)
#define texttroff_EndDoc(f) \
    (*((void (*)()) (texttroff_CLASSPROCEDURES->routines[3])))(&texttroff_classheader,f)
#define texttroff_BeginPS(f,width,height) \
    (*((void (*)()) (texttroff_CLASSPROCEDURES->routines[4])))(&texttroff_classheader,f,width,height)
#define texttroff_EndPS(f,width,height) \
    (*((void (*)()) (texttroff_CLASSPROCEDURES->routines[5])))(&texttroff_classheader,f,width,height)


#endif /* !defined(texttroff_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_texttroff ) && !defined(class_StaticEntriesOnly)*/

