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

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


#ifndef SOM_ODExclusiveFocusModule_h
#define SOM_ODExclusiveFocusModule_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 ODExclusiveFocusModuleClassData (*resolve_ODExclusiveFocusModuleClassData())
#define ODExclusiveFocusModuleCClassData (*resolve_ODExclusiveFocusModuleCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODExclusiveFocusModule
#define ODExclusiveFocusModule SOMObject
#endif
#include <FocusMod.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 ODFocusModule
    #define ODFocusModule SOMObject
#endif /* ODFocusModule */
#ifndef ODSession
    #define ODSession SOMObject
#endif /* ODSession */
#ifndef ODFrame
    #define ODFrame SOMObject
#endif /* ODFrame */
#ifndef ODFocusOwnerIterator
    #define ODFocusOwnerIterator SOMObject
#endif /* ODFocusOwnerIterator */
#ifndef ODExclusiveFocusModule
    #define ODExclusiveFocusModule SOMObject
#endif /* ODExclusiveFocusModule */

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

#define ODExclusiveFocusModule_MajorVersion 0
#define ODExclusiveFocusModule_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODExclusiveFocusModuleNewClass c
#define ODExclusiveFocusModuleClassData d
#define ODExclusiveFocusModuleCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODExclusiveFocusModule_classObj ODExclusiveFocusModuleClassData.classObject
#define _ODExclusiveFocusModule ODExclusiveFocusModule_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODExclusiveFocusModuleClassDataStructure {
	SOMClass *classObject;
	somMToken InitExclusiveFocusModule;
}  _ODExclusiveFocusModuleClassData;
SOMEXTERN struct ODExclusiveFocusModuleClassDataStructure * SOMLINK resolve_ODExclusiveFocusModuleClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODExclusiveFocusModuleCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODExclusiveFocusModuleCClassData;
SOMEXTERN struct ODExclusiveFocusModuleCClassDataStructure * SOMLINK resolve_ODExclusiveFocusModuleCClassData(void);

/*
 * New and Renew macros for ODExclusiveFocusModule
 */
#define ODExclusiveFocusModuleNew() \
   (_somNew(_ODExclusiveFocusModule ? _ODExclusiveFocusModule : ODExclusiveFocusModuleNewClass(ODExclusiveFocusModule_MajorVersion, ODExclusiveFocusModule_MinorVersion)))
#define ODExclusiveFocusModuleRenew(buf) \
   (_somRenew(_ODExclusiveFocusModule ? _ODExclusiveFocusModule : ODExclusiveFocusModuleNewClass(ODExclusiveFocusModule_MajorVersion, ODExclusiveFocusModule_MinorVersion), buf))

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

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

/*
 * Override method: IsFocusExclusive
 */
#define ODExclusiveFocusModule_IsFocusExclusive(somSelf,ev,focus) \
	ODFocusModule_IsFocusExclusive(somSelf,ev,focus)

/*
 * Override method: SetFocusOwnership
 */
#define ODExclusiveFocusModule_SetFocusOwnership(somSelf,ev,focus,frame) \
	ODFocusModule_SetFocusOwnership(somSelf,ev,focus,frame)

/*
 * Override method: UnsetFocusOwnership
 */
#define ODExclusiveFocusModule_UnsetFocusOwnership(somSelf,ev,focus,frame) \
	ODFocusModule_UnsetFocusOwnership(somSelf,ev,focus,frame)

/*
 * Override method: TransferFocusOwnership
 */
#define ODExclusiveFocusModule_TransferFocusOwnership(somSelf,ev,focus,transferringFrame,newOwner) \
	ODFocusModule_TransferFocusOwnership(somSelf,ev,focus,transferringFrame,newOwner)

/*
 * Override method: GetFocusOwner
 */
#define ODExclusiveFocusModule_GetFocusOwner(somSelf,ev,focus) \
	ODFocusModule_GetFocusOwner(somSelf,ev,focus)

/*
 * Override method: BeginRelinquishFocus
 */
#define ODExclusiveFocusModule_BeginRelinquishFocus(somSelf,ev,focus,requestingFrame) \
	ODFocusModule_BeginRelinquishFocus(somSelf,ev,focus,requestingFrame)

/*
 * Override method: CommitRelinquishFocus
 */
#define ODExclusiveFocusModule_CommitRelinquishFocus(somSelf,ev,focus,requestingFrame) \
	ODFocusModule_CommitRelinquishFocus(somSelf,ev,focus,requestingFrame)

