
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\BUILD\NT\ship\include\PlatCanv.xh.
 * Generated using:
 *     SOM Precompiler somipc: Development
 *     SOM Emitter emitxh.dll: Development
 */

#ifndef SOM_ODPlatformCanvas_xh
#define SOM_ODPlatformCanvas_xh

class ODPlatformCanvas;

#define ODPlatformCanvas_MajorVersion 1
#define ODPlatformCanvas_MinorVersion 0

/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

/* C++ parent defs */
#ifndef SOM_ODObject_xh
#include <ODObject.xh>
#endif

#ifndef ODPlatformCanvas_API
#define ODPlatformCanvas_API
/*
 * -- The Class API
 */

/*
 * Start of user-defined types:
 */
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class SOMClass;
class SOMObject;
class ODObject;
class ODExtension;

/*
 * End of user-defined types.
 */

/* A procedure to create the ODPlatformCanvas Class */
SOMEXTERN
#if (defined(SOM_Module_PlatCanv_Source) || defined(ODPlatformCanvas_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODPlatformCanvas))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODPlatformCanvasNewClass(
		integer4,
		integer4 );

/* The API to the ODPlatformCanvas class object, and the methods it introduces. */
SOMEXTERN struct ODPlatformCanvasClassDataStructure {
	SOMClass *classObject;
	somMToken CreateConcreteCanvas;
	somMToken GetSystemType;
	somMToken HasWindow;
	somMToken IsInitialized;
	somMToken GetPlatformCanvasType;
}
#if !(defined(SOM_Module_PlatCanv_Source) || defined(ODPlatformCanvas_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODPlatformCanvas))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODPlatformCanvasClassData;
#define _ODPlatformCanvas ODPlatformCanvasClassData.classObject

/* The API to parentMtabs for ODPlatformCanvas, and the instance data it introduces. */
SOMEXTERN struct ODPlatformCanvasCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_PlatCanv_Source) || defined(ODPlatformCanvas_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODPlatformCanvas))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODPlatformCanvasCClassData;

/*
 * -- Typedefs for ODPlatformCanvas Method Procedures
 */
