
/*
 * This file was generated by the SOM Compiler.
 * FileName: \odwin\h\SEMTINTF.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

/*
 * 
 *  Classes defined in this interface
 * 
 */


#ifndef SOM_ODCPlusSemanticInterface_h
#define SOM_ODCPlusSemanticInterface_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))



/*
 * Define class data structures as resolution macros
 */
#define ODCPlusSemanticInterfaceClassData (*resolve_ODCPlusSemanticInterfaceClassData())
#define ODCPlusSemanticInterfaceCClassData (*resolve_ODCPlusSemanticInterfaceCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODCPlusSemanticInterface
#define ODCPlusSemanticInterface SOMObject
#endif
#include <SemtIntB.h>

/*
 * Start of user-defined types:
 */
#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef ODObject
    #define ODObject SOMObject
#endif /* ODObject */
#ifndef ODExtension
    #define ODExtension SOMObject
#endif /* ODExtension */
#ifndef ODRefCntObject
    #define ODRefCntObject SOMObject
#endif /* ODRefCntObject */
#ifndef ODSemanticInterface
    #define ODSemanticInterface SOMObject
#endif /* ODSemanticInterface */
#ifndef ODMessageInterface
    #define ODMessageInterface SOMObject
#endif /* ODMessageInterface */
#ifndef ODSession
    #define ODSession SOMObject
#endif /* ODSession */
#ifndef ODPart
    #define ODPart SOMObject
#endif /* ODPart */
#ifndef ODDesc
    #define ODDesc SOMObject
#endif /* ODDesc */
#ifndef ODAppleEvent
    #define ODAppleEvent SOMObject
#endif /* ODAppleEvent */
#ifndef ODOSLToken
    #define ODOSLToken SOMObject
#endif /* ODOSLToken */
#ifndef ODCPlusSemanticInterface
    #define ODCPlusSemanticInterface SOMObject
#endif /* ODCPlusSemanticInterface */

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

#define ODCPlusSemanticInterface_MajorVersion 0
#define ODCPlusSemanticInterface_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODCPlusSemanticInterfaceNewClass c
#define ODCPlusSemanticInterfaceClassData d
#define ODCPlusSemanticInterfaceCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODCPlusSemanticInterface_classObj ODCPlusSemanticInterfaceClassData.classObject
#define _ODCPlusSemanticInterface ODCPlusSemanticInterface_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK ODCPlusSemanticInterfaceNewClass(integer4 somntmajorVersion,
		integer4 somntminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODCPlusSemanticInterfaceClassDataStructure {
	SOMClass *classObject;
	somMToken InitCPlusSemanticInterface;
	somMToken GetSIHelper;
}  _ODCPlusSemanticInterfaceClassData;
SOMEXTERN struct ODCPlusSemanticInterfaceClassDataStructure * SOMLINK resolve_ODCPlusSemanticInterfaceClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODCPlusSemanticInterfaceCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODCPlusSemanticInterfaceCClassData;
SOMEXTERN struct ODCPlusSemanticInterfaceCClassDataStructure * SOMLINK resolve_ODCPlusSemanticInterfaceCClassData(void);

/*
 * New and Renew macros for ODCPlusSemanticInterface
 */
#define ODCPlusSemanticInterfaceNew() \
   (_somNew(_ODCPlusSemanticInterface ? _ODCPlusSemanticInterface : ODCPlusSemanticInterfaceNewClass(ODCPlusSemanticInterface_MajorVersion, ODCPlusSemanticInterface_MinorVersion)))
#define ODCPlusSemanticInterfaceRenew(buf) \
   (_somRenew(_ODCPlusSemanticInterface ? _ODCPlusSemanticInterface : ODCPlusSemanticInterfaceNewClass(ODCPlusSemanticInterface_MajorVersion, ODCPlusSemanticInterface_MinorVersion), buf))

/*
 * Override method: somInit
 */
#define ODCPlusSemanticInterface_somInit(somSelf) \
	SOMObject_somInit(somSelf)

/*
 * Override method: somUninit
 */
#define ODCPlusSemanticInterface_somUninit(somSelf) \
	SOMObject_somUninit(somSelf)

/*
 * Override method: CallEventHandler
 */
#define ODCPlusSemanticInterface_CallEventHandler(somSelf,ev,thePart,theODAppleEvent,reply) \
	ODSemanticInterface_CallEventHandler(somSelf,ev,thePart,theODAppleEvent,reply)

/*
 * Override method: CallCoercionHandler
 */
#define ODCPlusSemanticInterface_CallCoercionHandler(somSelf,ev,thePart,theODDesc,toType,theResult) \
	ODSemanticInterface_CallCoercionHandler(somSelf,ev,thePart,theODDesc,toType,theResult)

