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

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


#ifndef SOM_ODDragItemIterator_h
#define SOM_ODDragItemIterator_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 ODDragItemIteratorClassData (*resolve_ODDragItemIteratorClassData())
#define ODDragItemIteratorCClassData (*resolve_ODDragItemIteratorCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODDragItemIterator
#define ODDragItemIterator SOMObject
#endif
#include <DgItmItB.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 ODBaseDragItemIterator
    #define ODBaseDragItemIterator SOMObject
#endif /* ODBaseDragItemIterator */
#ifndef ODStorageUnit
    #define ODStorageUnit SOMObject
#endif /* ODStorageUnit */
#ifndef ODDragItemIterator
    #define ODDragItemIterator SOMObject
#endif /* ODDragItemIterator */

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

#define ODDragItemIterator_MajorVersion 0
#define ODDragItemIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODDragItemIteratorNewClass c
#define ODDragItemIteratorClassData d
#define ODDragItemIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODDragItemIterator_classObj ODDragItemIteratorClassData.classObject
#define _ODDragItemIterator ODDragItemIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODDragItemIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken InitDragItemIterator;
}  _ODDragItemIteratorClassData;
SOMEXTERN struct ODDragItemIteratorClassDataStructure * SOMLINK resolve_ODDragItemIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODDragItemIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODDragItemIteratorCClassData;
SOMEXTERN struct ODDragItemIteratorCClassDataStructure * SOMLINK resolve_ODDragItemIteratorCClassData(void);

/*
 * New and Renew macros for ODDragItemIterator
 */
#define ODDragItemIteratorNew() \
   (_somNew(_ODDragItemIterator ? _ODDragItemIterator : ODDragItemIteratorNewClass(ODDragItemIterator_MajorVersion, ODDragItemIterator_MinorVersion)))
#define ODDragItemIteratorRenew(buf) \
   (_somRenew(_ODDragItemIterator ? _ODDragItemIterator : ODDragItemIteratorNewClass(ODDragItemIterator_MajorVersion, ODDragItemIterator_MinorVersion), buf))

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

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

/*
 * Override method: First
 */
#define ODDragItemIterator_First(somSelf,ev) \
	ODBaseDragItemIterator_First(somSelf,ev)

/*
 * Override method: Next
 */
#define ODDragItemIterator_Next(somSelf,ev) \
	ODBaseDragItemIterator_Next(somSelf,ev)

/*
 * Override method: IsNotComplete
 */
#define ODDragItemIterator_IsNotComplete(somSelf,ev) \
	ODBaseDragItemIterator_IsNotComplete(somSelf,ev)

/*
 * New Method: InitDragItemIterator
 */
typedef void   (SOMLINK * somTD_ODDragItemIterator_InitDragItemIterator)(ODDragItemIterator *somSelf, Environment *ev,
		LinkedListIterator* dragItemListIter);
#define somMD_ODDragItemIterator_InitDragItemIterator "::ODDragItemIterator::InitDragItemIterator"
#define ODDragItemIterator_InitDragItemIterator(somSelf,ev,dragItemListIter) \
    (SOM_Resolve(somSelf, ODDragItemIterator, InitDragItemIterator) \
	(somSelf,ev,dragItemListIter))
#ifndef SOMGD_InitDragItemIterator
    #if (defined(_InitDragItemIterator) || defined(__InitDragItemIterator))
        #undef _InitDragItemIterator
        #undef __InitDragItemIterator
        #define SOMGD_InitDragItemIterator 1
    #else
        #define _InitDragItemIterator ODDragItemIterator_InitDragItemIterator
    #endif /* _InitDragItemIterator */
#endif /* SOMGD_InitDragItemIterator */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODDragItemIterator_InitObject ODObject_InitObject
#define ODDragItemIterator_IsInitialized ODObject_IsInitialized
#define ODDragItemIterator_HasExtension ODObject_HasExtension
#define ODDragItemIterator_GetExtension ODObject_GetExtension
#define ODDragItemIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODDragItemIterator_Purge ODObject_Purge
#define ODDragItemIterator_IsEqualTo ODObject_IsEqualTo
#define ODDragItemIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODDragItemIterator_somDefaultInit SOMObject_somDefaultInit
#define ODDragItemIterator_somDestruct SOMObject_somDestruct
#define ODDragItemIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODDragItemIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODDragItemIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODDragItemIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODDragItemIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODDragItemIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODDragItemIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODDragItemIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODDragItemIterator_somFree SOMObject_somFree
#define ODDragItemIterator_somGetClass SOMObject_somGetClass
#define ODDragItemIterator_somGetClassName SOMObject_somGetClassName
#define ODDragItemIterator_somGetSize SOMObject_somGetSize
#define ODDragItemIterator_somIsA SOMObject_somIsA
#define ODDragItemIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODDragItemIterator_somRespondsTo SOMObject_somRespondsTo
#define ODDragItemIterator_somDispatch SOMObject_somDispatch
#define ODDragItemIterator_somClassDispatch SOMObject_somClassDispatch
#define ODDragItemIterator_somCastObj SOMObject_somCastObj
#define ODDragItemIterator_somResetObj SOMObject_somResetObj
#define ODDragItemIterator_somDispatchV SOMObject_somDispatchV
#define ODDragItemIterator_somDispatchL SOMObject_somDispatchL
#define ODDragItemIterator_somDispatchA SOMObject_somDispatchA
#define ODDragItemIterator_somDispatchD SOMObject_somDispatchD
#define ODDragItemIterator_somPrintSelf SOMObject_somPrintSelf
#define ODDragItemIterator_somDumpSelf SOMObject_somDumpSelf
#define ODDragItemIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODDragItemIterator_h */
