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

#ifndef SOM_ODLotusScriptComponent_xh
#define SOM_ODLotusScriptComponent_xh

class ODLotusScriptComponent;

#define ODLotusScriptComponent_MajorVersion 0
#define ODLotusScriptComponent_MinorVersion 0

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

/* C++ parent defs */
#ifndef SOM_ODScriptComponent_xh
#include <scrcomp.xh>
#endif

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class Component;
class ODScriptComponent;
class ODScriptExtension;
class ODLotusScriptComponent;
class LotusScriptComponent;

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

/* A procedure to create the ODLotusScriptComponent Class */
SOMEXTERN
#if (defined(SOM_Module_slscrcmp_Source) || defined(ODLotusScriptComponent_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODLotusScriptComponent))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODLotusScriptComponentNewClass(
		integer4,
		integer4 );

/* The API to the ODLotusScriptComponent class object, and the methods it introduces. */
SOMEXTERN struct ODLotusScriptComponentClassDataStructure {
	SOMClass *classObject;
}
#if !(defined(SOM_Module_slscrcmp_Source) || defined(ODLotusScriptComponent_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODLotusScriptComponent))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODLotusScriptComponentClassData;
#define _ODLotusScriptComponent ODLotusScriptComponentClassData.classObject

/* The API to parentMtabs for ODLotusScriptComponent, and the instance data it introduces. */
SOMEXTERN struct ODLotusScriptComponentCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_slscrcmp_Source) || defined(ODLotusScriptComponent_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODLotusScriptComponent))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODLotusScriptComponentCClassData;

/*
 * -- Typedefs for ODLotusScriptComponent Method Procedures
 */
