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


 






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

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for datacatapp 
 */ 
struct datacatapp { 
    union {
	struct basicobject_methods *datacatapp_methods;
	struct application application;
    } header;
};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef datacatapp_PROGRAMMERVERSION
#define datacatapp_PROGRAMMERVERSION 1
#endif /* datacatapp_PROGRAMMERVERSION */

#ifdef datacatapp_VERSION
#undef datacatapp_VERSION
#endif /* datacatapp_VERSION */
#define datacatapp_VERSION ((((datacatapp_PROGRAMMERVERSION << 16) ^ (7 << 8) ^ sizeof(struct datacatapp)) & 0x7ffff) + 0x80000 + (1 << 20))


#endif /* class_StaticInfoOnly */
#define datacatapp_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *datacatapp__GetClassInfo(); \
 extern struct classheader *datacata_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, datacata_classheader_StaticExport->name, datacatapp__GetClassInfo, NULL, datacata_classheader_StaticExport->namekey); } 
 
#define datacatapp_StaticLoad()  \
    { \
    application_StaticLoad(); \
    datacatapp_StaticLoadOnlyThisClass();  \
    } 
 
#define datacatapp_StaticEntry  {datacatapp_StaticLoad()} 
 
#define datacata_StaticEntry  {datacatapp_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader datacatapp_classheader = {
    datacatapp_VERSION,
    "datacatapp",
    "datacata",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define datacatapp_CLASSPROCEDURES (datacatapp_classheader.classprocedures)
int datacata_classref_;
#endif /* class_StaticInfoOnly */

#endif /* datacatapp_DEFINED */

#if !defined(datacatapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_datacatapp) && !defined(class_StaticEntriesOnly)
#define datacatapp_ROUTINESDEFINED

#define datacatapp_ParseArgs(self,argc,argv) \
    ((* ((boolean (*)())((self)->header.datacatapp_methods->routines[0]))) (self,argc,argv))
#define datacatapp_ReadInitFile(self) \
    ((* ((void (*)())((self)->header.datacatapp_methods->routines[1]))) (self))
#define datacatapp_Start(self) \
    ((* ((boolean (*)())((self)->header.datacatapp_methods->routines[2]))) (self))
#define datacatapp_Run(self) \
    ((* ((int (*)())((self)->header.datacatapp_methods->routines[3]))) (self))
#define datacatapp_Stop(self) \
    ((* ((void (*)())((self)->header.datacatapp_methods->routines[4]))) (self))
#define datacatapp_Fork(self) \
    ((* ((boolean (*)())((self)->header.datacatapp_methods->routines[5]))) (self))
#define datacatapp_PrintVersionNumber(self) \
    ((* ((void (*)())((self)->header.datacatapp_methods->routines[6]))) (self))
#define datacatapp_SetFork(self,do) \
 ((&(self)->header.application)->fork=(do))
#define datacatapp_GetFork(self) \
 ((&(self)->header.application)->fork)
#define datacatapp_SetName(self,str) \
 ((&(self)->header.application)->name=(str))
#define datacatapp_GetName(self) \
 ((&(self)->header.application)->name)
#define datacatapp_SetForceLoad(self,f) \
 (((&(self)->header.application))->forceload=(f))
#define datacatapp_GetForceLoad(self) \
 (((&(self)->header.application))->forceload)
#define datacatapp_SetErrorProc(self,p) \
 (((&(self)->header.application))->errorProc=(p))
#define datacatapp_GetErrorProc(self) \
 (((&(self)->header.application))->errorProc)
#define datacatapp_SetErrorRock(self,r) \
 (((&(self)->header.application))->errorRock=(r))
#define datacatapp_GetErrorRock(self) \
 (((&(self)->header.application))->errorRock)
#define datacatapp_SetMajorVersion(self,mv) \
 (((&(self)->header.application))->majorversion=(mv))
#define datacatapp_GetMajorVersion(self) \
 (((&(self)->header.application))->majorversion)
#define datacatapp_SetMinorVersion(self,mv) \
 (((&(self)->header.application))->minorversion=(mv))
#define datacatapp_GetMinorVersion(self) \
 (((&(self)->header.application))->minorversion)
#define datacatapp_SetPrintVersionFlag(self,TorF) \
 (((&(self)->header.application))->printversioninfo=(TorF))
#define datacatapp_GetPrintVersionFlag(self) \
 (((&(self)->header.application))->printversioninfo)
#define datacatapp_SetIconic(self,val) \
 (((&(self)->header.application))->iconic=(val))
#define datacatapp_GetIconic(self) \
 (((&(self)->header.application))->iconic)

#define datacatapp_NewFromObject(self) \
    ((* ((struct datacatapp * (*)())((self)->header.datacatapp_methods->info->procs->routines[0]))) (&datacatapp_classheader, (self)->header.datacatapp_methods->info->versionnumber))
#define datacatapp_New() \
    (*((struct datacatapp * (*)()) (datacatapp_CLASSPROCEDURES->routines[0])))(&datacatapp_classheader,datacatapp_VERSION)
#define datacatapp_Initialize(self) \
    (*((void (*)()) (datacatapp_CLASSPROCEDURES->routines[2])))(&datacatapp_classheader,self, datacatapp_VERSION)

#define datacatapp_Destroy(self) \
    ((* ((void (*)()) ((self)->header.datacatapp_methods->info->procs->routines[1]))) (&datacatapp_classheader, self))
#define datacatapp_Finalize(self) \
    (*((void (*)()) (datacatapp_CLASSPROCEDURES->routines[3])))(&datacatapp_classheader,self)

#define datacatapp_InitializeObject(self) \
    (*((boolean (*)()) (datacatapp_CLASSPROCEDURES->routines[5])))(&datacatapp_classheader,self)
#define datacatapp_FinalizeObject(self) \
    (*((void (*)()) (datacatapp_CLASSPROCEDURES->routines[6])))(&datacatapp_classheader,self)


#endif /* !defined(datacatapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_datacatapp ) && !defined(class_StaticEntriesOnly)*/

