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

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


#ifndef SOM_ODFocusOwnerIterator_h
#define SOM_ODFocusOwnerIterator_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 ODFocusOwnerIteratorClassData (*resolve_ODFocusOwnerIteratorClassData())
#define ODFocusOwnerIteratorCClassData (*resolve_ODFocusOwnerIteratorCClassData())

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

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

#define ODFocusOwnerIterator_MajorVersion 0
#define ODFocusOwnerIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODFocusOwnerIteratorNewClass c
#define ODFocusOwnerIteratorClassData d
#define ODFocusOwnerIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODFocusOwnerIterator_classObj ODFocusOwnerIteratorClassData.classObject
#define _ODFocusOwnerIterator ODFocusOwnerIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODFocusOwnerIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken InitFocusOwnerIterator;
	somMToken First;
	somMToken Next;
	somMToken IsNotComplete;
}  _ODFocusOwnerIteratorClassData;
SOMEXTERN struct ODFocusOwnerIteratorClassDataStructure * SOMLINK resolve_ODFocusOwnerIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODFocusOwnerIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODFocusOwnerIteratorCClassData;
SOMEXTERN struct ODFocusOwnerIteratorCClassDataStructure * SOMLINK resolve_ODFocusOwnerIteratorCClassData(void);

/*
 * New and Renew macros for ODFocusOwnerIterator
 */
#define ODFocusOwnerIteratorNew() \
   (_somNew(_ODFocusOwnerIterator ? _ODFocusOwnerIterator : ODFocusOwnerIteratorNewClass(ODFocusOwnerIterator_MajorVersion, ODFocusOwnerIterator_MinorVersion)))
#define ODFocusOwnerIteratorRenew(buf) \
   (_somRenew(_ODFocusOwnerIterator ? _ODFocusOwnerIterator : ODFocusOwnerIteratorNewClass(ODFocusOwnerIterator_MajorVersion, ODFocusOwnerIterator_MinorVersion), buf))

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

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

/*
 * New Method: InitFocusOwnerIterator
 */
typedef void   (SOMLINK * somTD_ODFocusOwnerIterator_InitFocusOwnerIterator)(ODFocusOwnerIterator *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFocusModule* focusModule);
#define somMD_ODFocusOwnerIterator_InitFocusOwnerIterator "::ODFocusOwnerIterator::InitFocusOwnerIterator"
#define ODFocusOwnerIterator_InitFocusOwnerIterator(somSelf,ev,focus,focusModule) \
    (SOM_Resolve(somSelf, ODFocusOwnerIterator, InitFocusOwnerIterator) \
	(somSelf,ev,focus,focusModule))
#ifndef SOMGD_InitFocusOwnerIterator
    #if (defined(_InitFocusOwnerIterator) || defined(__InitFocusOwnerIterator))
        #undef _InitFocusOwnerIterator
        #undef __InitFocusOwnerIterator
        #define SOMGD_InitFocusOwnerIterator 1
    #else
        #define _InitFocusOwnerIterator ODFocusOwnerIterator_InitFocusOwnerIterator
    #endif /* _InitFocusOwnerIterator */
#endif /* SOMGD_InitFocusOwnerIterator */

/*
 * New Method: First
 */
typedef ODFrame*   (SOMLINK * somTD_ODFocusOwnerIterator_First)(ODFocusOwnerIterator *somSelf, Environment *ev);
#define somMD_ODFocusOwnerIterator_First "::ODFocusOwnerIterator::First"
#define ODFocusOwnerIterator_First(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFocusOwnerIterator, First) \
	(somSelf,ev))
#ifndef SOMGD_First
    #if (defined(_First) || defined(__First))
        #undef _First
        #undef __First
        #define SOMGD_First 1
    #else
        #define _First ODFocusOwnerIterator_First
    #endif /* _First */
#endif /* SOMGD_First */

/*
 * New Method: Next
 */