extern "C" {

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_InitScriptComponent(ODLotusScriptComponent *somSelf, Environment *ev,
		ODScriptExtension* theExt,
		ODBoolean hasInitData);
typedef somTP_ODLotusScriptComponent_InitScriptComponent *somTD_ODLotusScriptComponent_InitScriptComponent;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_ActivateScriptComponent(ODLotusScriptComponent *somSelf, Environment *ev);
typedef somTP_ODLotusScriptComponent_ActivateScriptComponent *somTD_ODLotusScriptComponent_ActivateScriptComponent;
typedef void   SOMLINK somTP_ODLotusScriptComponent_ReleaseAll(ODLotusScriptComponent *somSelf, Environment *ev);
typedef somTP_ODLotusScriptComponent_ReleaseAll *somTD_ODLotusScriptComponent_ReleaseAll;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_InitEditor(ODLotusScriptComponent *somSelf, Environment *ev);
typedef somTP_ODLotusScriptComponent_InitEditor *somTD_ODLotusScriptComponent_InitEditor;
typedef void   SOMLINK somTP_ODLotusScriptComponent_CloseScripting(ODLotusScriptComponent *somSelf, Environment *ev);
typedef somTP_ODLotusScriptComponent_CloseScripting *somTD_ODLotusScriptComponent_CloseScripting;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_AddClass(ODLotusScriptComponent *somSelf, Environment *ev,
		string classname);
typedef somTP_ODLotusScriptComponent_AddClass *somTD_ODLotusScriptComponent_AddClass;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_DropInstance(ODLotusScriptComponent *somSelf, Environment *ev,
		SOMObject* instance);
typedef somTP_ODLotusScriptComponent_DropInstance *somTD_ODLotusScriptComponent_DropInstance;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_DropContainer(ODLotusScriptComponent *somSelf, Environment *ev,
		ODScriptExtension* container);
typedef somTP_ODLotusScriptComponent_DropContainer *somTD_ODLotusScriptComponent_DropContainer;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_AddInstance(ODLotusScriptComponent *somSelf, Environment *ev,
		SOMObject* instance,
		string classname,
		string instanceName,
		ODScriptExtension* DefiningExt);
typedef somTP_ODLotusScriptComponent_AddInstance *somTD_ODLotusScriptComponent_AddInstance;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_AddContainer(ODLotusScriptComponent *somSelf, Environment *ev,
		SOMObject* instance,
		string classname,
		string containerName,
		ODScriptExtension* DefiningExt);
typedef somTP_ODLotusScriptComponent_AddContainer *somTD_ODLotusScriptComponent_AddContainer;
typedef void   SOMLINK somTP_ODLotusScriptComponent_GetComponentData(ODLotusScriptComponent *somSelf, Environment *ev,
		long* pBufferSize,
		void* pBuffer);
typedef somTP_ODLotusScriptComponent_GetComponentData *somTD_ODLotusScriptComponent_GetComponentData;
typedef ODScrRegRet   SOMLINK somTP_ODLotusScriptComponent_Rename(ODLotusScriptComponent *somSelf, Environment *ev,
		SOMObject* pObject,
		char* pNewName);
typedef somTP_ODLotusScriptComponent_Rename *somTD_ODLotusScriptComponent_Rename;
typedef OSErr   SOMLINK somTP_ODLotusScriptComponent_GetComponentInstanceError(ODLotusScriptComponent *somSelf, Environment *ev);
typedef somTP_ODLotusScriptComponent_GetComponentInstanceError *somTD_ODLotusScriptComponent_GetComponentInstanceError;
typedef void   SOMLINK somTP_ODLotusScriptComponent_SetComponentInstanceError(ODLotusScriptComponent *somSelf, Environment *ev,
		OSErr theError);
typedef somTP_ODLotusScriptComponent_SetComponentInstanceError *somTD_ODLotusScriptComponent_SetComponentInstanceError;
typedef ODULong   SOMLINK somTP_ODLotusScriptComponent_GetComponentVersion(ODLotusScriptComponent *somSelf, Environment *ev);
typedef somTP_ODLotusScriptComponent_GetComponentVersion *somTD_ODLotusScriptComponent_GetComponentVersion;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDefaultInit(ODLotusScriptComponent *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODLotusScriptComponent_somDefaultInit *somTD_ODLotusScriptComponent_somDefaultInit;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDestruct(ODLotusScriptComponent *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODLotusScriptComponent_somDestruct *somTD_ODLotusScriptComponent_somDestruct;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDefaultCopyInit(ODLotusScriptComponent *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultCopyInit *somTD_ODLotusScriptComponent_somDefaultCopyInit;
typedef ODLotusScriptComponent*   SOMLINK somTP_ODLotusScriptComponent_somDefaultAssign(ODLotusScriptComponent *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultAssign *somTD_ODLotusScriptComponent_somDefaultAssign;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDefaultConstCopyInit(ODLotusScriptComponent *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultConstCopyInit *somTD_ODLotusScriptComponent_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDefaultVCopyInit(ODLotusScriptComponent *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultVCopyInit *somTD_ODLotusScriptComponent_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDefaultConstVCopyInit(ODLotusScriptComponent *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultConstVCopyInit *somTD_ODLotusScriptComponent_somDefaultConstVCopyInit;
typedef ODLotusScriptComponent*   SOMLINK somTP_ODLotusScriptComponent_somDefaultConstAssign(ODLotusScriptComponent *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultConstAssign *somTD_ODLotusScriptComponent_somDefaultConstAssign;
typedef ODLotusScriptComponent*   SOMLINK somTP_ODLotusScriptComponent_somDefaultVAssign(ODLotusScriptComponent *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultVAssign *somTD_ODLotusScriptComponent_somDefaultVAssign;
typedef ODLotusScriptComponent*   SOMLINK somTP_ODLotusScriptComponent_somDefaultConstVAssign(ODLotusScriptComponent *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODLotusScriptComponent_somDefaultConstVAssign *somTD_ODLotusScriptComponent_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somInit(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somInit *somTD_ODLotusScriptComponent_somInit;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somFree(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somFree *somTD_ODLotusScriptComponent_somFree;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somUninit(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somUninit *somTD_ODLotusScriptComponent_somUninit;
typedef SOMClass*   SOMLINK somTP_ODLotusScriptComponent_somGetClass(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somGetClass *somTD_ODLotusScriptComponent_somGetClass;
typedef string   SOMLINK somTP_ODLotusScriptComponent_somGetClassName(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somGetClassName *somTD_ODLotusScriptComponent_somGetClassName;
typedef long   SOMLINK somTP_ODLotusScriptComponent_somGetSize(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somGetSize *somTD_ODLotusScriptComponent_somGetSize;
typedef boolean   SOMLINK somTP_ODLotusScriptComponent_somIsA(ODLotusScriptComponent *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODLotusScriptComponent_somIsA *somTD_ODLotusScriptComponent_somIsA;
typedef boolean   SOMLINK somTP_ODLotusScriptComponent_somIsInstanceOf(ODLotusScriptComponent *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODLotusScriptComponent_somIsInstanceOf *somTD_ODLotusScriptComponent_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODLotusScriptComponent_somRespondsTo(ODLotusScriptComponent *somSelf,
		somId mId);
typedef somTP_ODLotusScriptComponent_somRespondsTo *somTD_ODLotusScriptComponent_somRespondsTo;
typedef boolean   SOMLINK somTP_ODLotusScriptComponent_somDispatch(ODLotusScriptComponent *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODLotusScriptComponent_somDispatch *somTD_ODLotusScriptComponent_somDispatch;
typedef boolean   SOMLINK somTP_ODLotusScriptComponent_somClassDispatch(ODLotusScriptComponent *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODLotusScriptComponent_somClassDispatch *somTD_ODLotusScriptComponent_somClassDispatch;
typedef boolean   SOMLINK somTP_ODLotusScriptComponent_somCastObj(ODLotusScriptComponent *somSelf,
		SOMClass* cls);
typedef somTP_ODLotusScriptComponent_somCastObj *somTD_ODLotusScriptComponent_somCastObj;
typedef boolean   SOMLINK somTP_ODLotusScriptComponent_somResetObj(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somResetObj *somTD_ODLotusScriptComponent_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODLotusScriptComponent_somPrintSelf(ODLotusScriptComponent *somSelf);
typedef somTP_ODLotusScriptComponent_somPrintSelf *somTD_ODLotusScriptComponent_somPrintSelf;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDumpSelf(ODLotusScriptComponent *somSelf,
		long level);
typedef somTP_ODLotusScriptComponent_somDumpSelf *somTD_ODLotusScriptComponent_somDumpSelf;
typedef void   SOMLINK somTP_ODLotusScriptComponent_somDumpSelfInt(ODLotusScriptComponent *somSelf,
		long level);
typedef somTP_ODLotusScriptComponent_somDumpSelfInt *somTD_ODLotusScriptComponent_somDumpSelfInt;
}

#endif /* ODLotusScriptComponent_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 ODLotusScriptComponent
 */
class ODLotusScriptComponent : public ODScriptComponent
{
public:

// ODLotusScriptComponent::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 (!_ODLotusScriptComponent) ODLotusScriptComponentNewClass(ODLotusScriptComponent_MajorVersion,ODLotusScriptComponent_MinorVersion);
   return (void*)
      SOM_Resolve(_ODLotusScriptComponent,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODLotusScriptComponent));
}

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

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

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

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


/*
 * Reintroduce inherited methods
 */

/* method: InitScriptComponent */
ODScrRegRet   InitScriptComponent(Environment *ev,
		ODScriptExtension* theExt,
		ODBoolean hasInitData)
{
#ifdef SOMCHKEXCEPT
   ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,InitScriptComponent)
	(this, ev,theExt,hasInitData);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,InitScriptComponent)
	(this, ev,theExt,hasInitData);
#endif
}


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


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


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


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


/* method: AddClass */
ODScrRegRet   AddClass(Environment *ev,
		string classname)
{
#ifdef SOMCHKEXCEPT
   ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,AddClass)
	(this, ev,classname);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,AddClass)
	(this, ev,classname);
#endif
}


/* method: DropInstance */
ODScrRegRet   DropInstance(Environment *ev,
		SOMObject* instance)
{
#ifdef SOMCHKEXCEPT
   ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,DropInstance)
	(this, ev,instance);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,DropInstance)
	(this, ev,instance);
#endif
}


/* method: DropContainer */
ODScrRegRet   DropContainer(Environment *ev,
		ODScriptExtension* container)
{
#ifdef SOMCHKEXCEPT
   ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,DropContainer)
	(this, ev,container);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,DropContainer)
	(this, ev,container);
#endif
}


/* method: AddInstance */
ODScrRegRet   AddInstance(Environment *ev,
		SOMObject* instance,
		string classname,
		string instanceName,
		ODScriptExtension* DefiningExt)
{
#ifdef SOMCHKEXCEPT
   ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,AddInstance)
	(this, ev,instance,classname,instanceName,DefiningExt);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,AddInstance)
	(this, ev,instance,classname,instanceName,DefiningExt);
#endif
}


/* method: AddContainer */
ODScrRegRet   AddContainer(Environment *ev,
		SOMObject* instance,
		string classname,
		string containerName,
		ODScriptExtension* DefiningExt)
{
#ifdef SOMCHKEXCEPT
   ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,AddContainer)
	(this, ev,instance,classname,containerName,DefiningExt);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,AddContainer)
	(this, ev,instance,classname,containerName,DefiningExt);
#endif
}


/* method: GetComponentData */
void   GetComponentData(Environment *ev,
		long* pBufferSize,
		void* pBuffer)
{
   SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,GetComponentData)
	(this, ev,pBufferSize,pBuffer);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Rename */
ODScrRegRet   Rename(Environment *ev,
		SOMObject* pObject,
		char* pNewName)
{
#ifdef SOMCHKEXCEPT
   ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,Rename)
	(this, ev,pObject,pNewName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODLotusScriptComponent,ODScriptComponent,Rename)
	(this, ev,pObject,pNewName);
#endif
}


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


/* method: SetComponentInstanceError */
void   SetComponentInstanceError(Environment *ev,
		OSErr theError)
{
   SOM_ResolveD(this,ODLotusScriptComponent,Component,SetComponentInstanceError)
	(this, ev,theError);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODLotusScriptComponent */



#endif       /* SOM_ODLotusScriptComponent_xh */
