home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK4.DSK
/
IDOINKAT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-07
|
7KB
|
226 lines
/*
* This file was generated by the SOM Compiler.
* FileName: ..\..\pentkt\h\idoinkat.h.
* Generated using:
* SOM Precompiler somipc: 2.7
* SOM Emitter emith: 2.22
*/
#ifndef SOM_IDOInkAttr_h
#define SOM_IDOInkAttr_h
#include <som.h>
/*
* -- This emitter treats Method Tokens as Thunks by default
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* Define the class name as an object type
*/
#ifndef IDOInkAttr
#define IDOInkAttr SOMObject
#endif
#include <IDOcomm.h>
/*
* Start of user-defined types:
*/
#ifndef SOMClass
#define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMObject
#define SOMObject SOMObject
#endif /* SOMObject */
#ifndef IDOInker
#define IDOInker SOMObject
#endif /* IDOInker */
#ifndef IDOInkAttr
#define IDOInkAttr SOMObject
#endif /* IDOInkAttr */
/*
* End of user-defined types.
*/
#define IDOInkAttr_MajorVersion 0
#define IDOInkAttr_MinorVersion 0
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define IDOInkAttrNewClass c
#pragma linkage(c, system)
#define IDOInkAttrClassData d
#define IDOInkAttrCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define IDOInkAttr_classObj IDOInkAttrClassData.classObject
#define _IDOInkAttr IDOInkAttr_classObj
/*
* Declare the class creation procedure
*/
SOMEXTERN SOMClass * SOMLINK IDOInkAttrNewClass(integer4 somtmajorVersion,
integer4 somtminorVersion);
#pragma linkage(IDOInkAttrNewClass, system)
/*
* Declare the class data structure
*/
SOMEXTERN struct IDOInkAttrClassDataStructure {
SOMAny *classObject;
somMToken idoIncRefCount;
somMToken idoDecRefCount;
} IDOInkAttrClassData;
/*
* Declare the C specific class data structure
*/
SOMEXTERN struct IDOInkAttrCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} IDOInkAttrCClassData;
/*
* New and Renew macros for IDOInkAttr
*/
#define IDOInkAttrNew() \
( IDOInkAttrClassData.classObject \
? (_somNew(IDOInkAttrClassData.classObject)) \
: ( IDOInkAttrNewClass(IDOInkAttr_MajorVersion, IDOInkAttr_MinorVersion), (_somNew(IDOInkAttrClassData.classObject)) ) )
#define IDOInkAttrRenew(buf) \
( _somRenew(IDOInkAttrClassData.classObject, buf) )
/*
* Override method: idoSetColor
*/
#define IDOInkAttr_idoSetColor(somSelf,ev,lColor) \
IDOCommon_idoSetColor(somSelf,ev,lColor)
/*
* Override method: idoGetColor
*/
#define IDOInkAttr_idoGetColor(somSelf,ev) \
IDOCommon_idoGetColor(somSelf,ev)
/*
* Override method: idoSetBackColor
*/
#define IDOInkAttr_idoSetBackColor(somSelf,ev,lColor) \
IDOCommon_idoSetBackColor(somSelf,ev,lColor)
/*
* Override method: idoGetBackColor
*/
#define IDOInkAttr_idoGetBackColor(somSelf,ev) \
IDOCommon_idoGetBackColor(somSelf,ev)
/*
* Override method: idoSetMix
*/
#define IDOInkAttr_idoSetMix(somSelf,ev,lMix) \
IDOCommon_idoSetMix(somSelf,ev,lMix)
/*
* Override method: idoGetMix
*/
#define IDOInkAttr_idoGetMix(somSelf,ev) \
IDOCommon_idoGetMix(somSelf,ev)
/*
* Override method: idoSetBackMix
*/
#define IDOInkAttr_idoSetBackMix(somSelf,ev,lMix) \
IDOCommon_idoSetBackMix(somSelf,ev,lMix)
/*
* Override method: idoGetBackMix
*/
#define IDOInkAttr_idoGetBackMix(somSelf,ev) \
IDOCommon_idoGetBackMix(somSelf,ev)
/*
* Override method: idoSetWidth
*/
#define IDOInkAttr_idoSetWidth(somSelf,ev,lWidth) \
IDOCommon_idoSetWidth(somSelf,ev,lWidth)
/*
* Override method: idoGetWidth
*/
#define IDOInkAttr_idoGetWidth(somSelf,ev) \
IDOCommon_idoGetWidth(somSelf,ev)
/*
* Override method: idoSetLineType
*/
#define IDOInkAttr_idoSetLineType(somSelf,ev,lLineType) \
IDOCommon_idoSetLineType(somSelf,ev,lLineType)
/*
* Override method: idoGetLineType
*/
#define IDOInkAttr_idoGetLineType(somSelf,ev) \
IDOCommon_idoGetLineType(somSelf,ev)
/*
* Override method: idoSetInkerData
*/
#define IDOInkAttr_idoSetInkerData(somSelf,ev,pNewInkerData,pOldInkerData) \
IDOCommon_idoSetInkerData(somSelf,ev,pNewInkerData,pOldInkerData)
/*
* Override method: idoGetInkerData
*/
#define IDOInkAttr_idoGetInkerData(somSelf,ev,pInkerData) \
IDOCommon_idoGetInkerData(somSelf,ev,pInkerData)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define IDOInkAttr_idoDraw IDOCommon_idoDraw
#define IDOInkAttr_idoInkerDraw IDOCommon_idoInkerDraw
#define IDOInkAttr_idoGetBoundingBox IDOCommon_idoGetBoundingBox
#define IDOInkAttr_idoSetInkAttr IDOCommon_idoSetInkAttr
#define IDOInkAttr_idoGetInkAttr IDOCommon_idoGetInkAttr
#define IDOInkAttr_idoSetOffset IDOCommon_idoSetOffset
#define IDOInkAttr_idoGetOffset IDOCommon_idoGetOffset
#define IDOInkAttr_idoMergeInkerData IDOCommon_idoMergeInkerData
#define IDOInkAttr_idfSetUser1 IDFCommon_idfSetUser1
#define IDOInkAttr_idfGetUser1 IDFCommon_idfGetUser1
#define IDOInkAttr_idfSetUser2 IDFCommon_idfSetUser2
#define IDOInkAttr_idfGetUser2 IDFCommon_idfGetUser2
#define IDOInkAttr_somFree SOMObject_somFree
#define IDOInkAttr_somDefaultInit SOMObject_somDefaultInit
#define IDOInkAttr_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define IDOInkAttr_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define IDOInkAttr_somDestruct SOMObject_somDestruct
#define IDOInkAttr_somDefaultAssign SOMObject_somDefaultAssign
#define IDOInkAttr_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define IDOInkAttr_somInit SOMObject_somInit
#define IDOInkAttr_somUninit SOMObject_somUninit
#define IDOInkAttr_somGetClass SOMObject_somGetClass
#define IDOInkAttr_somGetClassName SOMObject_somGetClassName
#define IDOInkAttr_somGetSize SOMObject_somGetSize
#define IDOInkAttr_somIsA SOMObject_somIsA
#define IDOInkAttr_somIsInstanceOf SOMObject_somIsInstanceOf
#define IDOInkAttr_somRespondsTo SOMObject_somRespondsTo
#define IDOInkAttr_somDispatchV SOMObject_somDispatchV
#define IDOInkAttr_somDispatchL SOMObject_somDispatchL
#define IDOInkAttr_somDispatchA SOMObject_somDispatchA
#define IDOInkAttr_somDispatchD SOMObject_somDispatchD
#define IDOInkAttr_somDispatch SOMObject_somDispatch
#define IDOInkAttr_somClassDispatch SOMObject_somClassDispatch
#define IDOInkAttr_somCastObj SOMObject_somCastObj
#define IDOInkAttr_somResetObj SOMObject_somResetObj
#define IDOInkAttr_somPrintSelf SOMObject_somPrintSelf
#define IDOInkAttr_somDumpSelf SOMObject_somDumpSelf
#define IDOInkAttr_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_IDOInkAttr_h */