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

#ifndef SOM_ODSettingsExtension_xh
#define SOM_ODSettingsExtension_xh

class ODSettingsExtension;

#define ODSettingsExtension_MajorVersion 0
#define ODSettingsExtension_MinorVersion 0

/*
 * Passthru lines: File: "C.xh", "before"
 */



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

/* C++ parent defs */
#ifndef SOM_ODExtension_xh
#include <Extensn.xh>
#endif

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

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

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

/* A procedure to create the ODSettingsExtension Class */
SOMEXTERN
#if (defined(SOM_Module_Settings_Source) || defined(ODSettingsExtension_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODSettingsExtension))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODSettingsExtensionNewClass(
		integer4,
		integer4 );

/* The API to the ODSettingsExtension class object, and the methods it introduces. */
SOMEXTERN struct ODSettingsExtensionClassDataStructure {
	SOMClass *classObject;
	somMToken InitSettingsExtension;
	somMToken ShowSettings;
	somMToken ShowSettingsPages;
}
#if !(defined(SOM_Module_Settings_Source) || defined(ODSettingsExtension_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODSettingsExtension))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODSettingsExtensionClassData;
#define _ODSettingsExtension ODSettingsExtensionClassData.classObject

/* The API to parentMtabs for ODSettingsExtension, and the instance data it introduces. */
SOMEXTERN struct ODSettingsExtensionCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_Settings_Source) || defined(ODSettingsExtension_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODSettingsExtension))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODSettingsExtensionCClassData;

