 
#ifndef prefedapp_DEFINED
#define prefedapp_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 prefeda.ch and will be
 * overwritten.  Make changes to prefeda.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from prefeda.ch.
 */ 
 
/* Copyright 1992 Carnegie Mellon University All rights reserved.
  $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.
 *  $
 */


/* Dummy class so we can have the preferences editor called prefed without query replacing all the source files which reference prefs. */






/* 
 * End of information copied from prefeda.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
#define dontDefineRoutinesFor_ezapp
#include "eza.ih"
#undef dontDefineRoutinesFor_ezapp

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for prefedapp 
 */ 
struct prefedapp { 
    union {
	struct basicobject_methods *prefedapp_methods;
	struct application application;
	struct ezapp ezapp;
    } header;
};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef prefedapp_PROGRAMMERVERSION
#define prefedapp_PROGRAMMERVERSION 1
#endif /* prefedapp_PROGRAMMERVERSION */

#ifdef prefedapp_VERSION
#undef prefedapp_VERSION
#endif /* prefedapp_VERSION */
#define prefedapp_VERSION ((((prefedapp_PROGRAMMERVERSION << 16) ^ (7 << 8) ^ sizeof(struct prefedapp)) & 0x7ffff) + 0x80000 + (1 << 20))


#endif /* class_StaticInfoOnly */
#define prefedapp_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *prefedapp__GetClassInfo(); \
 extern struct classheader *prefeda_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, prefeda_classheader_StaticExport->name, prefedapp__GetClassInfo, NULL, prefeda_classheader_StaticExport->namekey); } 
 
#define prefedapp_StaticLoad()  \
    { \
    ezapp_StaticLoad(); \
    prefedapp_StaticLoadOnlyThisClass();  \
    } 
 
#define prefedapp_StaticEntry  {prefedapp_StaticLoad()} 
 
#define prefeda_StaticEntry  {prefedapp_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader prefedapp_classheader = {
    prefedapp_VERSION,
    "prefedapp",
    "prefeda",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define prefedapp_CLASSPROCEDURES (prefedapp_classheader.classprocedures)
int prefeda_classref_;
#endif /* class_StaticInfoOnly */

#endif /* prefedapp_DEFINED */

#if !defined(prefedapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_prefedapp) && !defined(class_StaticEntriesOnly)
#define prefedapp_ROUTINESDEFINED

#define prefedapp_ParseArgs(self,argc,argv) \
    ((* ((boolean (*)())((self)->header.prefedapp_methods->routines[0]))) (self,argc,argv))
#define prefedapp_ReadInitFile(self) \
    ((* ((void (*)())((self)->header.prefedapp_methods->routines[1]))) (self))
#define prefedapp_Start(self) \
    ((* ((boolean (*)())((self)->header.prefedapp_methods->routines[2]))) (self))
#define prefedapp_Run(self) \
    ((* ((int (*)())((self)->header.prefedapp_methods->routines[3]))) (self))
#define prefedapp_Stop(self) \
    ((* ((void (*)())((self)->header.prefedapp_methods->routines[4]))) (self))
#define prefedapp_Fork(self) \
    ((* ((boolean (*)())((self)->header.prefedapp_methods->routines[5]))) (self))
#define prefedapp_PrintVersionNumber(self) \
    ((* ((void (*)())((self)->header.prefedapp_methods->routines[6]))) (self))
#define prefedapp_SetFork(self,do) \
 ((&(self)->header.application)->fork=(do))
#define prefedapp_GetFork(self) \
 ((&(self)->header.application)->fork)
#define prefedapp_SetName(self,str) \
 ((&(self)->header.application)->name=(str))
#define prefedapp_GetName(self) \
 ((&(self)->header.application)->name)
#define prefedapp_SetForceLoad(self,f) \
 (((&(self)->header.application))->forceload=(f))
#define prefedapp_GetForceLoad(self) \
 (((&(self)->header.application))->forceload)
#define prefedapp_SetErrorProc(self,p) \
 (((&(self)->header.application))->errorProc=(p))
#define prefedapp_GetErrorProc(self) \
 (((&(self)->header.application))->errorProc)
#define prefedapp_SetErrorRock(self,r) \
 (((&(self)->header.application))->errorRock=(r))
#define prefedapp_GetErrorRock(self) \
 (((&(self)->header.application))->errorRock)
#define prefedapp_SetMajorVersion(self,mv) \
 (((&(self)->header.application))->majorversion=(mv))
#define prefedapp_GetMajorVersion(self) \
 (((&(self)->header.application))->majorversion)
#define prefedapp_SetMinorVersion(self,mv) \
 (((&(self)->header.application))->minorversion=(mv))
#define prefedapp_GetMinorVersion(self) \
 (((&(self)->header.application))->minorversion)
#define prefedapp_SetPrintVersionFlag(self,TorF) \
 (((&(self)->header.application))->printversioninfo=(TorF))
#define prefedapp_GetPrintVersionFlag(self) \
 (((&(self)->header.application))->printversioninfo)
#define prefedapp_SetIconic(self,val) \
 (((&(self)->header.application))->iconic=(val))
#define prefedapp_GetIconic(self) \
 (((&(self)->header.application))->iconic)

#define prefedapp_NewFromObject(self) \
    ((* ((struct prefedapp * (*)())((self)->header.prefedapp_methods->info->procs->routines[0]))) (&prefedapp_classheader, (self)->header.prefedapp_methods->info->versionnumber))
#define prefedapp_New() \
    (*((struct prefedapp * (*)()) (prefedapp_CLASSPROCEDURES->routines[0])))(&prefedapp_classheader,prefedapp_VERSION)
#define prefedapp_Initialize(self) \
    (*((void (*)()) (prefedapp_CLASSPROCEDURES->routines[2])))(&prefedapp_classheader,self, prefedapp_VERSION)

#define prefedapp_Destroy(self) \
    ((* ((void (*)()) ((self)->header.prefedapp_methods->info->procs->routines[1]))) (&prefedapp_classheader, self))
#define prefedapp_Finalize(self) \
    (*((void (*)()) (prefedapp_CLASSPROCEDURES->routines[3])))(&prefedapp_classheader,self)

#define prefedapp_InitializeObject(self) \
    (*((boolean (*)()) (prefedapp_CLASSPROCEDURES->routines[5])))(&prefedapp_classheader,self)
#define prefedapp_FinalizeObject(self) \
    (*((void (*)()) (prefedapp_CLASSPROCEDURES->routines[6])))(&prefedapp_classheader,self)


#endif /* !defined(prefedapp_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_prefedapp ) && !defined(class_StaticEntriesOnly)*/

