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

#ifndef SOM_OpenDocShell_xh
#define SOM_OpenDocShell_xh

class OpenDocShell;

#define OpenDocShell_MajorVersion 1
#define OpenDocShell_MinorVersion 0

/*
 * Passthru lines: File: "C.xh", "before"
 */
#ifndef _ODTYPES_
#include "ODTypes.h"
#endif
#ifndef SOM_ODWindowState_xh
#include "WinStat.xh"
#endif


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

/* C++ parent defs */
#ifndef SOM_SOMObject_xh
#include <somobj.xh>
#endif

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class OpenDocShell;
class ODSession;
class ODWindowState;
class ODWindow;
class ODDispatcher;
class DocumentManager;
class somf_TPrimitiveLinkedList;
class somf_TPrimitiveLinkedListIterator;
class ODDraft;

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

/* A procedure to create the OpenDocShell Class */
SOMEXTERN
#if (defined(SOM_Module_ODShell_Source) || defined(OpenDocShell_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_OpenDocShell))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK OpenDocShellNewClass(
		integer4,
		integer4 );

/* The API to the OpenDocShell class object, and the methods it introduces. */
SOMEXTERN struct OpenDocShellClassDataStructure {
	SOMClass *classObject;
	somMToken InitOpenDocShell;
	somMToken DispatchEvent;
	somMToken Terminate;
	somMToken CreateDocumentManager;
	somMToken DeleteDocumentManager;
	somMToken UpdateActiveDocumentManager;
	somMToken GetActiveDocumentManager;
	somMToken SetActiveDocumentManager;
	somMToken CreateDocumentManagerIterator;
	somMToken DeleteDocumentManagerIterator;
	somMToken GetSession;
	somMToken GetDispatcher;
	somMToken GetWindowState;
	somMToken SubClassResponsibility;
	somMToken GetWindowSystemData;
	somMToken SetWindowSystemData;
	somMToken GetArgc;
	somMToken SetArgc;
	somMToken GetArgv;
	somMToken SetArgv;
	somMToken GetDocumentManagerOfDraft;
}
#if !(defined(SOM_Module_ODShell_Source) || defined(OpenDocShell_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_OpenDocShell))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK OpenDocShellClassData;
#define _OpenDocShell OpenDocShellClassData.classObject

/* The API to parentMtabs for OpenDocShell, and the instance data it introduces. */
SOMEXTERN struct OpenDocShellCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_ODShell_Source) || defined(OpenDocShell_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_OpenDocShell))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK OpenDocShellCClassData;