/*
 * -- Typedefs for ODSettingsExtension Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODSettingsExtension_InitSettingsExtension(ODSettingsExtension *somSelf, Environment *ev,
		ODPart* owner);
typedef somTP_ODSettingsExtension_InitSettingsExtension *somTD_ODSettingsExtension_InitSettingsExtension;
typedef void   SOMLINK somTP_ODSettingsExtension_ShowSettings(ODSettingsExtension *somSelf, Environment *ev,
		ODFacet* facet);
typedef somTP_ODSettingsExtension_ShowSettings *somTD_ODSettingsExtension_ShowSettings;
typedef void   SOMLINK somTP_ODSettingsExtension_ShowSettingsPages(ODSettingsExtension *somSelf, Environment *ev,
		ODFacet* facet,
		HWND hPropSheetDlg);
typedef somTP_ODSettingsExtension_ShowSettingsPages *somTD_ODSettingsExtension_ShowSettingsPages;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODSettingsExtension_InitExtension(ODSettingsExtension *somSelf, Environment *ev,
		ODObject* base);
typedef somTP_ODSettingsExtension_InitExtension *somTD_ODSettingsExtension_InitExtension;
typedef ODObject*   SOMLINK somTP_ODSettingsExtension_GetBase(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_GetBase *somTD_ODSettingsExtension_GetBase;
typedef void   SOMLINK somTP_ODSettingsExtension_BaseRemoved(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_BaseRemoved *somTD_ODSettingsExtension_BaseRemoved;
typedef ODBoolean   SOMLINK somTP_ODSettingsExtension_IsValid(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_IsValid *somTD_ODSettingsExtension_IsValid;
typedef void   SOMLINK somTP_ODSettingsExtension_CheckValid(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_CheckValid *somTD_ODSettingsExtension_CheckValid;
typedef void   SOMLINK somTP_ODSettingsExtension_Release(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_Release *somTD_ODSettingsExtension_Release;
typedef void   SOMLINK somTP_ODSettingsExtension_InitRefCntObject(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_InitRefCntObject *somTD_ODSettingsExtension_InitRefCntObject;
typedef void   SOMLINK somTP_ODSettingsExtension_Acquire(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_Acquire *somTD_ODSettingsExtension_Acquire;
typedef ODULong   SOMLINK somTP_ODSettingsExtension_GetRefCount(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_GetRefCount *somTD_ODSettingsExtension_GetRefCount;
typedef void   SOMLINK somTP_ODSettingsExtension_somUninit(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somUninit *somTD_ODSettingsExtension_somUninit;
typedef void   SOMLINK somTP_ODSettingsExtension_InitObject(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_InitObject *somTD_ODSettingsExtension_InitObject;
typedef ODBoolean   SOMLINK somTP_ODSettingsExtension_HasExtension(ODSettingsExtension *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODSettingsExtension_HasExtension *somTD_ODSettingsExtension_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODSettingsExtension_AcquireExtension(ODSettingsExtension *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODSettingsExtension_AcquireExtension *somTD_ODSettingsExtension_AcquireExtension;
typedef void   SOMLINK somTP_ODSettingsExtension_ReleaseExtension(ODSettingsExtension *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODSettingsExtension_ReleaseExtension *somTD_ODSettingsExtension_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODSettingsExtension_Purge(ODSettingsExtension *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODSettingsExtension_Purge *somTD_ODSettingsExtension_Purge;
typedef ODBoolean   SOMLINK somTP_ODSettingsExtension_IsEqualTo(ODSettingsExtension *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODSettingsExtension_IsEqualTo *somTD_ODSettingsExtension_IsEqualTo;
typedef void   SOMLINK somTP_ODSettingsExtension_SubClassResponsibility(ODSettingsExtension *somSelf, Environment *ev);
typedef somTP_ODSettingsExtension_SubClassResponsibility *somTD_ODSettingsExtension_SubClassResponsibility;
typedef void   SOMLINK somTP_ODSettingsExtension_somInit(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somInit *somTD_ODSettingsExtension_somInit;
typedef void   SOMLINK somTP_ODSettingsExtension_somDefaultInit(ODSettingsExtension *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODSettingsExtension_somDefaultInit *somTD_ODSettingsExtension_somDefaultInit;
typedef void   SOMLINK somTP_ODSettingsExtension_somDestruct(ODSettingsExtension *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODSettingsExtension_somDestruct *somTD_ODSettingsExtension_somDestruct;
typedef void   SOMLINK somTP_ODSettingsExtension_somDefaultCopyInit(ODSettingsExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultCopyInit *somTD_ODSettingsExtension_somDefaultCopyInit;
typedef ODSettingsExtension*   SOMLINK somTP_ODSettingsExtension_somDefaultAssign(ODSettingsExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultAssign *somTD_ODSettingsExtension_somDefaultAssign;
typedef void   SOMLINK somTP_ODSettingsExtension_somDefaultConstCopyInit(ODSettingsExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultConstCopyInit *somTD_ODSettingsExtension_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODSettingsExtension_somDefaultVCopyInit(ODSettingsExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultVCopyInit *somTD_ODSettingsExtension_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODSettingsExtension_somDefaultConstVCopyInit(ODSettingsExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultConstVCopyInit *somTD_ODSettingsExtension_somDefaultConstVCopyInit;
typedef ODSettingsExtension*   SOMLINK somTP_ODSettingsExtension_somDefaultConstAssign(ODSettingsExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultConstAssign *somTD_ODSettingsExtension_somDefaultConstAssign;
typedef ODSettingsExtension*   SOMLINK somTP_ODSettingsExtension_somDefaultVAssign(ODSettingsExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultVAssign *somTD_ODSettingsExtension_somDefaultVAssign;
typedef ODSettingsExtension*   SOMLINK somTP_ODSettingsExtension_somDefaultConstVAssign(ODSettingsExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODSettingsExtension_somDefaultConstVAssign *somTD_ODSettingsExtension_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODSettingsExtension_somFree(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somFree *somTD_ODSettingsExtension_somFree;
typedef SOMClass*   SOMLINK somTP_ODSettingsExtension_somGetClass(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somGetClass *somTD_ODSettingsExtension_somGetClass;
typedef string   SOMLINK somTP_ODSettingsExtension_somGetClassName(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somGetClassName *somTD_ODSettingsExtension_somGetClassName;
typedef long   SOMLINK somTP_ODSettingsExtension_somGetSize(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somGetSize *somTD_ODSettingsExtension_somGetSize;
typedef boolean   SOMLINK somTP_ODSettingsExtension_somIsA(ODSettingsExtension *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODSettingsExtension_somIsA *somTD_ODSettingsExtension_somIsA;
typedef boolean   SOMLINK somTP_ODSettingsExtension_somIsInstanceOf(ODSettingsExtension *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODSettingsExtension_somIsInstanceOf *somTD_ODSettingsExtension_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODSettingsExtension_somRespondsTo(ODSettingsExtension *somSelf,
		somId mId);
typedef somTP_ODSettingsExtension_somRespondsTo *somTD_ODSettingsExtension_somRespondsTo;
typedef boolean   SOMLINK somTP_ODSettingsExtension_somDispatch(ODSettingsExtension *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODSettingsExtension_somDispatch *somTD_ODSettingsExtension_somDispatch;
typedef boolean   SOMLINK somTP_ODSettingsExtension_somClassDispatch(ODSettingsExtension *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODSettingsExtension_somClassDispatch *somTD_ODSettingsExtension_somClassDispatch;
typedef boolean   SOMLINK somTP_ODSettingsExtension_somCastObj(ODSettingsExtension *somSelf,
		SOMClass* cls);
typedef somTP_ODSettingsExtension_somCastObj *somTD_ODSettingsExtension_somCastObj;
typedef boolean   SOMLINK somTP_ODSettingsExtension_somResetObj(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somResetObj *somTD_ODSettingsExtension_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODSettingsExtension_somPrintSelf(ODSettingsExtension *somSelf);
typedef somTP_ODSettingsExtension_somPrintSelf *somTD_ODSettingsExtension_somPrintSelf;
typedef void   SOMLINK somTP_ODSettingsExtension_somDumpSelf(ODSettingsExtension *somSelf,
		long level);
typedef somTP_ODSettingsExtension_somDumpSelf *somTD_ODSettingsExtension_somDumpSelf;
typedef void   SOMLINK somTP_ODSettingsExtension_somDumpSelfInt(ODSettingsExtension *somSelf,
		long level);
typedef somTP_ODSettingsExtension_somDumpSelfInt *somTD_ODSettingsExtension_somDumpSelfInt;
}

#endif /* ODSettingsExtension_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 ODSettingsExtension
 */
class ODSettingsExtension : public ODExtension
{
public:

// ODSettingsExtension::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 (!_ODSettingsExtension) ODSettingsExtensionNewClass(ODSettingsExtension_MajorVersion,ODSettingsExtension_MinorVersion);
   return (void*)
      SOM_Resolve(_ODSettingsExtension,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODSettingsExtension));
}

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

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

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

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


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


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


/* method: ShowSettingsPages */
void   ShowSettingsPages(Environment *ev,
		ODFacet* facet,
		HWND hPropSheetDlg)
{
   SOM_ResolveD(this,ODSettingsExtension,ODSettingsExtension,ShowSettingsPages)
	(this, ev,facet,hPropSheetDlg);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODSettingsExtension */



#endif       /* SOM_ODSettingsExtension_xh */