typedef ODFrame*   (SOMLINK * somTD_ODFocusOwnerIterator_Next)(ODFocusOwnerIterator *somSelf, Environment *ev);
#define somMD_ODFocusOwnerIterator_Next "::ODFocusOwnerIterator::Next"
#define ODFocusOwnerIterator_Next(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFocusOwnerIterator, Next) \
	(somSelf,ev))
#ifndef SOMGD_Next
    #if (defined(_Next) || defined(__Next))
        #undef _Next
        #undef __Next
        #define SOMGD_Next 1
    #else
        #define _Next ODFocusOwnerIterator_Next
    #endif /* _Next */
#endif /* SOMGD_Next */

/*
 * New Method: IsNotComplete
 */
typedef ODBoolean   (SOMLINK * somTD_ODFocusOwnerIterator_IsNotComplete)(ODFocusOwnerIterator *somSelf, Environment *ev);
#define somMD_ODFocusOwnerIterator_IsNotComplete "::ODFocusOwnerIterator::IsNotComplete"
#define ODFocusOwnerIterator_IsNotComplete(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFocusOwnerIterator, IsNotComplete) \
	(somSelf,ev))
#ifndef SOMGD_IsNotComplete
    #if (defined(_IsNotComplete) || defined(__IsNotComplete))
        #undef _IsNotComplete
        #undef __IsNotComplete
        #define SOMGD_IsNotComplete 1
    #else
        #define _IsNotComplete ODFocusOwnerIterator_IsNotComplete
    #endif /* _IsNotComplete */
#endif /* SOMGD_IsNotComplete */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODFocusOwnerIterator_InitObject ODObject_InitObject
#define ODFocusOwnerIterator_IsInitialized ODObject_IsInitialized
#define ODFocusOwnerIterator_HasExtension ODObject_HasExtension
#define ODFocusOwnerIterator_GetExtension ODObject_GetExtension
#define ODFocusOwnerIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODFocusOwnerIterator_Purge ODObject_Purge
#define ODFocusOwnerIterator_IsEqualTo ODObject_IsEqualTo
#define ODFocusOwnerIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODFocusOwnerIterator_somDefaultInit SOMObject_somDefaultInit
#define ODFocusOwnerIterator_somDestruct SOMObject_somDestruct
#define ODFocusOwnerIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODFocusOwnerIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODFocusOwnerIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODFocusOwnerIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODFocusOwnerIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODFocusOwnerIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODFocusOwnerIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODFocusOwnerIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODFocusOwnerIterator_somFree SOMObject_somFree
#define ODFocusOwnerIterator_somGetClass SOMObject_somGetClass
#define ODFocusOwnerIterator_somGetClassName SOMObject_somGetClassName
#define ODFocusOwnerIterator_somGetSize SOMObject_somGetSize
#define ODFocusOwnerIterator_somIsA SOMObject_somIsA
#define ODFocusOwnerIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODFocusOwnerIterator_somRespondsTo SOMObject_somRespondsTo
#define ODFocusOwnerIterator_somDispatch SOMObject_somDispatch
#define ODFocusOwnerIterator_somClassDispatch SOMObject_somClassDispatch
#define ODFocusOwnerIterator_somCastObj SOMObject_somCastObj
#define ODFocusOwnerIterator_somResetObj SOMObject_somResetObj
#define ODFocusOwnerIterator_somDispatchV SOMObject_somDispatchV
#define ODFocusOwnerIterator_somDispatchL SOMObject_somDispatchL
#define ODFocusOwnerIterator_somDispatchA SOMObject_somDispatchA
#define ODFocusOwnerIterator_somDispatchD SOMObject_somDispatchD
#define ODFocusOwnerIterator_somPrintSelf SOMObject_somPrintSelf
#define ODFocusOwnerIterator_somDumpSelf SOMObject_somDumpSelf
#define ODFocusOwnerIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODFocusOwnerIterator_h */
