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

/* user code begins here for HeaderInfo */
/* user code ends here for HeaderInfo */






/* 
 * End of information copied from arbcon.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
#define dontDefineRoutinesFor_observable
#include "observe.ih"
#undef dontDefineRoutinesFor_observable

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for arbcon 
 */ 
struct arbcon { 
    union {
	struct basicobject_methods *arbcon_methods;
	struct traced traced;
	struct observable observable;
    } header;
	struct value *ArbLinkCel;
	struct onoffV *ArbLinkCelView;
	struct value *ArbCutCel;
	struct buttonV *ArbCutCelView;
	struct value *ArbApplicationChoice;
	struct onoffV *ArbApplicationChoiceView;
	struct value *Arbobviewlist;
	struct clicklistV *ArbobviewlistView;
	struct value *ArbTextEdit;
	struct menterstrV *ArbTextEditView;
/* user code begins here for classdata */
	struct celview *currentcelview;
	struct arbiterview *CurrentArbiterview;
	int obcount,vwcount;
	int obsize,vwsize,celsize,celnamesize,NeedsInit;
	char **obnamelist, **vwlist,buf[256];
	struct cel *cl;
	char *arr; 
	long arrlen;
	struct view *overlay;
 	struct text *ArbCelList;
 	struct cltextview *ArbCelListView;
 	struct text *ArbArbList;
 	char *ArbiterName;
 	char *ObjectName;
 	char *ViewName;

/* user code ends here for classdata */
	struct view *v;
	struct arbiterview *arbv;
	struct arbcon *next;

};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef arbcon_PROGRAMMERVERSION
#define arbcon_PROGRAMMERVERSION 1
#endif /* arbcon_PROGRAMMERVERSION */

#ifdef arbcon_VERSION
#undef arbcon_VERSION
#endif /* arbcon_VERSION */
#define arbcon_VERSION ((((arbcon_PROGRAMMERVERSION << 16) ^ (11 << 8) ^ sizeof(struct arbcon)) & 0x7ffff) + 0x80000 + (67 << 20))


#endif /* class_StaticInfoOnly */
#define arbcon_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *arbcon__GetClassInfo(); \
 extern struct classheader *arbcon_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, arbcon_classheader_StaticExport->name, arbcon__GetClassInfo, NULL, arbcon_classheader_StaticExport->namekey); } 
 
#define arbcon_StaticLoad()  \
    { \
    observable_StaticLoad(); \
    arbcon_StaticLoadOnlyThisClass();  \
    } 
 
#define arbcon_StaticEntry  {arbcon_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader arbcon_classheader = {
    arbcon_VERSION,
    "arbcon",
    "arbcon",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define arbcon_CLASSPROCEDURES (arbcon_classheader.classprocedures)
int arbcon_classref_;
#endif /* class_StaticInfoOnly */

#endif /* arbcon_DEFINED */

#if !defined(arbcon_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_arbcon) && !defined(class_StaticEntriesOnly)
#define arbcon_ROUTINESDEFINED

#define arbcon_Reference(self) \
 (((&(self)->header.traced))->refcount++)
#define arbcon_UnReference(self) \
 ((((&(self)->header.traced))->refcount>0)?((&(self)->header.traced))->refcount--:0)
#define arbcon_ReferenceCount(self) \
 (((&(self)->header.traced))->refcount)
#define arbcon_AddObserver(self,observer) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[0]))) (self,observer))
#define arbcon_IsObserver(self,observer) \
    ((* ((boolean (*)())((self)->header.arbcon_methods->routines[1]))) (self,observer))
#define arbcon_RemoveObserver(self,observer) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[2]))) (self,observer))
#define arbcon_NotifyObservers(self,value) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[3]))) (self,value))
#define arbcon_ObservedChanged(self,changed,value) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[4]))) (self,changed,value))
#define arbcon_AddRecipient(self,trigger,rcvr,func,rock) \
    ((* ((boolean (*)())((self)->header.arbcon_methods->routines[5]))) (self,trigger,rcvr,func,rock))
#define arbcon_DeleteRecipient(self,trigger,rcvr) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[6]))) (self,trigger,rcvr))
#define arbcon_PullTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[7]))) (self,trigger))
#define arbcon_DisableTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[8]))) (self,trigger))
#define arbcon_EnableTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.arbcon_methods->routines[9]))) (self,trigger))
#define arbcon_DisableCount(self,trigger) \
    ((* ((long (*)())((self)->header.arbcon_methods->routines[10]))) (self,trigger))

#define arbcon_NewFromObject(self) \
    ((* ((struct arbcon * (*)())((self)->header.arbcon_methods->info->procs->routines[0]))) (&arbcon_classheader, (self)->header.arbcon_methods->info->versionnumber))
#define arbcon_New() \
    (*((struct arbcon * (*)()) (arbcon_CLASSPROCEDURES->routines[0])))(&arbcon_classheader,arbcon_VERSION)
#define arbcon_Initialize(self) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[2])))(&arbcon_classheader,self, arbcon_VERSION)

#define arbcon_Destroy(self) \
    ((* ((void (*)()) ((self)->header.arbcon_methods->info->procs->routines[1]))) (&arbcon_classheader, self))
#define arbcon_Finalize(self) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[3])))(&arbcon_classheader,self)

#define arbcon_InitializeObject(self) \
    (*((boolean (*)()) (arbcon_CLASSPROCEDURES->routines[5])))(&arbcon_classheader,self)
#define arbcon_FinalizeObject(self) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[6])))(&arbcon_classheader,self)
#define arbcon_InitializeClass() \
    (*((boolean (*)()) (arbcon_CLASSPROCEDURES->routines[7])))(&arbcon_classheader)
#define arbcon_AddCel(arb,cl,notify) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[8])))(&arbcon_classheader,arb,cl,notify)
#define arbcon_currentcelview() \
    (*((struct celview * (*)()) (arbcon_CLASSPROCEDURES->routines[9])))(&arbcon_classheader)
#define arbcon_SetCurrentCelview(cv) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[10])))(&arbcon_classheader,cv)
#define arbcon_DeleteCelview(arb,cv) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[11])))(&arbcon_classheader,arb,cv)
#define arbcon_EditCurrentCelview() \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[12])))(&arbcon_classheader)
#define arbcon_SaveCurrentCelview() \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[13])))(&arbcon_classheader)
#define arbcon_DestroyCurrentCelview() \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[14])))(&arbcon_classheader)
#define arbcon_SetCurrentArbiterview(ab) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[15])))(&arbcon_classheader,ab)
#define arbcon_DeleteArbiter(arb) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[16])))(&arbcon_classheader,arb)
#define arbcon_AddArbiter(arb) \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[17])))(&arbcon_classheader,arb)
#define arbcon_InitCel(cv,abv) \
    (*((boolean (*)()) (arbcon_CLASSPROCEDURES->routines[18])))(&arbcon_classheader,cv,abv)
#define arbcon_InitArbiters() \
    (*((void (*)()) (arbcon_CLASSPROCEDURES->routines[19])))(&arbcon_classheader)


#endif /* !defined(arbcon_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_arbcon ) && !defined(class_StaticEntriesOnly)*/

