home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
OS2WCanv.xh
< prev
next >
Wrap
Text File
|
1997-04-02
|
29KB
|
949 lines
/*
* This file was generated by the SOM Compiler.
* FileName: F:\build\os2\ship\include\OS2WCanv.xh.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emitxh: 2.47
*/
#ifndef SOM_ODOS2WindowCanvas_xh
#define SOM_ODOS2WindowCanvas_xh
class ODOS2WindowCanvas;
#define ODOS2WindowCanvas_MajorVersion 1
#define ODOS2WindowCanvas_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_ODOS2Canvas_xh
#include <OS2PCanv.xh>
#endif
#ifndef ODOS2WindowCanvas_API
#define ODOS2WindowCanvas_API
/*
* -- The Class API
*/
/*
* Start of bindings for IDL types
*/
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class SOMClass;
class SOMObject;
class ODObject;
class ODExtension;
class ODOS2Canvas;
class ODOS2WindowCanvas;
/*
* End of bindings for IDL types.
*/
/* A procedure to create the ODOS2WindowCanvas Class */
SOMEXTERN SOMClass * SOMLINK ODOS2WindowCanvasNewClass(
integer4 majorVersion,
integer4 minorVersion);
/* The API to the ODOS2WindowCanvas class object, and the methods it introduces. */
SOMEXTERN struct ODOS2WindowCanvasClassDataStructure {
SOMClass *classObject;
somMToken InitPlatformWindowCanvas;
} SOMDLINK ODOS2WindowCanvasClassData;
#define _ODOS2WindowCanvas ODOS2WindowCanvasClassData.classObject
/* The API to parentMtabs for ODOS2WindowCanvas, and the instance data it introduces. */
SOMEXTERN struct ODOS2WindowCanvasCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK ODOS2WindowCanvasCClassData;
/*
* -- Typedefs for ODOS2WindowCanvas Method Procedures
*/
SOMEXTERN {
/*
* -- Typedefs for Reintroduced Wrapper Methods
*/
typedef void SOMLINK somTP_ODOS2WindowCanvas_InitPlatformCanvas(ODOS2WindowCanvas *somSelf, Environment *ev,
HPS hps);
typedef somTP_ODOS2WindowCanvas_InitPlatformCanvas *somTD_ODOS2WindowCanvas_InitPlatformCanvas;
typedef void SOMLINK somTP_ODOS2WindowCanvas_InitPlatformWindowCanvas(ODOS2WindowCanvas *somSelf, Environment *ev,
HWND window);
typedef somTP_ODOS2WindowCanvas_InitPlatformWindowCanvas *somTD_ODOS2WindowCanvas_InitPlatformWindowCanvas;
typedef HPS SOMLINK somTP_ODOS2WindowCanvas_GetPS(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_GetPS *somTD_ODOS2WindowCanvas_GetPS;
typedef void SOMLINK somTP_ODOS2WindowCanvas_SetPS(ODOS2WindowCanvas *somSelf, Environment *ev,
HPS hps);
typedef somTP_ODOS2WindowCanvas_SetPS *somTD_ODOS2WindowCanvas_SetPS;
typedef void SOMLINK somTP_ODOS2WindowCanvas_ReleasePS(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_ReleasePS *somTD_ODOS2WindowCanvas_ReleasePS;
typedef HWND SOMLINK somTP_ODOS2WindowCanvas_GetWindow(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_GetWindow *somTD_ODOS2WindowCanvas_GetWindow;
typedef ODPlatformCanvas* SOMLINK somTP_ODOS2WindowCanvas_CreateConcreteCanvas(ODOS2WindowCanvas *somSelf, Environment *ev,
ODGraphicsSystem aSystemType,
ODBoolean isDynamic,
ODBoolean isOffscreen);
typedef somTP_ODOS2WindowCanvas_CreateConcreteCanvas *somTD_ODOS2WindowCanvas_CreateConcreteCanvas;
typedef ODGraphicsSystem SOMLINK somTP_ODOS2WindowCanvas_GetSystemType(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_GetSystemType *somTD_ODOS2WindowCanvas_GetSystemType;
typedef ODBoolean SOMLINK somTP_ODOS2WindowCanvas_HasWindow(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_HasWindow *somTD_ODOS2WindowCanvas_HasWindow;
typedef ODBoolean SOMLINK somTP_ODOS2WindowCanvas_IsInitialized(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_IsInitialized *somTD_ODOS2WindowCanvas_IsInitialized;
typedef ODPlatformCanvasType SOMLINK somTP_ODOS2WindowCanvas_GetPlatformCanvasType(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_GetPlatformCanvasType *somTD_ODOS2WindowCanvas_GetPlatformCanvasType;
typedef void SOMLINK somTP_ODOS2WindowCanvas_InitObject(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_InitObject *somTD_ODOS2WindowCanvas_InitObject;
typedef ODBoolean SOMLINK somTP_ODOS2WindowCanvas_HasExtension(ODOS2WindowCanvas *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODOS2WindowCanvas_HasExtension *somTD_ODOS2WindowCanvas_HasExtension;
typedef ODExtension* SOMLINK somTP_ODOS2WindowCanvas_AcquireExtension(ODOS2WindowCanvas *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODOS2WindowCanvas_AcquireExtension *somTD_ODOS2WindowCanvas_AcquireExtension;
typedef void SOMLINK somTP_ODOS2WindowCanvas_ReleaseExtension(ODOS2WindowCanvas *somSelf, Environment *ev,
ODExtension* extension);
typedef somTP_ODOS2WindowCanvas_ReleaseExtension *somTD_ODOS2WindowCanvas_ReleaseExtension;
typedef ODSize SOMLINK somTP_ODOS2WindowCanvas_Purge(ODOS2WindowCanvas *somSelf, Environment *ev,
ODSize size);
typedef somTP_ODOS2WindowCanvas_Purge *somTD_ODOS2WindowCanvas_Purge;
typedef ODBoolean SOMLINK somTP_ODOS2WindowCanvas_IsEqualTo(ODOS2WindowCanvas *somSelf, Environment *ev,
ODObject* object);
typedef somTP_ODOS2WindowCanvas_IsEqualTo *somTD_ODOS2WindowCanvas_IsEqualTo;
typedef void SOMLINK somTP_ODOS2WindowCanvas_SubClassResponsibility(ODOS2WindowCanvas *somSelf, Environment *ev);
typedef somTP_ODOS2WindowCanvas_SubClassResponsibility *somTD_ODOS2WindowCanvas_SubClassResponsibility;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somInit(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somInit *somTD_ODOS2WindowCanvas_somInit;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somUninit(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somUninit *somTD_ODOS2WindowCanvas_somUninit;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDefaultInit(ODOS2WindowCanvas *somSelf,
som3InitCtrl* ctrl);
typedef somTP_ODOS2WindowCanvas_somDefaultInit *somTD_ODOS2WindowCanvas_somDefaultInit;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDestruct(ODOS2WindowCanvas *somSelf,
octet doFree,
som3DestructCtrl* ctrl);
typedef somTP_ODOS2WindowCanvas_somDestruct *somTD_ODOS2WindowCanvas_somDestruct;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDefaultCopyInit(ODOS2WindowCanvas *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultCopyInit *somTD_ODOS2WindowCanvas_somDefaultCopyInit;
typedef ODOS2WindowCanvas* SOMLINK somTP_ODOS2WindowCanvas_somDefaultAssign(ODOS2WindowCanvas *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultAssign *somTD_ODOS2WindowCanvas_somDefaultAssign;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDefaultConstCopyInit(ODOS2WindowCanvas *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultConstCopyInit *somTD_ODOS2WindowCanvas_somDefaultConstCopyInit;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDefaultVCopyInit(ODOS2WindowCanvas *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultVCopyInit *somTD_ODOS2WindowCanvas_somDefaultVCopyInit;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDefaultConstVCopyInit(ODOS2WindowCanvas *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultConstVCopyInit *somTD_ODOS2WindowCanvas_somDefaultConstVCopyInit;
typedef ODOS2WindowCanvas* SOMLINK somTP_ODOS2WindowCanvas_somDefaultConstAssign(ODOS2WindowCanvas *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultConstAssign *somTD_ODOS2WindowCanvas_somDefaultConstAssign;
typedef ODOS2WindowCanvas* SOMLINK somTP_ODOS2WindowCanvas_somDefaultVAssign(ODOS2WindowCanvas *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultVAssign *somTD_ODOS2WindowCanvas_somDefaultVAssign;
typedef ODOS2WindowCanvas* SOMLINK somTP_ODOS2WindowCanvas_somDefaultConstVAssign(ODOS2WindowCanvas *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODOS2WindowCanvas_somDefaultConstVAssign *somTD_ODOS2WindowCanvas_somDefaultConstVAssign;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somFree(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somFree *somTD_ODOS2WindowCanvas_somFree;
typedef SOMClass* SOMLINK somTP_ODOS2WindowCanvas_somGetClass(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somGetClass *somTD_ODOS2WindowCanvas_somGetClass;
typedef string SOMLINK somTP_ODOS2WindowCanvas_somGetClassName(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somGetClassName *somTD_ODOS2WindowCanvas_somGetClassName;
typedef long SOMLINK somTP_ODOS2WindowCanvas_somGetSize(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somGetSize *somTD_ODOS2WindowCanvas_somGetSize;
typedef boolean SOMLINK somTP_ODOS2WindowCanvas_somIsA(ODOS2WindowCanvas *somSelf,
SOMClass* aClassObj);
typedef somTP_ODOS2WindowCanvas_somIsA *somTD_ODOS2WindowCanvas_somIsA;
typedef boolean SOMLINK somTP_ODOS2WindowCanvas_somIsInstanceOf(ODOS2WindowCanvas *somSelf,
SOMClass* aClassObj);
typedef somTP_ODOS2WindowCanvas_somIsInstanceOf *somTD_ODOS2WindowCanvas_somIsInstanceOf;
typedef boolean SOMLINK somTP_ODOS2WindowCanvas_somRespondsTo(ODOS2WindowCanvas *somSelf,
somId mId);
typedef somTP_ODOS2WindowCanvas_somRespondsTo *somTD_ODOS2WindowCanvas_somRespondsTo;
typedef boolean SOMLINK somTP_ODOS2WindowCanvas_somDispatch(ODOS2WindowCanvas *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODOS2WindowCanvas_somDispatch *somTD_ODOS2WindowCanvas_somDispatch;
typedef boolean SOMLINK somTP_ODOS2WindowCanvas_somClassDispatch(ODOS2WindowCanvas *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODOS2WindowCanvas_somClassDispatch *somTD_ODOS2WindowCanvas_somClassDispatch;
typedef boolean SOMLINK somTP_ODOS2WindowCanvas_somCastObj(ODOS2WindowCanvas *somSelf,
SOMClass* cls);
typedef somTP_ODOS2WindowCanvas_somCastObj *somTD_ODOS2WindowCanvas_somCastObj;
typedef boolean SOMLINK somTP_ODOS2WindowCanvas_somResetObj(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somResetObj *somTD_ODOS2WindowCanvas_somResetObj;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDispatchV(ODOS2WindowCanvas *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODOS2WindowCanvas_somDispatchV *somTD_ODOS2WindowCanvas_somDispatchV;
typedef long SOMLINK somTP_ODOS2WindowCanvas_somDispatchL(ODOS2WindowCanvas *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODOS2WindowCanvas_somDispatchL *somTD_ODOS2WindowCanvas_somDispatchL;
typedef void* SOMLINK somTP_ODOS2WindowCanvas_somDispatchA(ODOS2WindowCanvas *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODOS2WindowCanvas_somDispatchA *somTD_ODOS2WindowCanvas_somDispatchA;
typedef double SOMLINK somTP_ODOS2WindowCanvas_somDispatchD(ODOS2WindowCanvas *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODOS2WindowCanvas_somDispatchD *somTD_ODOS2WindowCanvas_somDispatchD;
typedef SOMObject* SOMLINK somTP_ODOS2WindowCanvas_somPrintSelf(ODOS2WindowCanvas *somSelf);
typedef somTP_ODOS2WindowCanvas_somPrintSelf *somTD_ODOS2WindowCanvas_somPrintSelf;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDumpSelf(ODOS2WindowCanvas *somSelf,
long level);
typedef somTP_ODOS2WindowCanvas_somDumpSelf *somTD_ODOS2WindowCanvas_somDumpSelf;
typedef void SOMLINK somTP_ODOS2WindowCanvas_somDumpSelfInt(ODOS2WindowCanvas *somSelf,
long level);
typedef somTP_ODOS2WindowCanvas_somDumpSelfInt *somTD_ODOS2WindowCanvas_somDumpSelfInt;
}
#endif /* ODOS2WindowCanvas_API */
/*
* -- 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))
/*
* -- The C++ Wrapper Class for ODOS2WindowCanvas
*/
class ODOS2WindowCanvas : public ODOS2Canvas
{
public:
// ODOS2WindowCanvas::new creates the class object if necessary, and then uses somNewNoInit
// to allocate memory and create the object. Initialization is in ctors.
void *operator new(size_t)
{
if (!_ODOS2WindowCanvas) ODOS2WindowCanvasNewClass(ODOS2WindowCanvas_MajorVersion,ODOS2WindowCanvas_MinorVersion);
return (void*)
SOM_Resolve(_ODOS2WindowCanvas,SOMClass,somNewNoInit)
((SOMClass *)((void*)_ODOS2WindowCanvas));
}
// ODOS2WindowCanvas::delete uses somDestruct.
void operator delete(void * obj)
{
if (obj && *(void**)obj) {
SOM_Resolve(obj,SOMObject,somFree)
((SOMObject*)obj);
}
}
ODOS2WindowCanvas& operator=(ODOS2WindowCanvas& fromObj)
{
this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
return *this;
}
ODOS2WindowCanvas()
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODOS2WindowCanvasCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultInit(0);
}
ODOS2WindowCanvas(ODOS2WindowCanvas* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODOS2WindowCanvasCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(nocnv,nopar)
#endif
ODOS2WindowCanvas(const ODOS2WindowCanvas* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODOS2WindowCanvasCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(restore)
#endif
/*
* Reintroduce inherited methods
*/
/* method: InitPlatformCanvas */
void InitPlatformCanvas(Environment *ev,
HPS hps)
{
SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,InitPlatformCanvas)
(this, ev,hps);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: InitPlatformWindowCanvas */
void InitPlatformWindowCanvas(Environment *ev,
HWND window)
{
SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,InitPlatformWindowCanvas)
(this, ev,window);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: GetPS */
HPS GetPS(Environment *ev)
{
#ifdef SOMCHKEXCEPT
HPS __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,GetPS)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,GetPS)
(this, ev);
#endif
}
/* method: SetPS */
void SetPS(Environment *ev,
HPS hps)
{
SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,SetPS)
(this, ev,hps);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: ReleasePS */
void ReleasePS(Environment *ev)
{
SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,ReleasePS)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: GetWindow */
HWND GetWindow(Environment *ev)
{
#ifdef SOMCHKEXCEPT
HWND __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,GetWindow)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODOS2Canvas,GetWindow)
(this, ev);
#endif
}
/* method: CreateConcreteCanvas */
ODPlatformCanvas* CreateConcreteCanvas(Environment *ev,
ODGraphicsSystem aSystemType,
ODBoolean isDynamic,
ODBoolean isOffscreen)
{
#ifdef SOMCHKEXCEPT
ODPlatformCanvas* __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,CreateConcreteCanvas)
(this, ev,aSystemType,isDynamic,isOffscreen);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,CreateConcreteCanvas)
(this, ev,aSystemType,isDynamic,isOffscreen);
#endif
}
/* method: GetSystemType */
ODGraphicsSystem GetSystemType(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODGraphicsSystem __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,GetSystemType)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,GetSystemType)
(this, ev);
#endif
}
/* method: HasWindow */
ODBoolean HasWindow(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,HasWindow)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,HasWindow)
(this, ev);
#endif
}
/* method: IsInitialized */
ODBoolean IsInitialized(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,IsInitialized)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,IsInitialized)
(this, ev);
#endif
}
/* method: GetPlatformCanvasType */
ODPlatformCanvasType GetPlatformCanvasType(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODPlatformCanvasType __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,GetPlatformCanvasType)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODPlatformCanvas,GetPlatformCanvasType)
(this, ev);
#endif
}
/* method: InitObject */
void InitObject(Environment *ev)
{
SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,InitObject)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: HasExtension */
ODBoolean HasExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,HasExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,HasExtension)
(this, ev,extensionName);
#endif
}
/* method: AcquireExtension */
ODExtension* AcquireExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODExtension* __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,AcquireExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,AcquireExtension)
(this, ev,extensionName);
#endif
}
/* method: ReleaseExtension */
void ReleaseExtension(Environment *ev,
ODExtension* extension)
{
SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,ReleaseExtension)
(this, ev,extension);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Purge */
ODSize Purge(Environment *ev,
ODSize size)
{
#ifdef SOMCHKEXCEPT
ODSize __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,Purge)
(this, ev,size);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,Purge)
(this, ev,size);
#endif
}
/* method: IsEqualTo */
ODBoolean IsEqualTo(Environment *ev,
ODObject* object)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,IsEqualTo)
(this, ev,object);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,IsEqualTo)
(this, ev,object);
#endif
}
/* method: SubClassResponsibility */
void SubClassResponsibility(Environment *ev)
{
SOM_ResolveD(this,ODOS2WindowCanvas,ODObject,SubClassResponsibility)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somUninit)
(this);
}
/* initializer method: somDefaultInit */
void somDefaultInit(som3InitCtrl* ctrl)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultInit)
(this,ctrl);
}
/* method: somDestruct */
void somDestruct(octet doFree,
som3DestructCtrl* ctrl)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDestruct)
(this,doFree,ctrl);
}
/* initializer method: somDefaultCopyInit */
void somDefaultCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultAssign */
ODOS2WindowCanvas* somDefaultAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultAssign)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstCopyInit */
void somDefaultConstCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultConstCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultVCopyInit */
void somDefaultVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultVCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstVCopyInit */
void somDefaultConstVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultConstVCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultConstAssign */
ODOS2WindowCanvas* somDefaultConstAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultConstAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultVAssign */
ODOS2WindowCanvas* somDefaultVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultVAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultConstVAssign */
ODOS2WindowCanvas* somDefaultConstVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDefaultConstVAssign)
(this,ctrl,fromObj);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somFree)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
string somGetClassName()
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somRespondsTo)
(this,mId);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean ODOS2WindowCanvas_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean ODOS2WindowCanvas_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somResetObj)
(this);
}
/* va_list method: somDispatchV */
/* the va_list invocation form */
void ODOS2WindowCanvas_somDispatchV(somId methodId,
somId descriptor,
va_list ap)
{ SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void somDispatchV(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
va_end(ap);
}
/* va_list method: somDispatchL */
/* the va_list invocation form */
long ODOS2WindowCanvas_somDispatchL(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
long somDispatchL(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
long __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchA */
/* the va_list invocation form */
void* ODOS2WindowCanvas_somDispatchA(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void* somDispatchA(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
void* __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchD */
/* the va_list invocation form */
double ODOS2WindowCanvas_somDispatchD(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
double somDispatchD(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
double __somResult =
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,ODOS2WindowCanvas,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* ODOS2WindowCanvas */
#endif /* SOM_ODOS2WindowCanvas_xh */