 
#ifndef nessrunapp_DEFINED
#define nessrunapp_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 nessruna.ch and will be
 * overwritten.  Make changes to nessruna.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from nessruna.ch.
 */ 
 
/* ********************************************************************** *\
 *         Copyright IBM Corporation 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.
* $
*/


 

/* toandrew application */






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

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for nessrunapp 
 */ 
struct nessrunapp { 
    union {
	struct basicobject_methods *nessrunapp_methods;
	struct application application;
    } header;
	char *inputfile;
	struct ness *theNess;
	boolean dump;

};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef nessrunapp_PROGRAMMERVERSION
#define nessrunapp_PROGRAMMERVERSION 1
#endif /* nessrunapp_PROGRAMMERVERSION */

#ifdef nessrunapp_VERSION
#undef nessrunapp_VERSION
#endif /* nessrunapp_VERSION */
#define nessrunapp_VERSION ((((nessrunapp_PROGRAMMERVERSION << 16) ^ (7 << 8) ^ sizeof(struct nessrunapp)) & 0x7ffff) + 0x80000 + (1 << 20))


#endif /* class_StaticInfoOnly */
#define nessrunapp_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *nessrunapp__GetClassInfo(); \
 extern struct classheader *nessruna_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, nessruna_classheader_StaticExport->name, nessrunapp__GetClassInfo, NULL, nessruna_classheader_StaticExport->namekey); } 
 
#define nessrunapp_StaticLoad()  \
    { \
    application_StaticLoad(); \
    nessrunapp_StaticLoadOnlyThisClass();  \
    } 
 
#define nessrunapp_StaticEntry  {nessrunapp_StaticLoad()} 
 
#define nessruna_StaticEntry  {nessrunapp_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader nessrunapp_classheader = {
    nessrunapp_VERSION,
    "nessrunapp",
    "nessruna",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define nessrunapp_CLASSPROCEDURES (nessrunapp_classheader.classprocedures)
int nessruna_classref_;
#endif /* class_StaticInfoOnly */

#endif /* nessrunapp_DEFINED */

#if !defined(nessrunapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_nessrunapp) && !defined(class_StaticEntriesOnly)
#define nessrunapp_ROUTINESDEFINED

#define nessrunapp_ParseArgs(self,argc,argv) \
    ((* ((boolean (*)())((self)->header.nessrunapp_methods->routines[0]))) (self,argc,argv))
#define nessrunapp_ReadInitFile(self) \
    ((* ((void (*)())((self)->header.nessrunapp_methods->routines[1]))) (self))
#define nessrunapp_Start(self) \
    ((* ((boolean (*)())((self)->header.nessrunapp_methods->routines[2]))) (self))
#define nessrunapp_Run(self) \
    ((* ((int (*)())((self)->header.nessrunapp_methods->routines[3]))) (self))
#define nessrunapp_Stop(self) \
    ((* ((void (*)())((self)->header.nessrunapp_methods->routines[4]))) (self))
#define nessrunapp_Fork(self) \
    ((* ((boolean (*)())((self)->header.nessrunapp_methods->routines[5]))) (self))
#define nessrunapp_PrintVersionNumber(self) \
    ((* ((void (*)())((self)->header.nessrunapp_methods->routines[6]))) (self))
#define nessrunapp_SetFork(self,do) \
 ((&(self)->header.application)->fork=(do))
#define nessrunapp_GetFork(self) \
 ((&(self)->header.application)->fork)
#define nessrunapp_SetName(self,str) \
 ((&(self)->header.application)->name=(str))
#define nessrunapp_GetName(self) \
 ((&(self)->header.application)->name)
#define nessrunapp_SetForceLoad(self,f) \
 (((&(self)->header.application))->forceload=(f))
#define nessrunapp_GetForceLoad(self) \
 (((&(self)->header.application))->forceload)
#define nessrunapp_SetErrorProc(self,p) \
 (((&(self)->header.application))->errorProc=(p))
#define nessrunapp_GetErrorProc(self) \
 (((&(self)->header.application))->errorProc)
#define nessrunapp_SetErrorRock(self,r) \
 (((&(self)->header.application))->errorRock=(r))
#define nessrunapp_GetErrorRock(self) \
 (((&(self)->header.application))->errorRock)
#define nessrunapp_SetMajorVersion(self,mv) \
 (((&(self)->header.application))->majorversion=(mv))
#define nessrunapp_GetMajorVersion(self) \
 (((&(self)->header.application))->majorversion)
#define nessrunapp_SetMinorVersion(self,mv) \
 (((&(self)->header.application))->minorversion=(mv))
#define nessrunapp_GetMinorVersion(self) \
 (((&(self)->header.application))->minorversion)
#define nessrunapp_SetPrintVersionFlag(self,TorF) \
 (((&(self)->header.application))->printversioninfo=(TorF))
#define nessrunapp_GetPrintVersionFlag(self) \
 (((&(self)->header.application))->printversioninfo)
#define nessrunapp_SetIconic(self,val) \
 (((&(self)->header.application))->iconic=(val))
#define nessrunapp_GetIconic(self) \
 (((&(self)->header.application))->iconic)

#define nessrunapp_NewFromObject(self) \
    ((* ((struct nessrunapp * (*)())((self)->header.nessrunapp_methods->info->procs->routines[0]))) (&nessrunapp_classheader, (self)->header.nessrunapp_methods->info->versionnumber))
#define nessrunapp_New() \
    (*((struct nessrunapp * (*)()) (nessrunapp_CLASSPROCEDURES->routines[0])))(&nessrunapp_classheader,nessrunapp_VERSION)
#define nessrunapp_Initialize(self) \
    (*((void (*)()) (nessrunapp_CLASSPROCEDURES->routines[2])))(&nessrunapp_classheader,self, nessrunapp_VERSION)

#define nessrunapp_Destroy(self) \
    ((* ((void (*)()) ((self)->header.nessrunapp_methods->info->procs->routines[1]))) (&nessrunapp_classheader, self))
#define nessrunapp_Finalize(self) \
    (*((void (*)()) (nessrunapp_CLASSPROCEDURES->routines[3])))(&nessrunapp_classheader,self)

#define nessrunapp_InitializeObject(self) \
    (*((boolean (*)()) (nessrunapp_CLASSPROCEDURES->routines[5])))(&nessrunapp_classheader,self)
#define nessrunapp_FinalizeObject(self) \
    (*((void (*)()) (nessrunapp_CLASSPROCEDURES->routines[6])))(&nessrunapp_classheader,self)


#endif /* !defined(nessrunapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_nessrunapp ) && !defined(class_StaticEntriesOnly)*/

