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

#ifndef SOM_ODWindowState_xh
#define SOM_ODWindowState_xh

class ODWindowState;

#define ODWindowState_MajorVersion 1
#define ODWindowState_MinorVersion 0

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

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

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODWindowState;
class ODCanvas;
class ODDraft;
class ODMenuBar;
class ODPart;
class ODShape;
class ODTransform;
class ODWindow;
class ODWindowIterator;
class ODPopup;

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

/* A procedure to create the ODWindowState Class */
SOMEXTERN
#if (defined(SOM_Module_WinStat_Source) || defined(ODWindowState_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODWindowState))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODWindowStateNewClass(
		integer4,
		integer4 );

/* The API to the ODWindowState class object, and the methods it introduces. */
SOMEXTERN struct ODWindowStateClassDataStructure {
	SOMClass *classObject;
	somMToken RegisterWindow;
	somMToken RegisterWindowForFrame;
	somMToken AcquireWindow;
	somMToken Internalize;
	somMToken Externalize;
	somMToken SetDefaultWindowTitles;
	somMToken OpenWindows;
	somMToken CloseWindows;
	somMToken GetWindowCount;
	somMToken GetRootWindowCount;
	somMToken GetTotalRootWindowCount;
	somMToken IsODWindow;
	somMToken AcquireODWindow;
	somMToken CreateWindowIterator;
	somMToken AcquireActiveWindow;
	somMToken SetBaseMenuBar;
	somMToken CopyBaseMenuBar;
	somMToken AdjustPartMenus;
	somMToken CreatePopupMenuEx;
	somMToken CreateMenuBarEx;
	somMToken CreatePopupMenu;
	somMToken CreateMenuBar;
	somMToken CreateCanvas;
	somMToken CreateFacet;
	somMToken AcquireCurrentMenuBar;
	somMToken AcquireBaseMenuBar;
	somMToken AcquireFrontWindow;
	somMToken AcquireFrontFloatingWindow;
	somMToken AcquireFrontRootWindow;
	somMToken SetBasePopup;
	somMToken CopyBasePopup;
	somMToken AcquireCurrentPopupMenu;
	somMToken AcquireBasePopupMenu;
	somMToken CreatePlatformWindow;
	somMToken reserved1;
	somMToken reserved2;
	somMToken reserved3;
	somMToken reserved4;
	somMToken reserved5;
	somMToken reserved6;
	somMToken reserved7;
	somMToken reserved8;
	somMToken reserved9;
	somMToken reserved10;
	somMToken reserved11;
	somMToken reserved12;
	somMToken reserved13;
	somMToken reserved14;
	somMToken reserved15;
	somMToken reserved16;
	somMToken reserved17;
	somMToken reserved18;
	somMToken reserved19;
	somMToken reserved20;
	somMToken reserved21;
	somMToken reserved22;
	somMToken reserved23;
}
#if !(defined(SOM_Module_WinStat_Source) || defined(ODWindowState_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODWindowState))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODWindowStateClassData;
#define _ODWindowState ODWindowStateClassData.classObject

/* The API to parentMtabs for ODWindowState, and the instance data it introduces. */
SOMEXTERN struct ODWindowStateCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_WinStat_Source) || defined(ODWindowState_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODWindowState))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODWindowStateCClassData;

/*
 * -- Typedefs for ODWindowState Method Procedures
 */