/*
 * Override method: CallObjectAccessor
 */
#define ODCPlusSemanticInterface_CallObjectAccessor(somSelf,ev,thePart,desiredClass,container,containerClass,form,selectionData,value) \
	ODSemanticInterface_CallObjectAccessor(somSelf,ev,thePart,desiredClass,container,containerClass,form,selectionData,value)

/*
 * Override method: CallPredispatchProc
 */
#define ODCPlusSemanticInterface_CallPredispatchProc(somSelf,ev,thePart,theODAppleEvent,reply) \
	ODSemanticInterface_CallPredispatchProc(somSelf,ev,thePart,theODAppleEvent,reply)

/*
 * Override method: CallCompareProc
 */
#define ODCPlusSemanticInterface_CallCompareProc(somSelf,ev,thePart,oper,obj1,obj2,result) \
	ODSemanticInterface_CallCompareProc(somSelf,ev,thePart,oper,obj1,obj2,result)

/*
 * Override method: CallCountProc
 */
#define ODCPlusSemanticInterface_CallCountProc(somSelf,ev,thePart,desiredType,containerClass,container,result) \
	ODSemanticInterface_CallCountProc(somSelf,ev,thePart,desiredType,containerClass,container,result)

/*
 * Override method: CallDisposeTokenProc
 */
#define ODCPlusSemanticInterface_CallDisposeTokenProc(somSelf,ev,thePart,unneededToken) \
	ODSemanticInterface_CallDisposeTokenProc(somSelf,ev,thePart,unneededToken)

/*
 * Override method: CallGetErrDescProc
 */
#define ODCPlusSemanticInterface_CallGetErrDescProc(somSelf,ev,thePart,errDesc) \
	ODSemanticInterface_CallGetErrDescProc(somSelf,ev,thePart,errDesc)

/*
 * Override method: CallGetMarkTokenProc
 */
#define ODCPlusSemanticInterface_CallGetMarkTokenProc(somSelf,ev,thePart,dContainerToken,containerClass,result) \
	ODSemanticInterface_CallGetMarkTokenProc(somSelf,ev,thePart,dContainerToken,containerClass,result)

/*
 * Override method: CallMarkProc
 */
#define ODCPlusSemanticInterface_CallMarkProc(somSelf,ev,thePart,dToken,markToken,index) \
	ODSemanticInterface_CallMarkProc(somSelf,ev,thePart,dToken,markToken,index)

/*
 * Override method: CallAdjustMarksProc
 */
#define ODCPlusSemanticInterface_CallAdjustMarksProc(somSelf,ev,thePart,newStart,newStop,markToken) \
	ODSemanticInterface_CallAdjustMarksProc(somSelf,ev,thePart,newStart,newStop,markToken)

/*
 * Override method: CallTokenInquiryProc
 */
#define ODCPlusSemanticInterface_CallTokenInquiryProc(somSelf,ev,value) \
	ODSemanticInterface_CallTokenInquiryProc(somSelf,ev,value)

/*
 * New Method: InitCPlusSemanticInterface
 */
typedef void   (SOMLINK * somTD_ODCPlusSemanticInterface_InitCPlusSemanticInterface)(ODCPlusSemanticInterface *somSelf, Environment *ev,
		ODPart* base,
		SIHelperAbs* helper,
		ODSession* session);
#define somMD_ODCPlusSemanticInterface_InitCPlusSemanticInterface "::ODCPlusSemanticInterface::InitCPlusSemanticInterface"
#define ODCPlusSemanticInterface_InitCPlusSemanticInterface(somSelf,ev,base,helper,session) \
    (SOM_Resolve(somSelf, ODCPlusSemanticInterface, InitCPlusSemanticInterface) \
	(somSelf,ev,base,helper,session))
#ifndef SOMGD_InitCPlusSemanticInterface
    #if (defined(_InitCPlusSemanticInterface) || defined(__InitCPlusSemanticInterface))
        #undef _InitCPlusSemanticInterface
        #undef __InitCPlusSemanticInterface
        #define SOMGD_InitCPlusSemanticInterface 1
    #else
        #define _InitCPlusSemanticInterface ODCPlusSemanticInterface_InitCPlusSemanticInterface
    #endif /* _InitCPlusSemanticInterface */
#endif /* SOMGD_InitCPlusSemanticInterface */

/*
 * New Method: GetSIHelper
 */