/*
 * -- Typedefs for OpenDocShell Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_OpenDocShell_InitOpenDocShell(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_InitOpenDocShell *somTD_OpenDocShell_InitOpenDocShell;
typedef ODBoolean   SOMLINK somTP_OpenDocShell_DispatchEvent(OpenDocShell *somSelf, Environment *ev,
		ODEventData* event);
typedef somTP_OpenDocShell_DispatchEvent *somTD_OpenDocShell_DispatchEvent;
typedef void   SOMLINK somTP_OpenDocShell_Terminate(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_Terminate *somTD_OpenDocShell_Terminate;
typedef DocumentManager*   SOMLINK somTP_OpenDocShell_CreateDocumentManager(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_CreateDocumentManager *somTD_OpenDocShell_CreateDocumentManager;
typedef void   SOMLINK somTP_OpenDocShell_DeleteDocumentManager(OpenDocShell *somSelf, Environment *ev,
		DocumentManager* docMgr);
typedef somTP_OpenDocShell_DeleteDocumentManager *somTD_OpenDocShell_DeleteDocumentManager;
typedef void   SOMLINK somTP_OpenDocShell_UpdateActiveDocumentManager(OpenDocShell *somSelf, Environment *ev,
		ODWindow* odWindow);
typedef somTP_OpenDocShell_UpdateActiveDocumentManager *somTD_OpenDocShell_UpdateActiveDocumentManager;
typedef DocumentManager*   SOMLINK somTP_OpenDocShell_GetActiveDocumentManager(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_GetActiveDocumentManager *somTD_OpenDocShell_GetActiveDocumentManager;
typedef void   SOMLINK somTP_OpenDocShell_SetActiveDocumentManager(OpenDocShell *somSelf, Environment *ev,
		DocumentManager* docMgr);
typedef somTP_OpenDocShell_SetActiveDocumentManager *somTD_OpenDocShell_SetActiveDocumentManager;
typedef DocumentManager*   SOMLINK somTP_OpenDocShell_GetDocumentManagerOfDraft(OpenDocShell *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_OpenDocShell_GetDocumentManagerOfDraft *somTD_OpenDocShell_GetDocumentManagerOfDraft;
typedef somf_TPrimitiveLinkedListIterator*   SOMLINK somTP_OpenDocShell_CreateDocumentManagerIterator(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_CreateDocumentManagerIterator *somTD_OpenDocShell_CreateDocumentManagerIterator;
typedef void   SOMLINK somTP_OpenDocShell_DeleteDocumentManagerIterator(OpenDocShell *somSelf, Environment *ev,
		somf_TPrimitiveLinkedListIterator* docMgrIter);
typedef somTP_OpenDocShell_DeleteDocumentManagerIterator *somTD_OpenDocShell_DeleteDocumentManagerIterator;
typedef ODSession*   SOMLINK somTP_OpenDocShell_GetSession(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_GetSession *somTD_OpenDocShell_GetSession;
typedef ODDispatcher*   SOMLINK somTP_OpenDocShell_GetDispatcher(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_GetDispatcher *somTD_OpenDocShell_GetDispatcher;
typedef ODWindowState*   SOMLINK somTP_OpenDocShell_GetWindowState(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_GetWindowState *somTD_OpenDocShell_GetWindowState;
typedef void   SOMLINK somTP_OpenDocShell_SubClassResponsibility(OpenDocShell *somSelf, Environment *ev,
		char* methodName);
typedef somTP_OpenDocShell_SubClassResponsibility *somTD_OpenDocShell_SubClassResponsibility;
typedef WindowSystemData*   SOMLINK somTP_OpenDocShell_GetWindowSystemData(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_GetWindowSystemData *somTD_OpenDocShell_GetWindowSystemData;
typedef void   SOMLINK somTP_OpenDocShell_SetWindowSystemData(OpenDocShell *somSelf, Environment *ev,
		WindowSystemData* windowSystemData);
typedef somTP_OpenDocShell_SetWindowSystemData *somTD_OpenDocShell_SetWindowSystemData;
typedef long   SOMLINK somTP_OpenDocShell_GetArgc(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_GetArgc *somTD_OpenDocShell_GetArgc;
typedef void   SOMLINK somTP_OpenDocShell_SetArgc(OpenDocShell *somSelf, Environment *ev,
		long argc);
typedef somTP_OpenDocShell_SetArgc *somTD_OpenDocShell_SetArgc;
typedef char**   SOMLINK somTP_OpenDocShell_GetArgv(OpenDocShell *somSelf, Environment *ev);
typedef somTP_OpenDocShell_GetArgv *somTD_OpenDocShell_GetArgv;
typedef void   SOMLINK somTP_OpenDocShell_SetArgv(OpenDocShell *somSelf, Environment *ev,
		char** argv);
typedef somTP_OpenDocShell_SetArgv *somTD_OpenDocShell_SetArgv;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_OpenDocShell_somDefaultInit(OpenDocShell *somSelf,
		somInitCtrl* ctrl);
typedef somTP_OpenDocShell_somDefaultInit *somTD_OpenDocShell_somDefaultInit;
typedef void   SOMLINK somTP_OpenDocShell_somDestruct(OpenDocShell *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_OpenDocShell_somDestruct *somTD_OpenDocShell_somDestruct;
typedef void   SOMLINK somTP_OpenDocShell_somDefaultCopyInit(OpenDocShell *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultCopyInit *somTD_OpenDocShell_somDefaultCopyInit;
typedef OpenDocShell*   SOMLINK somTP_OpenDocShell_somDefaultAssign(OpenDocShell *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultAssign *somTD_OpenDocShell_somDefaultAssign;
typedef void   SOMLINK somTP_OpenDocShell_somDefaultConstCopyInit(OpenDocShell *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultConstCopyInit *somTD_OpenDocShell_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_OpenDocShell_somDefaultVCopyInit(OpenDocShell *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultVCopyInit *somTD_OpenDocShell_somDefaultVCopyInit;
typedef void   SOMLINK somTP_OpenDocShell_somDefaultConstVCopyInit(OpenDocShell *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultConstVCopyInit *somTD_OpenDocShell_somDefaultConstVCopyInit;
typedef OpenDocShell*   SOMLINK somTP_OpenDocShell_somDefaultConstAssign(OpenDocShell *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultConstAssign *somTD_OpenDocShell_somDefaultConstAssign;
typedef OpenDocShell*   SOMLINK somTP_OpenDocShell_somDefaultVAssign(OpenDocShell *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultVAssign *somTD_OpenDocShell_somDefaultVAssign;
typedef OpenDocShell*   SOMLINK somTP_OpenDocShell_somDefaultConstVAssign(OpenDocShell *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_OpenDocShell_somDefaultConstVAssign *somTD_OpenDocShell_somDefaultConstVAssign;
typedef void   SOMLINK somTP_OpenDocShell_somInit(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somInit *somTD_OpenDocShell_somInit;
typedef void   SOMLINK somTP_OpenDocShell_somFree(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somFree *somTD_OpenDocShell_somFree;
typedef void   SOMLINK somTP_OpenDocShell_somUninit(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somUninit *somTD_OpenDocShell_somUninit;
typedef SOMClass*   SOMLINK somTP_OpenDocShell_somGetClass(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somGetClass *somTD_OpenDocShell_somGetClass;
typedef string   SOMLINK somTP_OpenDocShell_somGetClassName(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somGetClassName *somTD_OpenDocShell_somGetClassName;
typedef long   SOMLINK somTP_OpenDocShell_somGetSize(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somGetSize *somTD_OpenDocShell_somGetSize;
typedef boolean   SOMLINK somTP_OpenDocShell_somIsA(OpenDocShell *somSelf,
		SOMClass* aClassObj);
typedef somTP_OpenDocShell_somIsA *somTD_OpenDocShell_somIsA;
typedef boolean   SOMLINK somTP_OpenDocShell_somIsInstanceOf(OpenDocShell *somSelf,
		SOMClass* aClassObj);
typedef somTP_OpenDocShell_somIsInstanceOf *somTD_OpenDocShell_somIsInstanceOf;
typedef boolean   SOMLINK somTP_OpenDocShell_somRespondsTo(OpenDocShell *somSelf,
		somId mId);
typedef somTP_OpenDocShell_somRespondsTo *somTD_OpenDocShell_somRespondsTo;
typedef boolean   SOMLINK somTP_OpenDocShell_somDispatch(OpenDocShell *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_OpenDocShell_somDispatch *somTD_OpenDocShell_somDispatch;
typedef boolean   SOMLINK somTP_OpenDocShell_somClassDispatch(OpenDocShell *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_OpenDocShell_somClassDispatch *somTD_OpenDocShell_somClassDispatch;
typedef boolean   SOMLINK somTP_OpenDocShell_somCastObj(OpenDocShell *somSelf,
		SOMClass* cls);
typedef somTP_OpenDocShell_somCastObj *somTD_OpenDocShell_somCastObj;
typedef boolean   SOMLINK somTP_OpenDocShell_somResetObj(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somResetObj *somTD_OpenDocShell_somResetObj;
typedef SOMObject*   SOMLINK somTP_OpenDocShell_somPrintSelf(OpenDocShell *somSelf);
typedef somTP_OpenDocShell_somPrintSelf *somTD_OpenDocShell_somPrintSelf;
typedef void   SOMLINK somTP_OpenDocShell_somDumpSelf(OpenDocShell *somSelf,
		long level);
typedef somTP_OpenDocShell_somDumpSelf *somTD_OpenDocShell_somDumpSelf;
typedef void   SOMLINK somTP_OpenDocShell_somDumpSelfInt(OpenDocShell *somSelf,
		long level);
typedef somTP_OpenDocShell_somDumpSelfInt *somTD_OpenDocShell_somDumpSelfInt;
}

#endif /* OpenDocShell_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 OpenDocShell
 */
class OpenDocShell : public SOMObject
{
public:

// OpenDocShell::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 (!_OpenDocShell) OpenDocShellNewClass(OpenDocShell_MajorVersion,OpenDocShell_MinorVersion);
   return (void*)
      SOM_Resolve(_OpenDocShell,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_OpenDocShell));
}

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

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

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

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* OpenDocShell */



#endif       /* SOM_OpenDocShell_xh */