/*
 * Override method: AbortRelinquishFocus
 */
#define ODExclusiveFocusModule_AbortRelinquishFocus(somSelf,ev,focus,requestingFrame) \
	ODFocusModule_AbortRelinquishFocus(somSelf,ev,focus,requestingFrame)

/*
 * New Method: InitExclusiveFocusModule
 */
typedef void   (SOMLINK * somTD_ODExclusiveFocusModule_InitExclusiveFocusModule)(ODExclusiveFocusModule *somSelf, Environment *ev,
		ODSession* session);
#define somMD_ODExclusiveFocusModule_InitExclusiveFocusModule "::ODExclusiveFocusModule::InitExclusiveFocusModule"
#define ODExclusiveFocusModule_InitExclusiveFocusModule(somSelf,ev,session) \
    (SOM_Resolve(somSelf, ODExclusiveFocusModule, InitExclusiveFocusModule) \
	(somSelf,ev,session))
#ifndef SOMGD_InitExclusiveFocusModule
    #if (defined(_InitExclusiveFocusModule) || defined(__InitExclusiveFocusModule))
        #undef _InitExclusiveFocusModule
        #undef __InitExclusiveFocusModule
        #define SOMGD_InitExclusiveFocusModule 1
    #else
        #define _InitExclusiveFocusModule ODExclusiveFocusModule_InitExclusiveFocusModule
    #endif /* _InitExclusiveFocusModule */
#endif /* SOMGD_InitExclusiveFocusModule */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODExclusiveFocusModule_InitFocusModule ODFocusModule_InitFocusModule
#define ODExclusiveFocusModule_CreateOwnerIterator ODFocusModule_CreateOwnerIterator
#define ODExclusiveFocusModule_InitObject ODObject_InitObject
#define ODExclusiveFocusModule_IsInitialized ODObject_IsInitialized
#define ODExclusiveFocusModule_HasExtension ODObject_HasExtension
#define ODExclusiveFocusModule_GetExtension ODObject_GetExtension
#define ODExclusiveFocusModule_ReleaseExtension ODObject_ReleaseExtension
#define ODExclusiveFocusModule_Purge ODObject_Purge
#define ODExclusiveFocusModule_IsEqualTo ODObject_IsEqualTo
#define ODExclusiveFocusModule_SubClassResponsibility ODObject_SubClassResponsibility
#define ODExclusiveFocusModule_somDefaultInit SOMObject_somDefaultInit
#define ODExclusiveFocusModule_somDestruct SOMObject_somDestruct
#define ODExclusiveFocusModule_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODExclusiveFocusModule_somDefaultAssign SOMObject_somDefaultAssign
#define ODExclusiveFocusModule_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODExclusiveFocusModule_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODExclusiveFocusModule_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODExclusiveFocusModule_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODExclusiveFocusModule_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODExclusiveFocusModule_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODExclusiveFocusModule_somFree SOMObject_somFree
#define ODExclusiveFocusModule_somGetClass SOMObject_somGetClass
#define ODExclusiveFocusModule_somGetClassName SOMObject_somGetClassName
#define ODExclusiveFocusModule_somGetSize SOMObject_somGetSize
#define ODExclusiveFocusModule_somIsA SOMObject_somIsA
#define ODExclusiveFocusModule_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODExclusiveFocusModule_somRespondsTo SOMObject_somRespondsTo
#define ODExclusiveFocusModule_somDispatch SOMObject_somDispatch
#define ODExclusiveFocusModule_somClassDispatch SOMObject_somClassDispatch
#define ODExclusiveFocusModule_somCastObj SOMObject_somCastObj
#define ODExclusiveFocusModule_somResetObj SOMObject_somResetObj
#define ODExclusiveFocusModule_somDispatchV SOMObject_somDispatchV
#define ODExclusiveFocusModule_somDispatchL SOMObject_somDispatchL
#define ODExclusiveFocusModule_somDispatchA SOMObject_somDispatchA
#define ODExclusiveFocusModule_somDispatchD SOMObject_somDispatchD
#define ODExclusiveFocusModule_somPrintSelf SOMObject_somPrintSelf
#define ODExclusiveFocusModule_somDumpSelf SOMObject_somDumpSelf
#define ODExclusiveFocusModule_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODExclusiveFocusModule_h */
