 
#ifndef ezdiff_DEFINED
#define ezdiff_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 ezdiff.ch and will be
 * overwritten.  Make changes to ezdiff.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from ezdiff.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 ezdiff.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
#define dontDefineRoutinesFor_observable
#include "observe.ih"
#undef dontDefineRoutinesFor_observable

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for ezdiff 
 */ 
struct ezdiff { 
    union {
	struct basicobject_methods *ezdiff_methods;
	struct traced traced;
	struct observable observable;
    } header;
      struct mark **m1;
      struct mark **m2;
      struct buffer *buf[2];
      char *bname[2];
      int numbufs;
      int nummarks;
      int cmark;
      struct ezdiff *next;

};

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

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef ezdiff_PROGRAMMERVERSION
#define ezdiff_PROGRAMMERVERSION 1
#endif /* ezdiff_PROGRAMMERVERSION */

#ifdef ezdiff_VERSION
#undef ezdiff_VERSION
#endif /* ezdiff_VERSION */
#define ezdiff_VERSION ((((ezdiff_PROGRAMMERVERSION << 16) ^ (11 << 8) ^ sizeof(struct ezdiff)) & 0x7ffff) + 0x80000 + (66 << 20))


#endif /* class_StaticInfoOnly */
#define ezdiff_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *ezdiff__GetClassInfo(); \
 extern struct classheader *ezdiff_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, ezdiff_classheader_StaticExport->name, ezdiff__GetClassInfo, NULL, ezdiff_classheader_StaticExport->namekey); } 
 
#define ezdiff_StaticLoad()  \
    { \
    observable_StaticLoad(); \
    ezdiff_StaticLoadOnlyThisClass();  \
    } 
 
#define ezdiff_StaticEntry  {ezdiff_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader ezdiff_classheader = {
    ezdiff_VERSION,
    "ezdiff",
    "ezdiff",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define ezdiff_CLASSPROCEDURES (ezdiff_classheader.classprocedures)
int ezdiff_classref_;
#endif /* class_StaticInfoOnly */

#endif /* ezdiff_DEFINED */

#if !defined(ezdiff_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_ezdiff) && !defined(class_StaticEntriesOnly)
#define ezdiff_ROUTINESDEFINED

#define ezdiff_Reference(self) \
 (((&(self)->header.traced))->refcount++)
#define ezdiff_UnReference(self) \
 ((((&(self)->header.traced))->refcount>0)?((&(self)->header.traced))->refcount--:0)
#define ezdiff_ReferenceCount(self) \
 (((&(self)->header.traced))->refcount)
#define ezdiff_AddObserver(self,observer) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[0]))) (self,observer))
#define ezdiff_IsObserver(self,observer) \
    ((* ((boolean (*)())((self)->header.ezdiff_methods->routines[1]))) (self,observer))
#define ezdiff_RemoveObserver(self,observer) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[2]))) (self,observer))
#define ezdiff_NotifyObservers(self,value) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[3]))) (self,value))
#define ezdiff_ObservedChanged(self,changed,value) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[4]))) (self,changed,value))
#define ezdiff_AddRecipient(self,trigger,rcvr,func,rock) \
    ((* ((boolean (*)())((self)->header.ezdiff_methods->routines[5]))) (self,trigger,rcvr,func,rock))
#define ezdiff_DeleteRecipient(self,trigger,rcvr) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[6]))) (self,trigger,rcvr))
#define ezdiff_PullTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[7]))) (self,trigger))
#define ezdiff_DisableTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[8]))) (self,trigger))
#define ezdiff_EnableTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.ezdiff_methods->routines[9]))) (self,trigger))
#define ezdiff_DisableCount(self,trigger) \
    ((* ((long (*)())((self)->header.ezdiff_methods->routines[10]))) (self,trigger))

#define ezdiff_NewFromObject(self) \
    ((* ((struct ezdiff * (*)())((self)->header.ezdiff_methods->info->procs->routines[0]))) (&ezdiff_classheader, (self)->header.ezdiff_methods->info->versionnumber))
#define ezdiff_New() \
    (*((struct ezdiff * (*)()) (ezdiff_CLASSPROCEDURES->routines[0])))(&ezdiff_classheader,ezdiff_VERSION)
#define ezdiff_Initialize(self) \
    (*((void (*)()) (ezdiff_CLASSPROCEDURES->routines[2])))(&ezdiff_classheader,self, ezdiff_VERSION)

#define ezdiff_Destroy(self) \
    ((* ((void (*)()) ((self)->header.ezdiff_methods->info->procs->routines[1]))) (&ezdiff_classheader, self))
#define ezdiff_Finalize(self) \
    (*((void (*)()) (ezdiff_CLASSPROCEDURES->routines[3])))(&ezdiff_classheader,self)

#define ezdiff_InitializeObject(self) \
    (*((boolean (*)()) (ezdiff_CLASSPROCEDURES->routines[5])))(&ezdiff_classheader,self)
#define ezdiff_FinalizeObject() \
    (*((void (*)()) (ezdiff_CLASSPROCEDURES->routines[6])))(&ezdiff_classheader)
#define ezdiff_InitializeClass() \
    (*((boolean (*)()) (ezdiff_CLASSPROCEDURES->routines[7])))(&ezdiff_classheader)
#define ezdiff_Create(buf1,buf2,ignoreblanks) \
    (*((struct ezdiff * (*)()) (ezdiff_CLASSPROCEDURES->routines[8])))(&ezdiff_classheader,buf1,buf2,ignoreblanks)


#endif /* !defined(ezdiff_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_ezdiff ) && !defined(class_StaticEntriesOnly)*/

