home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK4.DSK
/
IDODOOD.IH
< prev
next >
Wrap
Text File
|
1994-10-07
|
42KB
|
1,175 lines
/*
* This file was generated by the SOM Compiler.
* FileName: ..\..\pentkt\h\idodood.ih.
* Generated using:
* SOM Precompiler somipc: 2.7
* SOM Emitter emitih: 2.22
*/
#ifndef SOM_IDODoodle_ih
#define SOM_IDODoodle_ih
#pragma checkout(suspend)
/*
* Passthru lines: File: "C.ih", "before"
*/
#include <idocomm.h>
#include <idoinker.h>
#include <idodood.h>
/*
* Set the scope of methods functions
*/
#ifndef SOM_Scope
#ifdef __cplusplus
#define SOM_Scope extern "C"
#else
#define SOM_Scope extern
#endif /* __cplusplus */
#endif /* SOM_Scope */
#ifndef SOM_CurrentClass
#define SOM_CurrentClass IDODoodleCClassData.parentMtab
#endif /* SOM_CurrentClass */
#define IDODoodle_MaxNoMethods 16
/*
* Instance data
*/
typedef void IDODoodleData;
/*
* Begin stuff that only goes in the primary file
*/
#if (defined(IDODoodle_Class_Source) || defined(SOM_Module_idodood_Source))
/*
* Trace/Debug macro
*/
#ifndef IDODoodleMethodDebug
#define IDODoodleMethodDebug(c,m) SOMMethodDebug(c,m)
#endif /* IDODoodleMethodDebug */
/*
* Current class macros for Instance and Meta classes.
*/
#undef SOMMeta
#define SOMMeta M_IDODoodleCClassData.parentMtab
#undef SOMInstance
#define SOMInstance IDODoodleCClassData.parentMtab
#ifndef M_IDODoodle_Class_Source
#define M_IDODoodle_Class_Source
#endif /* M_IDODoodle_Class_Source */
/*
* Generate the Apply Stubs.
*/
#pragma linkage(somAP_IDODoodleidoFreeStrokes, system)
static void SOMLINK somAP_IDODoodleidoFreeStrokes(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
SOM_IgnoreWarning(__ap);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoFreeStrokes) __methodPtr) (somSelf, ev);
}
#pragma linkage(somAP_IDODoodleidoIntersectsRect, system)
static void SOMLINK somAP_IDODoodleidoIntersectsRect(IDODoodle *somSelf,
BOOL *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
PRECTL pTargetRect = va_arg(__ap, PRECTL);
*__retVal = ((somTD_IDODoodle_idoIntersectsRect) __methodPtr) (somSelf, ev, pTargetRect);
}
#pragma linkage(somAP_IDODoodleidoInvalidate, system)
static void SOMLINK somAP_IDODoodleidoInvalidate(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
HWND hWnd = va_arg(__ap, HWND);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoInvalidate) __methodPtr) (somSelf, ev, hWnd);
}
#pragma linkage(somAP_IDODoodleidoRemove, system)
static void SOMLINK somAP_IDODoodleidoRemove(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
IDOStroke* pStrokeObject = va_arg(__ap, IDOStroke*);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoRemove) __methodPtr) (somSelf, ev, pStrokeObject);
}
#pragma linkage(somAP_IDODoodleidoRemoveAll, system)
static void SOMLINK somAP_IDODoodleidoRemoveAll(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
SOM_IgnoreWarning(__ap);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoRemoveAll) __methodPtr) (somSelf, ev);
}
#pragma linkage(somAP_IDODoodleidoRemoveFirst, system)
static void SOMLINK somAP_IDODoodleidoRemoveFirst(IDODoodle *somSelf,
IDOStroke* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
SOM_IgnoreWarning(__ap);
*__retVal = ((somTD_IDODoodle_idoRemoveFirst) __methodPtr) (somSelf, ev);
}
#pragma linkage(somAP_IDODoodleidoRemoveLast, system)
static void SOMLINK somAP_IDODoodleidoRemoveLast(IDODoodle *somSelf,
IDOStroke* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
SOM_IgnoreWarning(__ap);
*__retVal = ((somTD_IDODoodle_idoRemoveLast) __methodPtr) (somSelf, ev);
}
#pragma linkage(somAP_IDODoodleidoAddBefore, system)
static void SOMLINK somAP_IDODoodleidoAddBefore(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
IDOStroke* pStrokeObject = va_arg(__ap, IDOStroke*);
IDOStroke* pNewStrokeObject = va_arg(__ap, IDOStroke*);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoAddBefore) __methodPtr) (somSelf, ev, pStrokeObject,pNewStrokeObject);
}
#pragma linkage(somAP_IDODoodleidoAddAfter, system)
static void SOMLINK somAP_IDODoodleidoAddAfter(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
IDOStroke* pStrokeObject = va_arg(__ap, IDOStroke*);
IDOStroke* pNewStrokeObject = va_arg(__ap, IDOStroke*);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoAddAfter) __methodPtr) (somSelf, ev, pStrokeObject,pNewStrokeObject);
}
#pragma linkage(somAP_IDODoodleidoAddFirst, system)
static void SOMLINK somAP_IDODoodleidoAddFirst(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
IDOStroke* pStrokeObject = va_arg(__ap, IDOStroke*);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoAddFirst) __methodPtr) (somSelf, ev, pStrokeObject);
}
#pragma linkage(somAP_IDODoodleidoAddLast, system)
static void SOMLINK somAP_IDODoodleidoAddLast(IDODoodle *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
IDOStroke* pStrokeObject = va_arg(__ap, IDOStroke*);
SOM_IgnoreWarning(__retVal);
((somTD_IDODoodle_idoAddLast) __methodPtr) (somSelf, ev, pStrokeObject);
}
#pragma linkage(somAP_IDODoodleidoBefore, system)
static void SOMLINK somAP_IDODoodleidoBefore(IDODoodle *somSelf,
IDOStroke* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
IDOStroke* pStroke = va_arg(__ap, IDOStroke*);
*__retVal = ((somTD_IDODoodle_idoBefore) __methodPtr) (somSelf, ev, pStroke);
}
#pragma linkage(somAP_IDODoodleidoAfter, system)
static void SOMLINK somAP_IDODoodleidoAfter(IDODoodle *somSelf,
IDOStroke* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
IDOStroke* pStroke = va_arg(__ap, IDOStroke*);
*__retVal = ((somTD_IDODoodle_idoAfter) __methodPtr) (somSelf, ev, pStroke);
}
#pragma linkage(somAP_IDODoodleidoFirst, system)
static void SOMLINK somAP_IDODoodleidoFirst(IDODoodle *somSelf,
IDOStroke* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
SOM_IgnoreWarning(__ap);
*__retVal = ((somTD_IDODoodle_idoFirst) __methodPtr) (somSelf, ev);
}
#pragma linkage(somAP_IDODoodleidoLast, system)
static void SOMLINK somAP_IDODoodleidoLast(IDODoodle *somSelf,
IDOStroke* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
SOM_IgnoreWarning(__ap);
*__retVal = ((somTD_IDODoodle_idoLast) __methodPtr) (somSelf, ev);
}
#pragma linkage(somAP_IDODoodleidoGetStrokeFromSeq, system)
static void SOMLINK somAP_IDODoodleidoGetStrokeFromSeq(IDODoodle *somSelf,
IDOStroke* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
void *__somSelf = va_arg(__ap, void*);
Environment *ev = va_arg(__ap, Environment*);
ULONG ulSeq = va_arg(__ap, ULONG);
*__retVal = ((somTD_IDODoodle_idoGetStrokeFromSeq) __methodPtr) (somSelf, ev, ulSeq);
}
/*
* Overridden method: somInit
*/
#pragma linkage(IDODoodlesomInit, system)
SOM_Scope void SOMLINK IDODoodlesomInit(IDODoodle *somSelf);
#ifndef somMN_somInit_defined
#define somMN_somInit_defined
static char *somMN_somInit = "somInit";
static somId somId_somInit = &somMN_somInit;
#endif /* somMN_somInit_defined */
#define IDODoodle_parent_IDOCommon_somInit(somSelf) \
((SOM_ParentNumResolve(SOMObject, 1, IDODoodleCClassData.parentMtab, somInit)) \
(somSelf))
#ifndef SOMGD_pmc_IDOCommon_somInit
#ifdef parent_IDOCommon_somInit
#undef parent_IDOCommon_somInit
#define SOMGD_pmc_IDOCommon_somInit 1
#else
#define parent_IDOCommon_somInit IDODoodle_parent_IDOCommon_somInit
#endif /* parent_IDOCommon_somInit */
#endif /* SOMGD_pmc_IDOCommon_somInit */
#ifndef parent_somInit
#define parent_somInit(somSelf) \
((SOM_ParentNumResolve(SOMObject, 1, SOM_CurrentClass, somInit)) \
(somSelf))
#endif /* parent_somInit */
#define IDODoodle_parents_somInit(arg0) \
(void) IDODoodle_parent_IDOCommon_somInit(arg0);
/*
* Overridden method: somUninit
*/
#pragma linkage(IDODoodlesomUninit, system)
SOM_Scope void SOMLINK IDODoodlesomUninit(IDODoodle *somSelf);
#ifndef somMN_somUninit_defined
#define somMN_somUninit_defined
static char *somMN_somUninit = "somUninit";
static somId somId_somUninit = &somMN_somUninit;
#endif /* somMN_somUninit_defined */
#define IDODoodle_parent_IDOCommon_somUninit(somSelf) \
((SOM_ParentNumResolve(SOMObject, 1, IDODoodleCClassData.parentMtab, somUninit)) \
(somSelf))
#ifndef SOMGD_pmc_IDOCommon_somUninit
#ifdef parent_IDOCommon_somUninit
#undef parent_IDOCommon_somUninit
#define SOMGD_pmc_IDOCommon_somUninit 1
#else
#define parent_IDOCommon_somUninit IDODoodle_parent_IDOCommon_somUninit
#endif /* parent_IDOCommon_somUninit */
#endif /* SOMGD_pmc_IDOCommon_somUninit */
#ifndef parent_somUninit
#define parent_somUninit(somSelf) \
((SOM_ParentNumResolve(SOMObject, 1, SOM_CurrentClass, somUninit)) \
(somSelf))
#endif /* parent_somUninit */
#define IDODoodle_parents_somUninit(arg0) \
(void) IDODoodle_parent_IDOCommon_somUninit(arg0);
/*
* Overridden method: idoDraw
*/
#pragma linkage(IDODoodleidoDraw, system)
SOM_Scope void SOMLINK IDODoodleidoDraw(IDODoodle *somSelf, Environment *ev,
HPS hps);
#ifndef somMN_idoDraw_defined
#define somMN_idoDraw_defined
static char *somMN_idoDraw = "idoDraw";
static somId somId_idoDraw = &somMN_idoDraw;
#endif /* somMN_idoDraw_defined */
#define IDODoodle_parent_IDOCommon_idoDraw(somSelf,ev,hps) \
((SOM_ParentNumResolve(IDOCommon, 1, IDODoodleCClassData.parentMtab, idoDraw)) \
(somSelf,ev,hps))
#ifndef SOMGD_pmc_IDOCommon_idoDraw
#ifdef parent_IDOCommon_idoDraw
#undef parent_IDOCommon_idoDraw
#define SOMGD_pmc_IDOCommon_idoDraw 1
#else
#define parent_IDOCommon_idoDraw IDODoodle_parent_IDOCommon_idoDraw
#endif /* parent_IDOCommon_idoDraw */
#endif /* SOMGD_pmc_IDOCommon_idoDraw */
#ifndef parent_idoDraw
#define parent_idoDraw(somSelf,ev,hps) \
((SOM_ParentNumResolve(IDOCommon, 1, SOM_CurrentClass, idoDraw)) \
(somSelf,ev,hps))
#endif /* parent_idoDraw */
#define IDODoodle_parents_idoDraw(arg0,arg1) \
(void) IDODoodle_parent_IDOCommon_idoDraw(arg0,arg1);
/*
* Overridden method: idoInkerDraw
*/
#pragma linkage(IDODoodleidoInkerDraw, system)
SOM_Scope void SOMLINK IDODoodleidoInkerDraw(IDODoodle *somSelf, Environment *ev,
IDOInker* pInkerObject);
#ifndef somMN_idoInkerDraw_defined
#define somMN_idoInkerDraw_defined
static char *somMN_idoInkerDraw = "idoInkerDraw";
static somId somId_idoInkerDraw = &somMN_idoInkerDraw;
#endif /* somMN_idoInkerDraw_defined */
#define IDODoodle_parent_IDOCommon_idoInkerDraw(somSelf,ev,pInkerObject) \
((SOM_ParentNumResolve(IDOCommon, 1, IDODoodleCClassData.parentMtab, idoInkerDraw)) \
(somSelf,ev,pInkerObject))
#ifndef SOMGD_pmc_IDOCommon_idoInkerDraw
#ifdef parent_IDOCommon_idoInkerDraw
#undef parent_IDOCommon_idoInkerDraw
#define SOMGD_pmc_IDOCommon_idoInkerDraw 1
#else
#define parent_IDOCommon_idoInkerDraw IDODoodle_parent_IDOCommon_idoInkerDraw
#endif /* parent_IDOCommon_idoInkerDraw */
#endif /* SOMGD_pmc_IDOCommon_idoInkerDraw */
#ifndef parent_idoInkerDraw
#define parent_idoInkerDraw(somSelf,ev,pInkerObject) \
((SOM_ParentNumResolve(IDOCommon, 1, SOM_CurrentClass, idoInkerDraw)) \
(somSelf,ev,pInkerObject))
#endif /* parent_idoInkerDraw */
#define IDODoodle_parents_idoInkerDraw(arg0,arg1) \
(void) IDODoodle_parent_IDOCommon_idoInkerDraw(arg0,arg1);
/*
* Overridden method: idoGetBoundingBox
*/
#pragma linkage(IDODoodleidoGetBoundingBox, system)
SOM_Scope void SOMLINK IDODoodleidoGetBoundingBox(IDODoodle *somSelf, Environment *ev,
PRECTL pBoundBox);
#ifndef somMN_idoGetBoundingBox_defined
#define somMN_idoGetBoundingBox_defined
static char *somMN_idoGetBoundingBox = "idoGetBoundingBox";
static somId somId_idoGetBoundingBox = &somMN_idoGetBoundingBox;
#endif /* somMN_idoGetBoundingBox_defined */
#define IDODoodle_parent_IDOCommon_idoGetBoundingBox(somSelf,ev,pBoundBox) \
((SOM_ParentNumResolve(IDOCommon, 1, IDODoodleCClassData.parentMtab, idoGetBoundingBox)) \
(somSelf,ev,pBoundBox))
#ifndef SOMGD_pmc_IDOCommon_idoGetBoundingBox
#ifdef parent_IDOCommon_idoGetBoundingBox
#undef parent_IDOCommon_idoGetBoundingBox
#define SOMGD_pmc_IDOCommon_idoGetBoundingBox 1
#else
#define parent_IDOCommon_idoGetBoundingBox IDODoodle_parent_IDOCommon_idoGetBoundingBox
#endif /* parent_IDOCommon_idoGetBoundingBox */
#endif /* SOMGD_pmc_IDOCommon_idoGetBoundingBox */
#ifndef parent_idoGetBoundingBox
#define parent_idoGetBoundingBox(somSelf,ev,pBoundBox) \
((SOM_ParentNumResolve(IDOCommon, 1, SOM_CurrentClass, idoGetBoundingBox)) \
(somSelf,ev,pBoundBox))
#endif /* parent_idoGetBoundingBox */
#define IDODoodle_parents_idoGetBoundingBox(arg0,arg1) \
(void) IDODoodle_parent_IDOCommon_idoGetBoundingBox(arg0,arg1);
/*
* Overridden method: idoSetInkAttr
*/
#pragma linkage(IDODoodleidoSetInkAttr, system)
SOM_Scope void SOMLINK IDODoodleidoSetInkAttr(IDODoodle *somSelf, Environment *ev,
IDOInkAttr* pInkAttrObject);
#ifndef somMN_idoSetInkAttr_defined
#define somMN_idoSetInkAttr_defined
static char *somMN_idoSetInkAttr = "idoSetInkAttr";
static somId somId_idoSetInkAttr = &somMN_idoSetInkAttr;
#endif /* somMN_idoSetInkAttr_defined */
#define IDODoodle_parent_IDOCommon_idoSetInkAttr(somSelf,ev,pInkAttrObject) \
((SOM_ParentNumResolve(IDOCommon, 1, IDODoodleCClassData.parentMtab, idoSetInkAttr)) \
(somSelf,ev,pInkAttrObject))
#ifndef SOMGD_pmc_IDOCommon_idoSetInkAttr
#ifdef parent_IDOCommon_idoSetInkAttr
#undef parent_IDOCommon_idoSetInkAttr
#define SOMGD_pmc_IDOCommon_idoSetInkAttr 1
#else
#define parent_IDOCommon_idoSetInkAttr IDODoodle_parent_IDOCommon_idoSetInkAttr
#endif /* parent_IDOCommon_idoSetInkAttr */
#endif /* SOMGD_pmc_IDOCommon_idoSetInkAttr */
#ifndef parent_idoSetInkAttr
#define parent_idoSetInkAttr(somSelf,ev,pInkAttrObject) \
((SOM_ParentNumResolve(IDOCommon, 1, SOM_CurrentClass, idoSetInkAttr)) \
(somSelf,ev,pInkAttrObject))
#endif /* parent_idoSetInkAttr */
#define IDODoodle_parents_idoSetInkAttr(arg0,arg1) \
(void) IDODoodle_parent_IDOCommon_idoSetInkAttr(arg0,arg1);
/*
* Overridden method: idoGetInkAttr
*/
#pragma linkage(IDODoodleidoGetInkAttr, system)
SOM_Scope IDOInkAttr* SOMLINK IDODoodleidoGetInkAttr(IDODoodle *somSelf, Environment *ev);
#ifndef somMN_idoGetInkAttr_defined
#define somMN_idoGetInkAttr_defined
static char *somMN_idoGetInkAttr = "idoGetInkAttr";
static somId somId_idoGetInkAttr = &somMN_idoGetInkAttr;
#endif /* somMN_idoGetInkAttr_defined */
#define IDODoodle_parent_IDOCommon_idoGetInkAttr(somSelf,ev) \
((SOM_ParentNumResolve(IDOCommon, 1, IDODoodleCClassData.parentMtab, idoGetInkAttr)) \
(somSelf,ev))
#ifndef SOMGD_pmc_IDOCommon_idoGetInkAttr
#ifdef parent_IDOCommon_idoGetInkAttr
#undef parent_IDOCommon_idoGetInkAttr
#define SOMGD_pmc_IDOCommon_idoGetInkAttr 1
#else
#define parent_IDOCommon_idoGetInkAttr IDODoodle_parent_IDOCommon_idoGetInkAttr
#endif /* parent_IDOCommon_idoGetInkAttr */
#endif /* SOMGD_pmc_IDOCommon_idoGetInkAttr */
#ifndef parent_idoGetInkAttr
#define parent_idoGetInkAttr(somSelf,ev) \
((SOM_ParentNumResolve(IDOCommon, 1, SOM_CurrentClass, idoGetInkAttr)) \
(somSelf,ev))
#endif /* parent_idoGetInkAttr */
#define IDODoodle_parents_idoGetInkAttr(arg0) \
(void) IDODoodle_parent_IDOCommon_idoGetInkAttr(arg0);
/*
* Overridden method: idoSetOffset
*/
#pragma linkage(IDODoodleidoSetOffset, system)
SOM_Scope void SOMLINK IDODoodleidoSetOffset(IDODoodle *somSelf, Environment *ev,
PPOINTL pPointl);
#ifndef somMN_idoSetOffset_defined
#define somMN_idoSetOffset_defined
static char *somMN_idoSetOffset = "idoSetOffset";
static somId somId_idoSetOffset = &somMN_idoSetOffset;
#endif /* somMN_idoSetOffset_defined */
#define IDODoodle_parent_IDOCommon_idoSetOffset(somSelf,ev,pPointl) \
((SOM_ParentNumResolve(IDOCommon, 1, IDODoodleCClassData.parentMtab, idoSetOffset)) \
(somSelf,ev,pPointl))
#ifndef SOMGD_pmc_IDOCommon_idoSetOffset
#ifdef parent_IDOCommon_idoSetOffset
#undef parent_IDOCommon_idoSetOffset
#define SOMGD_pmc_IDOCommon_idoSetOffset 1
#else
#define parent_IDOCommon_idoSetOffset IDODoodle_parent_IDOCommon_idoSetOffset
#endif /* parent_IDOCommon_idoSetOffset */
#endif /* SOMGD_pmc_IDOCommon_idoSetOffset */
#ifndef parent_idoSetOffset
#define parent_idoSetOffset(somSelf,ev,pPointl) \
((SOM_ParentNumResolve(IDOCommon, 1, SOM_CurrentClass, idoSetOffset)) \
(somSelf,ev,pPointl))
#endif /* parent_idoSetOffset */
#define IDODoodle_parents_idoSetOffset(arg0,arg1) \
(void) IDODoodle_parent_IDOCommon_idoSetOffset(arg0,arg1);
/*
* Overridden method: idoGetOffset
*/
#pragma linkage(IDODoodleidoGetOffset, system)
SOM_Scope void SOMLINK IDODoodleidoGetOffset(IDODoodle *somSelf, Environment *ev,
PPOINTL pPointl);
#ifndef somMN_idoGetOffset_defined
#define somMN_idoGetOffset_defined
static char *somMN_idoGetOffset = "idoGetOffset";
static somId somId_idoGetOffset = &somMN_idoGetOffset;
#endif /* somMN_idoGetOffset_defined */
#define IDODoodle_parent_IDOCommon_idoGetOffset(somSelf,ev,pPointl) \
((SOM_ParentNumResolve(IDOCommon, 1, IDODoodleCClassData.parentMtab, idoGetOffset)) \
(somSelf,ev,pPointl))
#ifndef SOMGD_pmc_IDOCommon_idoGetOffset
#ifdef parent_IDOCommon_idoGetOffset
#undef parent_IDOCommon_idoGetOffset
#define SOMGD_pmc_IDOCommon_idoGetOffset 1
#else
#define parent_IDOCommon_idoGetOffset IDODoodle_parent_IDOCommon_idoGetOffset
#endif /* parent_IDOCommon_idoGetOffset */
#endif /* SOMGD_pmc_IDOCommon_idoGetOffset */
#ifndef parent_idoGetOffset
#define parent_idoGetOffset(somSelf,ev,pPointl) \
((SOM_ParentNumResolve(IDOCommon, 1, SOM_CurrentClass, idoGetOffset)) \
(somSelf,ev,pPointl))
#endif /* parent_idoGetOffset */
#define IDODoodle_parents_idoGetOffset(arg0,arg1) \
(void) IDODoodle_parent_IDOCommon_idoGetOffset(arg0,arg1);
/*
* Initialize the class data structure
*/
struct IDODoodleClassDataStructure IDODoodleClassData = {(SOMAny *) NULL};
/*
* Define the C class data structure
*/
struct IDODoodleCClassDataStructure IDODoodleCClassData = {(somMethodTabs) NULL};
/*
* New Method: idoFreeStrokes
*/
#pragma linkage(IDODoodleidoFreeStrokes, system)
SOM_Scope void SOMLINK IDODoodleidoFreeStrokes(IDODoodle *somSelf, Environment *ev);
#ifndef somMN_idoFreeStrokes_defined
#define somMN_idoFreeStrokes_defined
static char *somMN_idoFreeStrokes = "idoFreeStrokes";
static somId somId_idoFreeStrokes = &somMN_idoFreeStrokes;
#endif /* somMN_idoFreeStrokes_defined */
#ifndef somDS_idoFreeStrokes_defined
#define somDS_idoFreeStrokes_defined
static char *somDS_idoFreeStrokes = somMD_IDODoodle_idoFreeStrokes;
static somId somDI_idoFreeStrokes = &somDS_idoFreeStrokes;
#endif /* somDS_idoFreeStrokes_defined */
#pragma linkage(somRD_IDODoodleidoFreeStrokes, system)
static void SOMLINK somRD_IDODoodleidoFreeStrokes(IDODoodle *somSelf, Environment *ev)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoFreeStrokes, somSelf , ev
);
}
/*
* New Method: idoIntersectsRect
*/
#pragma linkage(IDODoodleidoIntersectsRect, system)
SOM_Scope BOOL SOMLINK IDODoodleidoIntersectsRect(IDODoodle *somSelf, Environment *ev,
PRECTL pTargetRect);
#ifndef somMN_idoIntersectsRect_defined
#define somMN_idoIntersectsRect_defined
static char *somMN_idoIntersectsRect = "idoIntersectsRect";
static somId somId_idoIntersectsRect = &somMN_idoIntersectsRect;
#endif /* somMN_idoIntersectsRect_defined */
#ifndef somDS_idoIntersectsRect_defined
#define somDS_idoIntersectsRect_defined
static char *somDS_idoIntersectsRect = somMD_IDODoodle_idoIntersectsRect;
static somId somDI_idoIntersectsRect = &somDS_idoIntersectsRect;
#endif /* somDS_idoIntersectsRect_defined */
#pragma linkage(somRD_IDODoodleidoIntersectsRect, system)
static BOOL SOMLINK somRD_IDODoodleidoIntersectsRect(IDODoodle *somSelf, Environment *ev,
PRECTL pTargetRect)
{
BOOL __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoIntersectsRect, somSelf , ev
,pTargetRect);
return __retVal;
}
/*
* New Method: idoInvalidate
*/
#pragma linkage(IDODoodleidoInvalidate, system)
SOM_Scope void SOMLINK IDODoodleidoInvalidate(IDODoodle *somSelf, Environment *ev,
HWND hWnd);
#ifndef somMN_idoInvalidate_defined
#define somMN_idoInvalidate_defined
static char *somMN_idoInvalidate = "idoInvalidate";
static somId somId_idoInvalidate = &somMN_idoInvalidate;
#endif /* somMN_idoInvalidate_defined */
#ifndef somDS_idoInvalidate_defined
#define somDS_idoInvalidate_defined
static char *somDS_idoInvalidate = somMD_IDODoodle_idoInvalidate;
static somId somDI_idoInvalidate = &somDS_idoInvalidate;
#endif /* somDS_idoInvalidate_defined */
#pragma linkage(somRD_IDODoodleidoInvalidate, system)
static void SOMLINK somRD_IDODoodleidoInvalidate(IDODoodle *somSelf, Environment *ev,
HWND hWnd)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoInvalidate, somSelf , ev
,hWnd);
}
/*
* New Method: idoRemove
*/
#pragma linkage(IDODoodleidoRemove, system)
SOM_Scope void SOMLINK IDODoodleidoRemove(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject);
#ifndef somMN_idoRemove_defined
#define somMN_idoRemove_defined
static char *somMN_idoRemove = "idoRemove";
static somId somId_idoRemove = &somMN_idoRemove;
#endif /* somMN_idoRemove_defined */
#ifndef somDS_idoRemove_defined
#define somDS_idoRemove_defined
static char *somDS_idoRemove = somMD_IDODoodle_idoRemove;
static somId somDI_idoRemove = &somDS_idoRemove;
#endif /* somDS_idoRemove_defined */
#pragma linkage(somRD_IDODoodleidoRemove, system)
static void SOMLINK somRD_IDODoodleidoRemove(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoRemove, somSelf , ev
,pStrokeObject);
}
/*
* New Method: idoRemoveAll
*/
#pragma linkage(IDODoodleidoRemoveAll, system)
SOM_Scope void SOMLINK IDODoodleidoRemoveAll(IDODoodle *somSelf, Environment *ev);
#ifndef somMN_idoRemoveAll_defined
#define somMN_idoRemoveAll_defined
static char *somMN_idoRemoveAll = "idoRemoveAll";
static somId somId_idoRemoveAll = &somMN_idoRemoveAll;
#endif /* somMN_idoRemoveAll_defined */
#ifndef somDS_idoRemoveAll_defined
#define somDS_idoRemoveAll_defined
static char *somDS_idoRemoveAll = somMD_IDODoodle_idoRemoveAll;
static somId somDI_idoRemoveAll = &somDS_idoRemoveAll;
#endif /* somDS_idoRemoveAll_defined */
#pragma linkage(somRD_IDODoodleidoRemoveAll, system)
static void SOMLINK somRD_IDODoodleidoRemoveAll(IDODoodle *somSelf, Environment *ev)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoRemoveAll, somSelf , ev
);
}
/*
* New Method: idoRemoveFirst
*/
#pragma linkage(IDODoodleidoRemoveFirst, system)
SOM_Scope IDOStroke* SOMLINK IDODoodleidoRemoveFirst(IDODoodle *somSelf, Environment *ev);
#ifndef somMN_idoRemoveFirst_defined
#define somMN_idoRemoveFirst_defined
static char *somMN_idoRemoveFirst = "idoRemoveFirst";
static somId somId_idoRemoveFirst = &somMN_idoRemoveFirst;
#endif /* somMN_idoRemoveFirst_defined */
#ifndef somDS_idoRemoveFirst_defined
#define somDS_idoRemoveFirst_defined
static char *somDS_idoRemoveFirst = somMD_IDODoodle_idoRemoveFirst;
static somId somDI_idoRemoveFirst = &somDS_idoRemoveFirst;
#endif /* somDS_idoRemoveFirst_defined */
#pragma linkage(somRD_IDODoodleidoRemoveFirst, system)
static IDOStroke* SOMLINK somRD_IDODoodleidoRemoveFirst(IDODoodle *somSelf, Environment *ev)
{
IDOStroke* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoRemoveFirst, somSelf , ev
);
return __retVal;
}
/*
* New Method: idoRemoveLast
*/
#pragma linkage(IDODoodleidoRemoveLast, system)
SOM_Scope IDOStroke* SOMLINK IDODoodleidoRemoveLast(IDODoodle *somSelf, Environment *ev);
#ifndef somMN_idoRemoveLast_defined
#define somMN_idoRemoveLast_defined
static char *somMN_idoRemoveLast = "idoRemoveLast";
static somId somId_idoRemoveLast = &somMN_idoRemoveLast;
#endif /* somMN_idoRemoveLast_defined */
#ifndef somDS_idoRemoveLast_defined
#define somDS_idoRemoveLast_defined
static char *somDS_idoRemoveLast = somMD_IDODoodle_idoRemoveLast;
static somId somDI_idoRemoveLast = &somDS_idoRemoveLast;
#endif /* somDS_idoRemoveLast_defined */
#pragma linkage(somRD_IDODoodleidoRemoveLast, system)
static IDOStroke* SOMLINK somRD_IDODoodleidoRemoveLast(IDODoodle *somSelf, Environment *ev)
{
IDOStroke* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoRemoveLast, somSelf , ev
);
return __retVal;
}
/*
* New Method: idoAddBefore
*/
#pragma linkage(IDODoodleidoAddBefore, system)
SOM_Scope void SOMLINK IDODoodleidoAddBefore(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject,
IDOStroke* pNewStrokeObject);
#ifndef somMN_idoAddBefore_defined
#define somMN_idoAddBefore_defined
static char *somMN_idoAddBefore = "idoAddBefore";
static somId somId_idoAddBefore = &somMN_idoAddBefore;
#endif /* somMN_idoAddBefore_defined */
#ifndef somDS_idoAddBefore_defined
#define somDS_idoAddBefore_defined
static char *somDS_idoAddBefore = somMD_IDODoodle_idoAddBefore;
static somId somDI_idoAddBefore = &somDS_idoAddBefore;
#endif /* somDS_idoAddBefore_defined */
#pragma linkage(somRD_IDODoodleidoAddBefore, system)
static void SOMLINK somRD_IDODoodleidoAddBefore(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject,
IDOStroke* pNewStrokeObject)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoAddBefore, somSelf , ev
,pStrokeObject,pNewStrokeObject);
}
/*
* New Method: idoAddAfter
*/
#pragma linkage(IDODoodleidoAddAfter, system)
SOM_Scope void SOMLINK IDODoodleidoAddAfter(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject,
IDOStroke* pNewStrokeObject);
#ifndef somMN_idoAddAfter_defined
#define somMN_idoAddAfter_defined
static char *somMN_idoAddAfter = "idoAddAfter";
static somId somId_idoAddAfter = &somMN_idoAddAfter;
#endif /* somMN_idoAddAfter_defined */
#ifndef somDS_idoAddAfter_defined
#define somDS_idoAddAfter_defined
static char *somDS_idoAddAfter = somMD_IDODoodle_idoAddAfter;
static somId somDI_idoAddAfter = &somDS_idoAddAfter;
#endif /* somDS_idoAddAfter_defined */
#pragma linkage(somRD_IDODoodleidoAddAfter, system)
static void SOMLINK somRD_IDODoodleidoAddAfter(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject,
IDOStroke* pNewStrokeObject)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoAddAfter, somSelf , ev
,pStrokeObject,pNewStrokeObject);
}
/*
* New Method: idoAddFirst
*/
#pragma linkage(IDODoodleidoAddFirst, system)
SOM_Scope void SOMLINK IDODoodleidoAddFirst(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject);
#ifndef somMN_idoAddFirst_defined
#define somMN_idoAddFirst_defined
static char *somMN_idoAddFirst = "idoAddFirst";
static somId somId_idoAddFirst = &somMN_idoAddFirst;
#endif /* somMN_idoAddFirst_defined */
#ifndef somDS_idoAddFirst_defined
#define somDS_idoAddFirst_defined
static char *somDS_idoAddFirst = somMD_IDODoodle_idoAddFirst;
static somId somDI_idoAddFirst = &somDS_idoAddFirst;
#endif /* somDS_idoAddFirst_defined */
#pragma linkage(somRD_IDODoodleidoAddFirst, system)
static void SOMLINK somRD_IDODoodleidoAddFirst(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoAddFirst, somSelf , ev
,pStrokeObject);
}
/*
* New Method: idoAddLast
*/
#pragma linkage(IDODoodleidoAddLast, system)
SOM_Scope void SOMLINK IDODoodleidoAddLast(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject);
#ifndef somMN_idoAddLast_defined
#define somMN_idoAddLast_defined
static char *somMN_idoAddLast = "idoAddLast";
static somId somId_idoAddLast = &somMN_idoAddLast;
#endif /* somMN_idoAddLast_defined */
#ifndef somDS_idoAddLast_defined
#define somDS_idoAddLast_defined
static char *somDS_idoAddLast = somMD_IDODoodle_idoAddLast;
static somId somDI_idoAddLast = &somDS_idoAddLast;
#endif /* somDS_idoAddLast_defined */
#pragma linkage(somRD_IDODoodleidoAddLast, system)
static void SOMLINK somRD_IDODoodleidoAddLast(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStrokeObject)
{
void* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoAddLast, somSelf , ev
,pStrokeObject);
}
/*
* New Method: idoBefore
*/
#pragma linkage(IDODoodleidoBefore, system)
SOM_Scope IDOStroke* SOMLINK IDODoodleidoBefore(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStroke);
#ifndef somMN_idoBefore_defined
#define somMN_idoBefore_defined
static char *somMN_idoBefore = "idoBefore";
static somId somId_idoBefore = &somMN_idoBefore;
#endif /* somMN_idoBefore_defined */
#ifndef somDS_idoBefore_defined
#define somDS_idoBefore_defined
static char *somDS_idoBefore = somMD_IDODoodle_idoBefore;
static somId somDI_idoBefore = &somDS_idoBefore;
#endif /* somDS_idoBefore_defined */
#pragma linkage(somRD_IDODoodleidoBefore, system)
static IDOStroke* SOMLINK somRD_IDODoodleidoBefore(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStroke)
{
IDOStroke* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoBefore, somSelf , ev
,pStroke);
return __retVal;
}
/*
* New Method: idoAfter
*/
#pragma linkage(IDODoodleidoAfter, system)
SOM_Scope IDOStroke* SOMLINK IDODoodleidoAfter(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStroke);
#ifndef somMN_idoAfter_defined
#define somMN_idoAfter_defined
static char *somMN_idoAfter = "idoAfter";
static somId somId_idoAfter = &somMN_idoAfter;
#endif /* somMN_idoAfter_defined */
#ifndef somDS_idoAfter_defined
#define somDS_idoAfter_defined
static char *somDS_idoAfter = somMD_IDODoodle_idoAfter;
static somId somDI_idoAfter = &somDS_idoAfter;
#endif /* somDS_idoAfter_defined */
#pragma linkage(somRD_IDODoodleidoAfter, system)
static IDOStroke* SOMLINK somRD_IDODoodleidoAfter(IDODoodle *somSelf, Environment *ev,
IDOStroke* pStroke)
{
IDOStroke* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoAfter, somSelf , ev
,pStroke);
return __retVal;
}
/*
* New Method: idoFirst
*/
#pragma linkage(IDODoodleidoFirst, system)
SOM_Scope IDOStroke* SOMLINK IDODoodleidoFirst(IDODoodle *somSelf, Environment *ev);
#ifndef somMN_idoFirst_defined
#define somMN_idoFirst_defined
static char *somMN_idoFirst = "idoFirst";
static somId somId_idoFirst = &somMN_idoFirst;
#endif /* somMN_idoFirst_defined */
#ifndef somDS_idoFirst_defined
#define somDS_idoFirst_defined
static char *somDS_idoFirst = somMD_IDODoodle_idoFirst;
static somId somDI_idoFirst = &somDS_idoFirst;
#endif /* somDS_idoFirst_defined */
#pragma linkage(somRD_IDODoodleidoFirst, system)
static IDOStroke* SOMLINK somRD_IDODoodleidoFirst(IDODoodle *somSelf, Environment *ev)
{
IDOStroke* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoFirst, somSelf , ev
);
return __retVal;
}
/*
* New Method: idoLast
*/
#pragma linkage(IDODoodleidoLast, system)
SOM_Scope IDOStroke* SOMLINK IDODoodleidoLast(IDODoodle *somSelf, Environment *ev);
#ifndef somMN_idoLast_defined
#define somMN_idoLast_defined
static char *somMN_idoLast = "idoLast";
static somId somId_idoLast = &somMN_idoLast;
#endif /* somMN_idoLast_defined */
#ifndef somDS_idoLast_defined
#define somDS_idoLast_defined
static char *somDS_idoLast = somMD_IDODoodle_idoLast;
static somId somDI_idoLast = &somDS_idoLast;
#endif /* somDS_idoLast_defined */
#pragma linkage(somRD_IDODoodleidoLast, system)
static IDOStroke* SOMLINK somRD_IDODoodleidoLast(IDODoodle *somSelf, Environment *ev)
{
IDOStroke* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoLast, somSelf , ev
);
return __retVal;
}
/*
* New Method: idoGetStrokeFromSeq
*/
#pragma linkage(IDODoodleidoGetStrokeFromSeq, system)
SOM_Scope IDOStroke* SOMLINK IDODoodleidoGetStrokeFromSeq(IDODoodle *somSelf, Environment *ev,
ULONG ulSeq);
#ifndef somMN_idoGetStrokeFromSeq_defined
#define somMN_idoGetStrokeFromSeq_defined
static char *somMN_idoGetStrokeFromSeq = "idoGetStrokeFromSeq";
static somId somId_idoGetStrokeFromSeq = &somMN_idoGetStrokeFromSeq;
#endif /* somMN_idoGetStrokeFromSeq_defined */
#ifndef somDS_idoGetStrokeFromSeq_defined
#define somDS_idoGetStrokeFromSeq_defined
static char *somDS_idoGetStrokeFromSeq = somMD_IDODoodle_idoGetStrokeFromSeq;
static somId somDI_idoGetStrokeFromSeq = &somDS_idoGetStrokeFromSeq;
#endif /* somDS_idoGetStrokeFromSeq_defined */
#pragma linkage(somRD_IDODoodleidoGetStrokeFromSeq, system)
static IDOStroke* SOMLINK somRD_IDODoodleidoGetStrokeFromSeq(IDODoodle *somSelf, Environment *ev,
ULONG ulSeq)
{
IDOStroke* __retVal;
va_somDispatch(somSelf, (void **)&__retVal, somId_idoGetStrokeFromSeq, somSelf , ev
,ulSeq);
return __retVal;
}
/*
* Routines and Structures to create the class object
*/
/*
* Declare the Static Methods table.
*/
static somStaticMethod_t IDODoodleSM[] = {
{ &IDODoodleClassData.idoFreeStrokes,
&somId_idoFreeStrokes,
&somDI_idoFreeStrokes,
(somMethodProc *) IDODoodleidoFreeStrokes,
(somMethodProc *) somRD_IDODoodleidoFreeStrokes,
(somMethodProc *) somAP_IDODoodleidoFreeStrokes },
{ &IDODoodleClassData.idoIntersectsRect,
&somId_idoIntersectsRect,
&somDI_idoIntersectsRect,
(somMethodProc *) IDODoodleidoIntersectsRect,
(somMethodProc *) somRD_IDODoodleidoIntersectsRect,
(somMethodProc *) somAP_IDODoodleidoIntersectsRect },
{ &IDODoodleClassData.idoInvalidate,
&somId_idoInvalidate,
&somDI_idoInvalidate,
(somMethodProc *) IDODoodleidoInvalidate,
(somMethodProc *) somRD_IDODoodleidoInvalidate,
(somMethodProc *) somAP_IDODoodleidoInvalidate },
{ &IDODoodleClassData.idoRemove,
&somId_idoRemove,
&somDI_idoRemove,
(somMethodProc *) IDODoodleidoRemove,
(somMethodProc *) somRD_IDODoodleidoRemove,
(somMethodProc *) somAP_IDODoodleidoRemove },
{ &IDODoodleClassData.idoRemoveAll,
&somId_idoRemoveAll,
&somDI_idoRemoveAll,
(somMethodProc *) IDODoodleidoRemoveAll,
(somMethodProc *) somRD_IDODoodleidoRemoveAll,
(somMethodProc *) somAP_IDODoodleidoRemoveAll },
{ &IDODoodleClassData.idoRemoveFirst,
&somId_idoRemoveFirst,
&somDI_idoRemoveFirst,
(somMethodProc *) IDODoodleidoRemoveFirst,
(somMethodProc *) somRD_IDODoodleidoRemoveFirst,
(somMethodProc *) somAP_IDODoodleidoRemoveFirst },
{ &IDODoodleClassData.idoRemoveLast,
&somId_idoRemoveLast,
&somDI_idoRemoveLast,
(somMethodProc *) IDODoodleidoRemoveLast,
(somMethodProc *) somRD_IDODoodleidoRemoveLast,
(somMethodProc *) somAP_IDODoodleidoRemoveLast },
{ &IDODoodleClassData.idoAddBefore,
&somId_idoAddBefore,
&somDI_idoAddBefore,
(somMethodProc *) IDODoodleidoAddBefore,
(somMethodProc *) somRD_IDODoodleidoAddBefore,
(somMethodProc *) somAP_IDODoodleidoAddBefore },
{ &IDODoodleClassData.idoAddAfter,
&somId_idoAddAfter,
&somDI_idoAddAfter,
(somMethodProc *) IDODoodleidoAddAfter,
(somMethodProc *) somRD_IDODoodleidoAddAfter,
(somMethodProc *) somAP_IDODoodleidoAddAfter },
{ &IDODoodleClassData.idoAddFirst,
&somId_idoAddFirst,
&somDI_idoAddFirst,
(somMethodProc *) IDODoodleidoAddFirst,
(somMethodProc *) somRD_IDODoodleidoAddFirst,
(somMethodProc *) somAP_IDODoodleidoAddFirst },
{ &IDODoodleClassData.idoAddLast,
&somId_idoAddLast,
&somDI_idoAddLast,
(somMethodProc *) IDODoodleidoAddLast,
(somMethodProc *) somRD_IDODoodleidoAddLast,
(somMethodProc *) somAP_IDODoodleidoAddLast },
{ &IDODoodleClassData.idoBefore,
&somId_idoBefore,
&somDI_idoBefore,
(somMethodProc *) IDODoodleidoBefore,
(somMethodProc *) somRD_IDODoodleidoBefore,
(somMethodProc *) somAP_IDODoodleidoBefore },
{ &IDODoodleClassData.idoAfter,
&somId_idoAfter,
&somDI_idoAfter,
(somMethodProc *) IDODoodleidoAfter,
(somMethodProc *) somRD_IDODoodleidoAfter,
(somMethodProc *) somAP_IDODoodleidoAfter },
{ &IDODoodleClassData.idoFirst,
&somId_idoFirst,
&somDI_idoFirst,
(somMethodProc *) IDODoodleidoFirst,
(somMethodProc *) somRD_IDODoodleidoFirst,
(somMethodProc *) somAP_IDODoodleidoFirst },
{ &IDODoodleClassData.idoLast,
&somId_idoLast,
&somDI_idoLast,
(somMethodProc *) IDODoodleidoLast,
(somMethodProc *) somRD_IDODoodleidoLast,
(somMethodProc *) somAP_IDODoodleidoLast },
{ &IDODoodleClassData.idoGetStrokeFromSeq,
&somId_idoGetStrokeFromSeq,
&somDI_idoGetStrokeFromSeq,
(somMethodProc *) IDODoodleidoGetStrokeFromSeq,
(somMethodProc *) somRD_IDODoodleidoGetStrokeFromSeq,
(somMethodProc *) somAP_IDODoodleidoGetStrokeFromSeq },
};
/*
* Declare the Override Methods table.
*/
static somOverrideMethod_t IDODoodleOM[] = {
{ &somId_somInit,
(somMethodProc *) IDODoodlesomInit },
{ &somId_somUninit,
(somMethodProc *) IDODoodlesomUninit },
{ &somId_idoDraw,
(somMethodProc *) IDODoodleidoDraw },
{ &somId_idoInkerDraw,
(somMethodProc *) IDODoodleidoInkerDraw },
{ &somId_idoGetBoundingBox,
(somMethodProc *) IDODoodleidoGetBoundingBox },
{ &somId_idoSetInkAttr,
(somMethodProc *) IDODoodleidoSetInkAttr },
{ &somId_idoGetInkAttr,
(somMethodProc *) IDODoodleidoGetInkAttr },
{ &somId_idoSetOffset,
(somMethodProc *) IDODoodleidoSetOffset },
{ &somId_idoGetOffset,
(somMethodProc *) IDODoodleidoGetOffset },
};
/*
* Initializers for class Ids
*/
static char * somCN_IDODoodle = "IDODoodle";
static char * somPCN_IDODoodle_IDOCommon = "IDOCommon";
static somId somPCIDODoodle[] = {
&somPCN_IDODoodle_IDOCommon,
};
static somStaticClassInfo IDODoodleSCI = {
3, 16, 9, 0, 0, 0,
IDODoodle_MajorVersion, IDODoodle_MinorVersion,
0, IDODoodle_MaxNoMethods, 1,
&somCN_IDODoodle,
(somId) NULL, 1,
somPCIDODoodle,
(somClassDataStructure *) &IDODoodleClassData,
(somCClassDataStructure *) &IDODoodleCClassData,
IDODoodleSM, IDODoodleOM,
(char *) NULL,
(somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
(somVarargsFuncs_t *) NULL,
(somTP_somClassInitFunc *) NULL,
0,
0, /* old style class, zero directinitclasses */
0, /* no directinitclasses */
0, /* number of methods */
0, /* methods of the class */
0, /* dataOffset1 */
0, /* dataOffset2 */
0, /* number of SelectInheritedMethods */
0, /* SelectInheritedMethods */
0, /* number of releaseorder entries */
0, /* ReleaseOrder */
0, /* number of migrated methods */
0, /* migrated method implementations */
0, /* number of initializers */
0, /* initializers */
0, /* used to identify a DTS class */
0, /* used to register dynamically computed info */
};
IDODoodle * SOMLINK IDODoodleNewClass (integer4 somtmajorVersion,
integer4 somtminorVersion)
{
IDOCommonNewClass(IDOCommon_MajorVersion,IDOCommon_MinorVersion); /* static reference */
return (somBuildClass(1,&IDODoodleSCI, somtmajorVersion, somtminorVersion));
}
/*
* Functions for attributes.
*/
#endif /* IDODoodle_Class_Source */
#pragma checkout(resume)
#endif /* SOM_IDODoodle_ih */