 
#ifndef rofftextapp_DEFINED
#define rofftextapp_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 rofftxta.ch and will be
 * overwritten.  Make changes to rofftxta.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from rofftxta.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.
* $
*/


 

/* rofftext application */






/* 
 * End of information copied from rofftxta.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
#define dontDefineRoutinesFor_application
#include "app.ih"
#undef dontDefineRoutinesFor_application

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for rofftextapp 
 */ 
struct rofftextapp { 
    union {
	struct basicobject_methods *rofftextapp_methods;
	struct application application;
    } header;
        char *macrofile;
        boolean RoffType;
        char *outputfile;
        char *inputfile;
        char **inputfiles;
        char **argv;
        int argc;
        boolean HelpMode;
        boolean BeCompletelyBogus;
        boolean PrintWarnings;

};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef rofftextapp_PROGRAMMERVERSION
#define rofftextapp_PROGRAMMERVERSION 1
#endif /* rofftextapp_PROGRAMMERVERSION */

#ifdef rofftextapp_VERSION
#undef rofftextapp_VERSION
#endif /* rofftextapp_VERSION */
#define rofftextapp_VERSION ((((rofftextapp_PROGRAMMERVERSION << 16) ^ (7 << 8) ^ sizeof(struct rofftextapp)) & 0x7ffff) + 0x80000 + (1 << 20))


#endif /* class_StaticInfoOnly */
#define rofftextapp_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *rofftextapp__GetClassInfo(); \
 extern struct classheader *rofftxta_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, rofftxta_classheader_StaticExport->name, rofftextapp__GetClassInfo, NULL, rofftxta_classheader_StaticExport->namekey); } 
 
#define rofftextapp_StaticLoad()  \
    { \
    application_StaticLoad(); \
    rofftextapp_StaticLoadOnlyThisClass();  \
    } 
 
#define rofftextapp_StaticEntry  {rofftextapp_StaticLoad()} 
 
#define rofftxta_StaticEntry  {rofftextapp_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader rofftextapp_classheader = {
    rofftextapp_VERSION,
    "rofftextapp",
    "rofftxta",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define rofftextapp_CLASSPROCEDURES (rofftextapp_classheader.classprocedures)
int rofftxta_classref_;
#endif /* class_StaticInfoOnly */

#endif /* rofftextapp_DEFINED */

#if !defined(rofftextapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_rofftextapp) && !defined(class_StaticEntriesOnly)
#define rofftextapp_ROUTINESDEFINED

#define rofftextapp_ParseArgs(self,argc,argv) \
    ((* ((boolean (*)())((self)->header.rofftextapp_methods->routines[0]))) (self,argc,argv))
#define rofftextapp_ReadInitFile(self) \
    ((* ((void (*)())((self)->header.rofftextapp_methods->routines[1]))) (self))
#define rofftextapp_Start(self) \
    ((* ((boolean (*)())((self)->header.rofftextapp_methods->routines[2]))) (self))
#define rofftextapp_Run(self) \
    ((* ((int (*)())((self)->header.rofftextapp_methods->routines[3]))) (self))
#define rofftextapp_Stop(self) \
    ((* ((void (*)())((self)->header.rofftextapp_methods->routines[4]))) (self))
#define rofftextapp_Fork(self) \
    ((* ((boolean (*)())((self)->header.rofftextapp_methods->routines[5]))) (self))
#define rofftextapp_PrintVersionNumber(self) \
    ((* ((void (*)())((self)->header.rofftextapp_methods->routines[6]))) (self))
#define rofftextapp_SetFork(self,do) \
 ((&(self)->header.application)->fork=(do))
#define rofftextapp_GetFork(self) \
 ((&(self)->header.application)->fork)
#define rofftextapp_SetName(self,str) \
 ((&(self)->header.application)->name=(str))
#define rofftextapp_GetName(self) \
 ((&(self)->header.application)->name)
#define rofftextapp_SetForceLoad(self,f) \
 (((&(self)->header.application))->forceload=(f))
#define rofftextapp_GetForceLoad(self) \
 (((&(self)->header.application))->forceload)
#define rofftextapp_SetErrorProc(self,p) \
 (((&(self)->header.application))->errorProc=(p))
#define rofftextapp_GetErrorProc(self) \
 (((&(self)->header.application))->errorProc)
#define rofftextapp_SetErrorRock(self,r) \
 (((&(self)->header.application))->errorRock=(r))
#define rofftextapp_GetErrorRock(self) \
 (((&(self)->header.application))->errorRock)
#define rofftextapp_SetMajorVersion(self,mv) \
 (((&(self)->header.application))->majorversion=(mv))
#define rofftextapp_GetMajorVersion(self) \
 (((&(self)->header.application))->majorversion)
#define rofftextapp_SetMinorVersion(self,mv) \
 (((&(self)->header.application))->minorversion=(mv))
#define rofftextapp_GetMinorVersion(self) \
 (((&(self)->header.application))->minorversion)
#define rofftextapp_SetPrintVersionFlag(self,TorF) \
 (((&(self)->header.application))->printversioninfo=(TorF))
#define rofftextapp_GetPrintVersionFlag(self) \
 (((&(self)->header.application))->printversioninfo)
#define rofftextapp_SetIconic(self,val) \
 (((&(self)->header.application))->iconic=(val))
#define rofftextapp_GetIconic(self) \
 (((&(self)->header.application))->iconic)

#define rofftextapp_NewFromObject(self) \
    ((* ((struct rofftextapp * (*)())((self)->header.rofftextapp_methods->info->procs->routines[0]))) (&rofftextapp_classheader, (self)->header.rofftextapp_methods->info->versionnumber))
#define rofftextapp_New() \
    (*((struct rofftextapp * (*)()) (rofftextapp_CLASSPROCEDURES->routines[0])))(&rofftextapp_classheader,rofftextapp_VERSION)
#define rofftextapp_Initialize(self) \
    (*((void (*)()) (rofftextapp_CLASSPROCEDURES->routines[2])))(&rofftextapp_classheader,self, rofftextapp_VERSION)

#define rofftextapp_Destroy(self) \
    ((* ((void (*)()) ((self)->header.rofftextapp_methods->info->procs->routines[1]))) (&rofftextapp_classheader, self))
#define rofftextapp_Finalize(self) \
    (*((void (*)()) (rofftextapp_CLASSPROCEDURES->routines[3])))(&rofftextapp_classheader,self)

#define rofftextapp_InitializeObject(self) \
    (*((boolean (*)()) (rofftextapp_CLASSPROCEDURES->routines[5])))(&rofftextapp_classheader,self)


#endif /* !defined(rofftextapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_rofftextapp ) && !defined(class_StaticEntriesOnly)*/