extern "C" {
typedef ODWindow*   SOMLINK somTP_ODWindowState_RegisterWindow(ODWindowState *somSelf, Environment *ev,
		ODPlatformWindow newWindow,
		ODType frameType,
		ODBoolean isRootWindow,
		ODBoolean isResizable,
		ODBoolean isFloating,
		ODBoolean shouldSave,
		ODBoolean shouldDispose,
		ODPart* rootPart,
		ODTypeToken viewType,
		ODTypeToken presentation,
		ODFrame* sourceFrame);
typedef somTP_ODWindowState_RegisterWindow *somTD_ODWindowState_RegisterWindow;
typedef ODWindow*   SOMLINK somTP_ODWindowState_RegisterWindowForFrame(ODWindowState *somSelf, Environment *ev,
		ODPlatformWindow newWindow,
		ODFrame* frame,
		ODBoolean isRootWindow,
		ODBoolean isResizable,
		ODBoolean isFloating,
		ODBoolean shouldSave,
		ODBoolean shouldDispose,
		ODFrame* sourceFrame);
typedef somTP_ODWindowState_RegisterWindowForFrame *somTD_ODWindowState_RegisterWindowForFrame;
typedef ODWindow*   SOMLINK somTP_ODWindowState_AcquireWindow(ODWindowState *somSelf, Environment *ev,
		ODID id);
typedef somTP_ODWindowState_AcquireWindow *somTD_ODWindowState_AcquireWindow;
typedef void   SOMLINK somTP_ODWindowState_Internalize(ODWindowState *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODWindowState_Internalize *somTD_ODWindowState_Internalize;
typedef void   SOMLINK somTP_ODWindowState_Externalize(ODWindowState *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODWindowState_Externalize *somTD_ODWindowState_Externalize;
typedef void   SOMLINK somTP_ODWindowState_SetDefaultWindowTitles(ODWindowState *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODWindowState_SetDefaultWindowTitles *somTD_ODWindowState_SetDefaultWindowTitles;
typedef void   SOMLINK somTP_ODWindowState_OpenWindows(ODWindowState *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODWindowState_OpenWindows *somTD_ODWindowState_OpenWindows;
typedef void   SOMLINK somTP_ODWindowState_CloseWindows(ODWindowState *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODWindowState_CloseWindows *somTD_ODWindowState_CloseWindows;
typedef ODUShort   SOMLINK somTP_ODWindowState_GetWindowCount(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_GetWindowCount *somTD_ODWindowState_GetWindowCount;
typedef ODUShort   SOMLINK somTP_ODWindowState_GetRootWindowCount(ODWindowState *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODWindowState_GetRootWindowCount *somTD_ODWindowState_GetRootWindowCount;
typedef ODUShort   SOMLINK somTP_ODWindowState_GetTotalRootWindowCount(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_GetTotalRootWindowCount *somTD_ODWindowState_GetTotalRootWindowCount;
typedef ODBoolean   SOMLINK somTP_ODWindowState_IsODWindow(ODWindowState *somSelf, Environment *ev,
		ODPlatformWindow aWindow);
typedef somTP_ODWindowState_IsODWindow *somTD_ODWindowState_IsODWindow;
typedef ODWindow*   SOMLINK somTP_ODWindowState_AcquireODWindow(ODWindowState *somSelf, Environment *ev,
		ODPlatformWindow aWindow);
typedef somTP_ODWindowState_AcquireODWindow *somTD_ODWindowState_AcquireODWindow;
typedef ODWindowIterator*   SOMLINK somTP_ODWindowState_CreateWindowIterator(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_CreateWindowIterator *somTD_ODWindowState_CreateWindowIterator;
typedef ODWindow*   SOMLINK somTP_ODWindowState_AcquireActiveWindow(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireActiveWindow *somTD_ODWindowState_AcquireActiveWindow;
typedef void   SOMLINK somTP_ODWindowState_SetBaseMenuBar(ODWindowState *somSelf, Environment *ev,
		ODMenuBar* theMenuBar);
typedef somTP_ODWindowState_SetBaseMenuBar *somTD_ODWindowState_SetBaseMenuBar;
typedef ODMenuBar*   SOMLINK somTP_ODWindowState_CopyBaseMenuBar(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_CopyBaseMenuBar *somTD_ODWindowState_CopyBaseMenuBar;
typedef void   SOMLINK somTP_ODWindowState_AdjustPartMenus(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AdjustPartMenus *somTD_ODWindowState_AdjustPartMenus;
typedef ODPopup*   SOMLINK somTP_ODWindowState_CreatePopupMenuEx(ODWindowState *somSelf, Environment *ev,
		ODPlatformMenuBar popupMenu,
		ODUShort subMenuIDcount,
		ODMenuIDInfo* subMenuIDinfo);
typedef somTP_ODWindowState_CreatePopupMenuEx *somTD_ODWindowState_CreatePopupMenuEx;
typedef ODMenuBar*   SOMLINK somTP_ODWindowState_CreateMenuBarEx(ODWindowState *somSelf, Environment *ev,
		ODPlatformMenuBar menuBar,
		ODUShort subMenuIDcount,
		ODMenuIDInfo* subMenuIDinfo);
typedef somTP_ODWindowState_CreateMenuBarEx *somTD_ODWindowState_CreateMenuBarEx;
typedef ODPopup*   SOMLINK somTP_ODWindowState_CreatePopupMenu(ODWindowState *somSelf, Environment *ev,
		ODPlatformMenuBar popupMenu);
typedef somTP_ODWindowState_CreatePopupMenu *somTD_ODWindowState_CreatePopupMenu;
typedef ODMenuBar*   SOMLINK somTP_ODWindowState_CreateMenuBar(ODWindowState *somSelf, Environment *ev,
		ODPlatformMenuBar menuBar);
typedef somTP_ODWindowState_CreateMenuBar *somTD_ODWindowState_CreateMenuBar;
typedef ODCanvas*   SOMLINK somTP_ODWindowState_CreateCanvas(ODWindowState *somSelf, Environment *ev,
		ODGraphicsSystem graphicsSystem,
		ODPlatformCanvas* platformCanvas,
		ODBoolean isDynamic,
		ODBoolean isOffscreen);
typedef somTP_ODWindowState_CreateCanvas *somTD_ODWindowState_CreateCanvas;
typedef ODFacet*   SOMLINK somTP_ODWindowState_CreateFacet(ODWindowState *somSelf, Environment *ev,
		ODFrame* frame,
		ODShape* clipShape,
		ODTransform* externalTransform,
		ODCanvas* canvas,
		ODCanvas* biasCanvas);
typedef somTP_ODWindowState_CreateFacet *somTD_ODWindowState_CreateFacet;
typedef ODMenuBar*   SOMLINK somTP_ODWindowState_AcquireCurrentMenuBar(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireCurrentMenuBar *somTD_ODWindowState_AcquireCurrentMenuBar;
typedef ODMenuBar*   SOMLINK somTP_ODWindowState_AcquireBaseMenuBar(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireBaseMenuBar *somTD_ODWindowState_AcquireBaseMenuBar;
typedef ODWindow*   SOMLINK somTP_ODWindowState_AcquireFrontWindow(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireFrontWindow *somTD_ODWindowState_AcquireFrontWindow;
typedef ODWindow*   SOMLINK somTP_ODWindowState_AcquireFrontFloatingWindow(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireFrontFloatingWindow *somTD_ODWindowState_AcquireFrontFloatingWindow;
typedef ODWindow*   SOMLINK somTP_ODWindowState_AcquireFrontRootWindow(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireFrontRootWindow *somTD_ODWindowState_AcquireFrontRootWindow;
typedef void   SOMLINK somTP_ODWindowState_SetBasePopup(ODWindowState *somSelf, Environment *ev,
		ODPopup* thePopup);
typedef somTP_ODWindowState_SetBasePopup *somTD_ODWindowState_SetBasePopup;
typedef ODPopup*   SOMLINK somTP_ODWindowState_CopyBasePopup(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_CopyBasePopup *somTD_ODWindowState_CopyBasePopup;
typedef ODPopup*   SOMLINK somTP_ODWindowState_AcquireCurrentPopupMenu(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireCurrentPopupMenu *somTD_ODWindowState_AcquireCurrentPopupMenu;
typedef ODPopup*   SOMLINK somTP_ODWindowState_AcquireBasePopupMenu(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_AcquireBasePopupMenu *somTD_ODWindowState_AcquireBasePopupMenu;
typedef ODPlatformWindow   SOMLINK somTP_ODWindowState_CreatePlatformWindow(ODWindowState *somSelf, Environment *ev,
		ODBoolean isFloating);
typedef somTP_ODWindowState_CreatePlatformWindow *somTD_ODWindowState_CreatePlatformWindow;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODWindowState_InitObject(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_InitObject *somTD_ODWindowState_InitObject;
typedef ODBoolean   SOMLINK somTP_ODWindowState_HasExtension(ODWindowState *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODWindowState_HasExtension *somTD_ODWindowState_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODWindowState_AcquireExtension(ODWindowState *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODWindowState_AcquireExtension *somTD_ODWindowState_AcquireExtension;
typedef void   SOMLINK somTP_ODWindowState_ReleaseExtension(ODWindowState *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODWindowState_ReleaseExtension *somTD_ODWindowState_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODWindowState_Purge(ODWindowState *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODWindowState_Purge *somTD_ODWindowState_Purge;
typedef ODBoolean   SOMLINK somTP_ODWindowState_IsEqualTo(ODWindowState *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODWindowState_IsEqualTo *somTD_ODWindowState_IsEqualTo;
typedef void   SOMLINK somTP_ODWindowState_SubClassResponsibility(ODWindowState *somSelf, Environment *ev);
typedef somTP_ODWindowState_SubClassResponsibility *somTD_ODWindowState_SubClassResponsibility;
typedef void   SOMLINK somTP_ODWindowState_somInit(ODWindowState *somSelf);
typedef somTP_ODWindowState_somInit *somTD_ODWindowState_somInit;
typedef void   SOMLINK somTP_ODWindowState_somUninit(ODWindowState *somSelf);
typedef somTP_ODWindowState_somUninit *somTD_ODWindowState_somUninit;
typedef void   SOMLINK somTP_ODWindowState_somDefaultInit(ODWindowState *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODWindowState_somDefaultInit *somTD_ODWindowState_somDefaultInit;
typedef void   SOMLINK somTP_ODWindowState_somDestruct(ODWindowState *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODWindowState_somDestruct *somTD_ODWindowState_somDestruct;
typedef void   SOMLINK somTP_ODWindowState_somDefaultCopyInit(ODWindowState *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultCopyInit *somTD_ODWindowState_somDefaultCopyInit;
typedef ODWindowState*   SOMLINK somTP_ODWindowState_somDefaultAssign(ODWindowState *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultAssign *somTD_ODWindowState_somDefaultAssign;
typedef void   SOMLINK somTP_ODWindowState_somDefaultConstCopyInit(ODWindowState *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultConstCopyInit *somTD_ODWindowState_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODWindowState_somDefaultVCopyInit(ODWindowState *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultVCopyInit *somTD_ODWindowState_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODWindowState_somDefaultConstVCopyInit(ODWindowState *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultConstVCopyInit *somTD_ODWindowState_somDefaultConstVCopyInit;
typedef ODWindowState*   SOMLINK somTP_ODWindowState_somDefaultConstAssign(ODWindowState *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultConstAssign *somTD_ODWindowState_somDefaultConstAssign;
typedef ODWindowState*   SOMLINK somTP_ODWindowState_somDefaultVAssign(ODWindowState *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultVAssign *somTD_ODWindowState_somDefaultVAssign;
typedef ODWindowState*   SOMLINK somTP_ODWindowState_somDefaultConstVAssign(ODWindowState *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODWindowState_somDefaultConstVAssign *somTD_ODWindowState_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODWindowState_somFree(ODWindowState *somSelf);
typedef somTP_ODWindowState_somFree *somTD_ODWindowState_somFree;
typedef SOMClass*   SOMLINK somTP_ODWindowState_somGetClass(ODWindowState *somSelf);
typedef somTP_ODWindowState_somGetClass *somTD_ODWindowState_somGetClass;
typedef string   SOMLINK somTP_ODWindowState_somGetClassName(ODWindowState *somSelf);
typedef somTP_ODWindowState_somGetClassName *somTD_ODWindowState_somGetClassName;
typedef long   SOMLINK somTP_ODWindowState_somGetSize(ODWindowState *somSelf);
typedef somTP_ODWindowState_somGetSize *somTD_ODWindowState_somGetSize;
typedef boolean   SOMLINK somTP_ODWindowState_somIsA(ODWindowState *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODWindowState_somIsA *somTD_ODWindowState_somIsA;
typedef boolean   SOMLINK somTP_ODWindowState_somIsInstanceOf(ODWindowState *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODWindowState_somIsInstanceOf *somTD_ODWindowState_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODWindowState_somRespondsTo(ODWindowState *somSelf,
		somId mId);
typedef somTP_ODWindowState_somRespondsTo *somTD_ODWindowState_somRespondsTo;
typedef boolean   SOMLINK somTP_ODWindowState_somDispatch(ODWindowState *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODWindowState_somDispatch *somTD_ODWindowState_somDispatch;
typedef boolean   SOMLINK somTP_ODWindowState_somClassDispatch(ODWindowState *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODWindowState_somClassDispatch *somTD_ODWindowState_somClassDispatch;
typedef boolean   SOMLINK somTP_ODWindowState_somCastObj(ODWindowState *somSelf,
		SOMClass* cls);
typedef somTP_ODWindowState_somCastObj *somTD_ODWindowState_somCastObj;
typedef boolean   SOMLINK somTP_ODWindowState_somResetObj(ODWindowState *somSelf);
typedef somTP_ODWindowState_somResetObj *somTD_ODWindowState_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODWindowState_somPrintSelf(ODWindowState *somSelf);
typedef somTP_ODWindowState_somPrintSelf *somTD_ODWindowState_somPrintSelf;
typedef void   SOMLINK somTP_ODWindowState_somDumpSelf(ODWindowState *somSelf,
		long level);
typedef somTP_ODWindowState_somDumpSelf *somTD_ODWindowState_somDumpSelf;
typedef void   SOMLINK somTP_ODWindowState_somDumpSelfInt(ODWindowState *somSelf,
		long level);
typedef somTP_ODWindowState_somDumpSelfInt *somTD_ODWindowState_somDumpSelfInt;
}

#endif /* ODWindowState_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 ODWindowState
 */
class ODWindowState : public ODObject
{
public:

// ODWindowState::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 (!_ODWindowState) ODWindowStateNewClass(ODWindowState_MajorVersion,ODWindowState_MinorVersion);
   return (void*)
      SOM_Resolve(_ODWindowState,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODWindowState));
}

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

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

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

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


/* method: RegisterWindow */
ODWindow*   RegisterWindow(Environment *ev,
		ODPlatformWindow newWindow,
		ODType frameType,
		ODBoolean isRootWindow,
		ODBoolean isResizable,
		ODBoolean isFloating,
		ODBoolean shouldSave,
		ODBoolean shouldDispose,
		ODPart* rootPart,
		ODTypeToken viewType,
		ODTypeToken presentation,
		ODFrame* sourceFrame)
{
#ifdef SOMCHKEXCEPT
   ODWindow* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,RegisterWindow)
	(this, ev,newWindow,frameType,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,rootPart,viewType,presentation,sourceFrame);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,RegisterWindow)
	(this, ev,newWindow,frameType,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,rootPart,viewType,presentation,sourceFrame);
#endif
}


/* method: RegisterWindowForFrame */
ODWindow*   RegisterWindowForFrame(Environment *ev,
		ODPlatformWindow newWindow,
		ODFrame* frame,
		ODBoolean isRootWindow,
		ODBoolean isResizable,
		ODBoolean isFloating,
		ODBoolean shouldSave,
		ODBoolean shouldDispose,
		ODFrame* sourceFrame)
{
#ifdef SOMCHKEXCEPT
   ODWindow* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,RegisterWindowForFrame)
	(this, ev,newWindow,frame,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,sourceFrame);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,RegisterWindowForFrame)
	(this, ev,newWindow,frame,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,sourceFrame);
#endif
}


/* method: AcquireWindow */
ODWindow*   AcquireWindow(Environment *ev,
		ODID id)
{
#ifdef SOMCHKEXCEPT
   ODWindow* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,AcquireWindow)
	(this, ev,id);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,AcquireWindow)
	(this, ev,id);
#endif
}


/* method: Internalize */
void   Internalize(Environment *ev,
		ODDraft* draft)
{
   SOM_ResolveD(this,ODWindowState,ODWindowState,Internalize)
	(this, ev,draft);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Externalize */
void   Externalize(Environment *ev,
		ODDraft* draft)
{
   SOM_ResolveD(this,ODWindowState,ODWindowState,Externalize)
	(this, ev,draft);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: SetDefaultWindowTitles */
void   SetDefaultWindowTitles(Environment *ev,
		ODDraft* draft)
{
   SOM_ResolveD(this,ODWindowState,ODWindowState,SetDefaultWindowTitles)
	(this, ev,draft);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: OpenWindows */
void   OpenWindows(Environment *ev,
		ODDraft* draft)
{
   SOM_ResolveD(this,ODWindowState,ODWindowState,OpenWindows)
	(this, ev,draft);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: CloseWindows */
void   CloseWindows(Environment *ev,
		ODDraft* draft)
{
   SOM_ResolveD(this,ODWindowState,ODWindowState,CloseWindows)
	(this, ev,draft);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


/* method: GetRootWindowCount */
ODUShort   GetRootWindowCount(Environment *ev,
		ODDraft* draft)
{
#ifdef SOMCHKEXCEPT
   ODUShort __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,GetRootWindowCount)
	(this, ev,draft);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,GetRootWindowCount)
	(this, ev,draft);
#endif
}


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


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


/* method: AcquireODWindow */
ODWindow*   AcquireODWindow(Environment *ev,
		ODPlatformWindow aWindow)
{
#ifdef SOMCHKEXCEPT
   ODWindow* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,AcquireODWindow)
	(this, ev,aWindow);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,AcquireODWindow)
	(this, ev,aWindow);
#endif
}


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


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


/* method: SetBaseMenuBar */
void   SetBaseMenuBar(Environment *ev,
		ODMenuBar* theMenuBar)
{
   SOM_ResolveD(this,ODWindowState,ODWindowState,SetBaseMenuBar)
	(this, ev,theMenuBar);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


/* method: CreatePopupMenuEx */
ODPopup*   CreatePopupMenuEx(Environment *ev,
		ODPlatformMenuBar popupMenu,
		ODUShort subMenuIDcount,
		ODMenuIDInfo* subMenuIDinfo)
{
#ifdef SOMCHKEXCEPT
   ODPopup* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,CreatePopupMenuEx)
	(this, ev,popupMenu,subMenuIDcount,subMenuIDinfo);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,CreatePopupMenuEx)
	(this, ev,popupMenu,subMenuIDcount,subMenuIDinfo);
#endif
}


/* method: CreateMenuBarEx */
ODMenuBar*   CreateMenuBarEx(Environment *ev,
		ODPlatformMenuBar menuBar,
		ODUShort subMenuIDcount,
		ODMenuIDInfo* subMenuIDinfo)
{
#ifdef SOMCHKEXCEPT
   ODMenuBar* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,CreateMenuBarEx)
	(this, ev,menuBar,subMenuIDcount,subMenuIDinfo);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,CreateMenuBarEx)
	(this, ev,menuBar,subMenuIDcount,subMenuIDinfo);
#endif
}


/* method: CreatePopupMenu */
ODPopup*   CreatePopupMenu(Environment *ev,
		ODPlatformMenuBar popupMenu)
{
#ifdef SOMCHKEXCEPT
   ODPopup* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,CreatePopupMenu)
	(this, ev,popupMenu);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,CreatePopupMenu)
	(this, ev,popupMenu);
#endif
}


/* method: CreateMenuBar */
ODMenuBar*   CreateMenuBar(Environment *ev,
		ODPlatformMenuBar menuBar)
{
#ifdef SOMCHKEXCEPT
   ODMenuBar* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,CreateMenuBar)
	(this, ev,menuBar);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,CreateMenuBar)
	(this, ev,menuBar);
#endif
}


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


/* method: CreateFacet */
ODFacet*   CreateFacet(Environment *ev,
		ODFrame* frame,
		ODShape* clipShape,
		ODTransform* externalTransform,
		ODCanvas* canvas,
		ODCanvas* biasCanvas)
{
#ifdef SOMCHKEXCEPT
   ODFacet* __somResult = 
      SOM_ResolveD(this,ODWindowState,ODWindowState,CreateFacet)
	(this, ev,frame,clipShape,externalTransform,canvas,biasCanvas);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODWindowState,ODWindowState,CreateFacet)
	(this, ev,frame,clipShape,externalTransform,canvas,biasCanvas);
#endif
}


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


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


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


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


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


/* method: SetBasePopup */
void   SetBasePopup(Environment *ev,
		ODPopup* thePopup)
{
   SOM_ResolveD(this,ODWindowState,ODWindowState,SetBasePopup)
	(this, ev,thePopup);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODWindowState */



#endif       /* SOM_ODWindowState_xh */
