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


 


struct runadewapp_fileList {
    struct runadewapp_fileList *next;
    char *filename;
    boolean newWindow;
    boolean readOnly;
};






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

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for runadewapp 
 */ 
struct runadewapp { 
    union {
	struct basicobject_methods *runadewapp_methods;
	struct application application;
    } header;
        struct runadewapp_fileList *files,**fileLink;
        boolean initFile;
        boolean haveBufferInWindow;
        struct im *im;
        struct frame *frame;
        struct buffer *buffer;
	char *title, *cls,*func;
	char *objectname;
	
};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef runadewapp_PROGRAMMERVERSION
#define runadewapp_PROGRAMMERVERSION 1
#endif /* runadewapp_PROGRAMMERVERSION */

#ifdef runadewapp_VERSION
#undef runadewapp_VERSION
#endif /* runadewapp_VERSION */
#define runadewapp_VERSION ((((runadewapp_PROGRAMMERVERSION << 16) ^ (7 << 8) ^ sizeof(struct runadewapp)) & 0x7ffff) + 0x80000 + (65 << 20))


#endif /* class_StaticInfoOnly */
#define runadewapp_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *runadewapp__GetClassInfo(); \
 extern struct classheader *runadewa_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, runadewa_classheader_StaticExport->name, runadewapp__GetClassInfo, NULL, runadewa_classheader_StaticExport->namekey); } 
 
#define runadewapp_StaticLoad()  \
    { \
    application_StaticLoad(); \
    runadewapp_StaticLoadOnlyThisClass();  \
    } 
 
#define runadewapp_StaticEntry  {runadewapp_StaticLoad()} 
 
#define runadewa_StaticEntry  {runadewapp_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader runadewapp_classheader = {
    runadewapp_VERSION,
    "runadewapp",
    "runadewa",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define runadewapp_CLASSPROCEDURES (runadewapp_classheader.classprocedures)
int runadewa_classref_;
#endif /* class_StaticInfoOnly */

#endif /* runadewapp_DEFINED */

#if !defined(runadewapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_runadewapp) && !defined(class_StaticEntriesOnly)
#define runadewapp_ROUTINESDEFINED

#define runadewapp_ParseArgs(self,argc,argv) \
    ((* ((boolean (*)())((self)->header.runadewapp_methods->routines[0]))) (self,argc,argv))
#define runadewapp_ReadInitFile(self) \
    ((* ((void (*)())((self)->header.runadewapp_methods->routines[1]))) (self))
#define runadewapp_Start(self) \
    ((* ((boolean (*)())((self)->header.runadewapp_methods->routines[2]))) (self))
#define runadewapp_Run(self) \
    ((* ((int (*)())((self)->header.runadewapp_methods->routines[3]))) (self))
#define runadewapp_Stop(self) \
    ((* ((void (*)())((self)->header.runadewapp_methods->routines[4]))) (self))
#define runadewapp_Fork(self) \
    ((* ((boolean (*)())((self)->header.runadewapp_methods->routines[5]))) (self))
#define runadewapp_PrintVersionNumber(self) \
    ((* ((void (*)())((self)->header.runadewapp_methods->routines[6]))) (self))
#define runadewapp_SetFork(self,do) \
 ((&(self)->header.application)->fork=(do))
#define runadewapp_GetFork(self) \
 ((&(self)->header.application)->fork)
#define runadewapp_SetName(self,str) \
 ((&(self)->header.application)->name=(str))
#define runadewapp_GetName(self) \
 ((&(self)->header.application)->name)
#define runadewapp_SetForceLoad(self,f) \
 (((&(self)->header.application))->forceload=(f))
#define runadewapp_GetForceLoad(self) \
 (((&(self)->header.application))->forceload)
#define runadewapp_SetErrorProc(self,p) \
 (((&(self)->header.application))->errorProc=(p))
#define runadewapp_GetErrorProc(self) \
 (((&(self)->header.application))->errorProc)
#define runadewapp_SetErrorRock(self,r) \
 (((&(self)->header.application))->errorRock=(r))
#define runadewapp_GetErrorRock(self) \
 (((&(self)->header.application))->errorRock)
#define runadewapp_SetMajorVersion(self,mv) \
 (((&(self)->header.application))->majorversion=(mv))
#define runadewapp_GetMajorVersion(self) \
 (((&(self)->header.application))->majorversion)
#define runadewapp_SetMinorVersion(self,mv) \
 (((&(self)->header.application))->minorversion=(mv))
#define runadewapp_GetMinorVersion(self) \
 (((&(self)->header.application))->minorversion)
#define runadewapp_SetPrintVersionFlag(self,TorF) \
 (((&(self)->header.application))->printversioninfo=(TorF))
#define runadewapp_GetPrintVersionFlag(self) \
 (((&(self)->header.application))->printversioninfo)
#define runadewapp_SetIconic(self,val) \
 (((&(self)->header.application))->iconic=(val))
#define runadewapp_GetIconic(self) \
 (((&(self)->header.application))->iconic)

#define runadewapp_NewFromObject(self) \
    ((* ((struct runadewapp * (*)())((self)->header.runadewapp_methods->info->procs->routines[0]))) (&runadewapp_classheader, (self)->header.runadewapp_methods->info->versionnumber))
#define runadewapp_New() \
    (*((struct runadewapp * (*)()) (runadewapp_CLASSPROCEDURES->routines[0])))(&runadewapp_classheader,runadewapp_VERSION)
#define runadewapp_Initialize(self) \
    (*((void (*)()) (runadewapp_CLASSPROCEDURES->routines[2])))(&runadewapp_classheader,self, runadewapp_VERSION)

#define runadewapp_Destroy(self) \
    ((* ((void (*)()) ((self)->header.runadewapp_methods->info->procs->routines[1]))) (&runadewapp_classheader, self))
#define runadewapp_Finalize(self) \
    (*((void (*)()) (runadewapp_CLASSPROCEDURES->routines[3])))(&runadewapp_classheader,self)

#define runadewapp_InitializeClass() \
    (*((boolean (*)()) (runadewapp_CLASSPROCEDURES->routines[5])))(&runadewapp_classheader)
#define runadewapp_GetArguments(argc) \
    (*((char ** (*)()) (runadewapp_CLASSPROCEDURES->routines[6])))(&runadewapp_classheader,argc)


#endif /* !defined(runadewapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_runadewapp ) && !defined(class_StaticEntriesOnly)*/

