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


 

/* init.H
 * Class header file for initialization file reader.
 *
 */






/* 
 * End of information copied from init.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* init has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for init 
 */ 
struct init { 
    struct {
	struct basicobject_methods *init_methods;
    } header;
        struct keys *keys;
        struct menus *menus;
        struct keystateList *usedKeystates;
	struct mlList *usedMenus;
	struct children *kids;
	struct init *parent;
	int version;

};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef init_PROGRAMMERVERSION
#define init_PROGRAMMERVERSION 1
#endif /* init_PROGRAMMERVERSION */

#ifdef init_VERSION
#undef init_VERSION
#endif /* init_VERSION */
#define init_VERSION ((((init_PROGRAMMERVERSION << 16) ^ (8 << 8) ^ sizeof(struct init)) & 0x7ffff) + 0x80000 + (1 << 20))


#endif /* class_StaticInfoOnly */
#define init_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *init__GetClassInfo(); \
 extern struct classheader *init_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, init_classheader_StaticExport->name, init__GetClassInfo, NULL, init_classheader_StaticExport->namekey); } 
 
#define init_StaticLoad()  \
    { \
    init_StaticLoadOnlyThisClass();  \
    } 
 
#define init_StaticEntry  {init_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader init_classheader = {
    init_VERSION,
    "init",
    "init",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define init_CLASSPROCEDURES (init_classheader.classprocedures)
int init_classref_;
#endif /* class_StaticInfoOnly */

#endif /* init_DEFINED */

#if !defined(init_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_init) && !defined(class_StaticEntriesOnly)
#define init_ROUTINESDEFINED

#define init_ModifyMenulist(self,ml) \
    ((* ((struct menulist * (*)())((self)->header.init_methods->routines[0]))) (self,ml))
#define init_ModifyKeystate(self,ks) \
    ((* ((struct keystate * (*)())((self)->header.init_methods->routines[1]))) (self,ks))
#define init_Duplicate(self) \
    ((* ((struct init * (*)())((self)->header.init_methods->routines[2]))) (self))
#define init_Load(self,filename,errorProc,errorRock,executeImmediately) \
    ((* ((int (*)())((self)->header.init_methods->routines[3]))) (self,filename,errorProc,errorRock,executeImmediately))
#define init_AddKeyBinding(self,class,inherit,keymap) \
    ((* ((void (*)())((self)->header.init_methods->routines[4]))) (self,class,inherit,keymap))
#define init_DeleteKeyBinding(self,class,inherit,keymap) \
    ((* ((void (*)())((self)->header.init_methods->routines[5]))) (self,class,inherit,keymap))
#define init_AddMenuBinding(self,class,inherit,menulist) \
    ((* ((void (*)())((self)->header.init_methods->routines[6]))) (self,class,inherit,menulist))
#define init_DeleteMenuBinding(self,class,inherit,menulist) \
    ((* ((void (*)())((self)->header.init_methods->routines[7]))) (self,class,inherit,menulist))

#define init_NewFromObject(self) \
    ((* ((struct init * (*)())((self)->header.init_methods->info->procs->routines[0]))) (&init_classheader, (self)->header.init_methods->info->versionnumber))
#define init_New() \
    (*((struct init * (*)()) (init_CLASSPROCEDURES->routines[0])))(&init_classheader,init_VERSION)
#define init_Initialize(self) \
    (*((void (*)()) (init_CLASSPROCEDURES->routines[2])))(&init_classheader,self, init_VERSION)

#define init_Destroy(self) \
    ((* ((void (*)()) ((self)->header.init_methods->info->procs->routines[1]))) (&init_classheader, self))
#define init_Finalize(self) \
    (*((void (*)()) (init_CLASSPROCEDURES->routines[3])))(&init_classheader,self)

#define init_InitializeObject() \
    (*((boolean (*)()) (init_CLASSPROCEDURES->routines[5])))(&init_classheader)
#define init_FinalizeObject(self) \
    (*((void (*)()) (init_CLASSPROCEDURES->routines[6])))(&init_classheader,self)


#endif /* !defined(init_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_init ) && !defined(class_StaticEntriesOnly)*/