extern "C" {
typedef ODPlatformCanvas*   SOMLINK somTP_ODPlatformCanvas_CreateConcreteCanvas(ODPlatformCanvas *somSelf, Environment *ev,
		ODGraphicsSystem aSystemType,
		ODBoolean isDynamic,
		ODBoolean isOffscreen);
typedef somTP_ODPlatformCanvas_CreateConcreteCanvas *somTD_ODPlatformCanvas_CreateConcreteCanvas;
typedef ODGraphicsSystem   SOMLINK somTP_ODPlatformCanvas_GetSystemType(ODPlatformCanvas *somSelf, Environment *ev);
typedef somTP_ODPlatformCanvas_GetSystemType *somTD_ODPlatformCanvas_GetSystemType;
typedef ODBoolean   SOMLINK somTP_ODPlatformCanvas_HasWindow(ODPlatformCanvas *somSelf, Environment *ev);
typedef somTP_ODPlatformCanvas_HasWindow *somTD_ODPlatformCanvas_HasWindow;
typedef ODBoolean   SOMLINK somTP_ODPlatformCanvas_IsInitialized(ODPlatformCanvas *somSelf, Environment *ev);
typedef somTP_ODPlatformCanvas_IsInitialized *somTD_ODPlatformCanvas_IsInitialized;
typedef ODPlatformCanvasType   SOMLINK somTP_ODPlatformCanvas_GetPlatformCanvasType(ODPlatformCanvas *somSelf, Environment *ev);
typedef somTP_ODPlatformCanvas_GetPlatformCanvasType *somTD_ODPlatformCanvas_GetPlatformCanvasType;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODPlatformCanvas_InitObject(ODPlatformCanvas *somSelf, Environment *ev);
typedef somTP_ODPlatformCanvas_InitObject *somTD_ODPlatformCanvas_InitObject;
typedef ODBoolean   SOMLINK somTP_ODPlatformCanvas_HasExtension(ODPlatformCanvas *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODPlatformCanvas_HasExtension *somTD_ODPlatformCanvas_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODPlatformCanvas_AcquireExtension(ODPlatformCanvas *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODPlatformCanvas_AcquireExtension *somTD_ODPlatformCanvas_AcquireExtension;
typedef void   SOMLINK somTP_ODPlatformCanvas_ReleaseExtension(ODPlatformCanvas *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODPlatformCanvas_ReleaseExtension *somTD_ODPlatformCanvas_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODPlatformCanvas_Purge(ODPlatformCanvas *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODPlatformCanvas_Purge *somTD_ODPlatformCanvas_Purge;
typedef ODBoolean   SOMLINK somTP_ODPlatformCanvas_IsEqualTo(ODPlatformCanvas *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODPlatformCanvas_IsEqualTo *somTD_ODPlatformCanvas_IsEqualTo;
typedef void   SOMLINK somTP_ODPlatformCanvas_SubClassResponsibility(ODPlatformCanvas *somSelf, Environment *ev);
typedef somTP_ODPlatformCanvas_SubClassResponsibility *somTD_ODPlatformCanvas_SubClassResponsibility;
typedef void   SOMLINK somTP_ODPlatformCanvas_somInit(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somInit *somTD_ODPlatformCanvas_somInit;
typedef void   SOMLINK somTP_ODPlatformCanvas_somUninit(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somUninit *somTD_ODPlatformCanvas_somUninit;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDefaultInit(ODPlatformCanvas *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODPlatformCanvas_somDefaultInit *somTD_ODPlatformCanvas_somDefaultInit;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDestruct(ODPlatformCanvas *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODPlatformCanvas_somDestruct *somTD_ODPlatformCanvas_somDestruct;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDefaultCopyInit(ODPlatformCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultCopyInit *somTD_ODPlatformCanvas_somDefaultCopyInit;
typedef ODPlatformCanvas*   SOMLINK somTP_ODPlatformCanvas_somDefaultAssign(ODPlatformCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultAssign *somTD_ODPlatformCanvas_somDefaultAssign;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDefaultConstCopyInit(ODPlatformCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultConstCopyInit *somTD_ODPlatformCanvas_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDefaultVCopyInit(ODPlatformCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultVCopyInit *somTD_ODPlatformCanvas_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDefaultConstVCopyInit(ODPlatformCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultConstVCopyInit *somTD_ODPlatformCanvas_somDefaultConstVCopyInit;
typedef ODPlatformCanvas*   SOMLINK somTP_ODPlatformCanvas_somDefaultConstAssign(ODPlatformCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultConstAssign *somTD_ODPlatformCanvas_somDefaultConstAssign;
typedef ODPlatformCanvas*   SOMLINK somTP_ODPlatformCanvas_somDefaultVAssign(ODPlatformCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultVAssign *somTD_ODPlatformCanvas_somDefaultVAssign;
typedef ODPlatformCanvas*   SOMLINK somTP_ODPlatformCanvas_somDefaultConstVAssign(ODPlatformCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODPlatformCanvas_somDefaultConstVAssign *somTD_ODPlatformCanvas_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODPlatformCanvas_somFree(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somFree *somTD_ODPlatformCanvas_somFree;
typedef SOMClass*   SOMLINK somTP_ODPlatformCanvas_somGetClass(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somGetClass *somTD_ODPlatformCanvas_somGetClass;
typedef string   SOMLINK somTP_ODPlatformCanvas_somGetClassName(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somGetClassName *somTD_ODPlatformCanvas_somGetClassName;
typedef long   SOMLINK somTP_ODPlatformCanvas_somGetSize(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somGetSize *somTD_ODPlatformCanvas_somGetSize;
typedef boolean   SOMLINK somTP_ODPlatformCanvas_somIsA(ODPlatformCanvas *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODPlatformCanvas_somIsA *somTD_ODPlatformCanvas_somIsA;
typedef boolean   SOMLINK somTP_ODPlatformCanvas_somIsInstanceOf(ODPlatformCanvas *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODPlatformCanvas_somIsInstanceOf *somTD_ODPlatformCanvas_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODPlatformCanvas_somRespondsTo(ODPlatformCanvas *somSelf,
		somId mId);
typedef somTP_ODPlatformCanvas_somRespondsTo *somTD_ODPlatformCanvas_somRespondsTo;
typedef boolean   SOMLINK somTP_ODPlatformCanvas_somDispatch(ODPlatformCanvas *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODPlatformCanvas_somDispatch *somTD_ODPlatformCanvas_somDispatch;
typedef boolean   SOMLINK somTP_ODPlatformCanvas_somClassDispatch(ODPlatformCanvas *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODPlatformCanvas_somClassDispatch *somTD_ODPlatformCanvas_somClassDispatch;
typedef boolean   SOMLINK somTP_ODPlatformCanvas_somCastObj(ODPlatformCanvas *somSelf,
		SOMClass* cls);
typedef somTP_ODPlatformCanvas_somCastObj *somTD_ODPlatformCanvas_somCastObj;
typedef boolean   SOMLINK somTP_ODPlatformCanvas_somResetObj(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somResetObj *somTD_ODPlatformCanvas_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODPlatformCanvas_somPrintSelf(ODPlatformCanvas *somSelf);
typedef somTP_ODPlatformCanvas_somPrintSelf *somTD_ODPlatformCanvas_somPrintSelf;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDumpSelf(ODPlatformCanvas *somSelf,
		long level);
typedef somTP_ODPlatformCanvas_somDumpSelf *somTD_ODPlatformCanvas_somDumpSelf;
typedef void   SOMLINK somTP_ODPlatformCanvas_somDumpSelfInt(ODPlatformCanvas *somSelf,
		long level);
typedef somTP_ODPlatformCanvas_somDumpSelfInt *somTD_ODPlatformCanvas_somDumpSelfInt;
}

#endif /* ODPlatformCanvas_API */


/*
 * -- This emitter believes that method thunks are unavailable,
 * -- so somResolve will be called.
 */
#undef somresolve_
#define somresolve_(obj,mToken) (somResolve(obj,mToken))

/*
 * -- The C++ Wrapper Class for ODPlatformCanvas
 */
class ODPlatformCanvas : public ODObject
{
public:

// ODPlatformCanvas::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 (!_ODPlatformCanvas) ODPlatformCanvasNewClass(ODPlatformCanvas_MajorVersion,ODPlatformCanvas_MinorVersion);
   return (void*)
      SOM_Resolve(_ODPlatformCanvas,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODPlatformCanvas));
}

// ODPlatformCanvas::delete uses somDestruct.
void operator delete(void * obj)
{
   if (obj && *(void**)obj) {
      SOM_Resolve(obj,SOMObject,somDestruct)
         ((SOMObject*)obj, 1, 0);
   }
}

ODPlatformCanvas()
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODPlatformCanvasCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

ODPlatformCanvas(ODPlatformCanvas* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODPlatformCanvasCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}

ODPlatformCanvas(const ODPlatformCanvas* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODPlatformCanvasCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: CreateConcreteCanvas */
ODPlatformCanvas*   CreateConcreteCanvas(Environment *ev,
		ODGraphicsSystem aSystemType,
		ODBoolean isDynamic,
		ODBoolean isOffscreen)
{
#ifdef SOMCHKEXCEPT
   ODPlatformCanvas* __somResult = 
      SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,CreateConcreteCanvas)
	(this, ev,aSystemType,isDynamic,isOffscreen);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,CreateConcreteCanvas)
	(this, ev,aSystemType,isDynamic,isOffscreen);
#endif
}


/* method: GetSystemType */
ODGraphicsSystem   GetSystemType(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODGraphicsSystem __somResult = 
      SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,GetSystemType)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,GetSystemType)
	(this, ev);
#endif
}


/* method: HasWindow */
ODBoolean   HasWindow(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,HasWindow)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,HasWindow)
	(this, ev);
#endif
}


/* method: IsInitialized */
ODBoolean   IsInitialized(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,IsInitialized)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,IsInitialized)
	(this, ev);
#endif
}


/* method: GetPlatformCanvasType */
ODPlatformCanvasType   GetPlatformCanvasType(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODPlatformCanvasType __somResult = 
      SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,GetPlatformCanvasType)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODPlatformCanvas,GetPlatformCanvasType)
	(this, ev);
#endif
}


/*
 * Reintroduce inherited methods
 */

/* method: InitObject */
void   InitObject(Environment *ev)
{
   SOM_ResolveD(this,ODPlatformCanvas,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,ODPlatformCanvas,ODObject,HasExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODObject,HasExtension)
	(this, ev,extensionName);
#endif
}


/* method: AcquireExtension */
ODExtension*   AcquireExtension(Environment *ev,
		ODType extensionName)
{
#ifdef SOMCHKEXCEPT
   ODExtension* __somResult = 
      SOM_ResolveD(this,ODPlatformCanvas,ODObject,AcquireExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODObject,AcquireExtension)
	(this, ev,extensionName);
#endif
}


/* method: ReleaseExtension */
void   ReleaseExtension(Environment *ev,
		ODExtension* extension)
{
   SOM_ResolveD(this,ODPlatformCanvas,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,ODPlatformCanvas,ODObject,Purge)
	(this, ev,size);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODObject,Purge)
	(this, ev,size);
#endif
}


/* method: IsEqualTo */
ODBoolean   IsEqualTo(Environment *ev,
		ODObject* object)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODPlatformCanvas,ODObject,IsEqualTo)
	(this, ev,object);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODPlatformCanvas,ODObject,IsEqualTo)
	(this, ev,object);
#endif
}


/* method: SubClassResponsibility */
void   SubClassResponsibility(Environment *ev)
{
   SOM_ResolveD(this,ODPlatformCanvas,ODObject,SubClassResponsibility)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: somInit */
void   somInit()
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somInit)
	(this);
}


/* method: somUninit */
void   somUninit()
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somUninit)
	(this);
}


/* initializer method: somDefaultInit */
void   somDefaultInit(somInitCtrl* ctrl)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultInit)
	(this,ctrl);
}


/* method: somDestruct */
void   somDestruct(octet doFree,
		somDestructCtrl* ctrl)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDestruct)
	(this,doFree,ctrl);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultAssign */
ODPlatformCanvas*  somDefaultAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultAssign)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultConstCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultVCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultConstVCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstAssign */
ODPlatformCanvas*  somDefaultConstAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultConstAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultVAssign */
ODPlatformCanvas*  somDefaultVAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultVAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstVAssign */
ODPlatformCanvas*  somDefaultConstVAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDefaultConstVAssign)
	(this,ctrl,fromObj);
}


/* method: somFree */
void   somFree()
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somFree)
	(this);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somGetClass)
	(this);
}


/* method: somGetClassName */
string   somGetClassName()
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somGetClassName)
	(this);
}


/* method: somGetSize */
long   somGetSize()
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somGetSize)
	(this);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somIsA)
	(this,aClassObj);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somIsInstanceOf)
	(this,aClassObj);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somRespondsTo)
	(this,mId);
}


/* va_list method: somDispatch */
/* the va_list invocation form */
boolean   ODPlatformCanvas_somDispatch(somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODPlatformCanvas,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,ODPlatformCanvas,SOMObject,somDispatch)
	(this,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean   ODPlatformCanvas_somClassDispatch(SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODPlatformCanvas,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,ODPlatformCanvas,SOMObject,somClassDispatch)
	(this,clsObj,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* cls)
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somCastObj)
	(this,cls);
}


/* method: somResetObj */
boolean   somResetObj()
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somResetObj)
	(this);
}


/* method: somPrintSelf */
SOMObject*   somPrintSelf()
{
   return SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somPrintSelf)
	(this);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDumpSelf)
	(this,level);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
   SOM_ResolveD(this,ODPlatformCanvas,SOMObject,somDumpSelfInt)
	(this,level);
}



};   /* ODPlatformCanvas */



#endif       /* SOM_ODPlatformCanvas_xh */