typedef SIHelperAbs*   (SOMLINK * somTD_ODCPlusSemanticInterface_GetSIHelper)(ODCPlusSemanticInterface *somSelf, Environment *ev);
#define somMD_ODCPlusSemanticInterface_GetSIHelper "::ODCPlusSemanticInterface::GetSIHelper"
#define ODCPlusSemanticInterface_GetSIHelper(somSelf,ev) \
    (SOM_Resolve(somSelf, ODCPlusSemanticInterface, GetSIHelper) \
	(somSelf,ev))
#ifndef SOMGD_GetSIHelper
    #if (defined(_GetSIHelper) || defined(__GetSIHelper))
        #undef _GetSIHelper
        #undef __GetSIHelper
        #define SOMGD_GetSIHelper 1
    #else
        #define _GetSIHelper ODCPlusSemanticInterface_GetSIHelper
    #endif /* _GetSIHelper */
#endif /* SOMGD_GetSIHelper */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODCPlusSemanticInterface_InitSemanticInterface ODSemanticInterface_InitSemanticInterface
#define ODCPlusSemanticInterface_GetOSLSupportFlags ODSemanticInterface_GetOSLSupportFlags
#define ODCPlusSemanticInterface_SetOSLSupportFlags ODSemanticInterface_SetOSLSupportFlags
#define ODCPlusSemanticInterface_UsingPredispatchProc ODSemanticInterface_UsingPredispatchProc
#define ODCPlusSemanticInterface_InitExtension ODExtension_InitExtension
#define ODCPlusSemanticInterface_GetBase ODExtension_GetBase
#define ODCPlusSemanticInterface_BaseRemoved ODExtension_BaseRemoved
#define ODCPlusSemanticInterface_IsValid ODExtension_IsValid
#define ODCPlusSemanticInterface_CheckValid ODExtension_CheckValid
#define ODCPlusSemanticInterface_InitRefCntObject ODRefCntObject_InitRefCntObject
#define ODCPlusSemanticInterface_IncrementRefCount ODRefCntObject_IncrementRefCount
#define ODCPlusSemanticInterface_Release ODRefCntObject_Release
#define ODCPlusSemanticInterface_GetRefCount ODRefCntObject_GetRefCount
#define ODCPlusSemanticInterface_InitObject ODObject_InitObject
#define ODCPlusSemanticInterface_IsInitialized ODObject_IsInitialized
#define ODCPlusSemanticInterface_HasExtension ODObject_HasExtension
#define ODCPlusSemanticInterface_GetExtension ODObject_GetExtension
#define ODCPlusSemanticInterface_ReleaseExtension ODObject_ReleaseExtension
#define ODCPlusSemanticInterface_Purge ODObject_Purge
#define ODCPlusSemanticInterface_IsEqualTo ODObject_IsEqualTo
#define ODCPlusSemanticInterface_SubClassResponsibility ODObject_SubClassResponsibility
#define ODCPlusSemanticInterface_somDefaultInit SOMObject_somDefaultInit
#define ODCPlusSemanticInterface_somDestruct SOMObject_somDestruct
#define ODCPlusSemanticInterface_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODCPlusSemanticInterface_somDefaultAssign SOMObject_somDefaultAssign
#define ODCPlusSemanticInterface_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODCPlusSemanticInterface_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODCPlusSemanticInterface_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODCPlusSemanticInterface_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODCPlusSemanticInterface_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODCPlusSemanticInterface_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODCPlusSemanticInterface_somFree SOMObject_somFree
#define ODCPlusSemanticInterface_somGetClass SOMObject_somGetClass
#define ODCPlusSemanticInterface_somGetClassName SOMObject_somGetClassName
#define ODCPlusSemanticInterface_somGetSize SOMObject_somGetSize
#define ODCPlusSemanticInterface_somIsA SOMObject_somIsA
#define ODCPlusSemanticInterface_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODCPlusSemanticInterface_somRespondsTo SOMObject_somRespondsTo
#define ODCPlusSemanticInterface_somDispatch SOMObject_somDispatch
#define ODCPlusSemanticInterface_somClassDispatch SOMObject_somClassDispatch
#define ODCPlusSemanticInterface_somCastObj SOMObject_somCastObj
#define ODCPlusSemanticInterface_somResetObj SOMObject_somResetObj
#define ODCPlusSemanticInterface_somDispatchV SOMObject_somDispatchV
#define ODCPlusSemanticInterface_somDispatchL SOMObject_somDispatchL
#define ODCPlusSemanticInterface_somDispatchA SOMObject_somDispatchA
#define ODCPlusSemanticInterface_somDispatchD SOMObject_somDispatchD
#define ODCPlusSemanticInterface_somPrintSelf SOMObject_somPrintSelf
#define ODCPlusSemanticInterface_somDumpSelf SOMObject_somDumpSelf
#define ODCPlusSemanticInterface_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODCPlusSemanticInterface_h */
