home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
oddsesrc.xh
< prev
next >
Wrap
C/C++ Source or Header
|
1997-04-02
|
32KB
|
1,046 lines
/*
* This file was generated by the SOM Compiler.
* FileName: F:\build\os2\ship\include\oddsesrc.xh.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emitxh: 2.47
*/
#ifndef SOM_ODDSPartEventSource_xh
#define SOM_ODDSPartEventSource_xh
class ODDSPartEventSource;
#define ODDSPartEventSource_MajorVersion 0
#define ODDSPartEventSource_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_ODDSPartEventInterface_xh
#include <oddsevni.xh>
#endif
#ifndef SOM_ODDSEventMgr_xh
#include <oddsemgr.xh>
#endif
#ifndef ODDSPartEventSource_API
#define ODDSPartEventSource_API
/*
* -- The Class API
*/
/*
* Start of bindings for IDL types
*/
class SOMClass;
class SOMObject;
class ODDSConnection;
class ODDSSinkEnum;
class ODDSSink;
/*
* End of bindings for IDL types.
*/
/* A procedure to create the ODDSPartEventSource Class */
SOMEXTERN SOMClass * SOMLINK ODDSPartEventSourceNewClass(
integer4 majorVersion,
integer4 minorVersion);
/* The API to the ODDSPartEventSource class object, and the methods it introduces. */
SOMEXTERN struct ODDSPartEventSourceClassDataStructure {
SOMClass *classObject;
} SOMDLINK ODDSPartEventSourceClassData;
#define _ODDSPartEventSource ODDSPartEventSourceClassData.classObject
/* The API to parentMtabs for ODDSPartEventSource, and the instance data it introduces. */
SOMEXTERN struct ODDSPartEventSourceCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK ODDSPartEventSourceCClassData;
/*
* -- Typedefs for ODDSPartEventSource Method Procedures
*/
SOMEXTERN {
/*
* -- Typedefs for Reintroduced Wrapper Methods
*/
typedef void SOMLINK somTP_ODDSPartEventSource_Click(ODDSPartEventSource *somSelf, Environment *ev);
typedef somTP_ODDSPartEventSource_Click *somTD_ODDSPartEventSource_Click;
typedef void SOMLINK somTP_ODDSPartEventSource_DblClick(ODDSPartEventSource *somSelf, Environment *ev);
typedef somTP_ODDSPartEventSource_DblClick *somTD_ODDSPartEventSource_DblClick;
typedef void SOMLINK somTP_ODDSPartEventSource_KeyDown(ODDSPartEventSource *somSelf, Environment *ev,
short* KeyCode,
short Shift);
typedef somTP_ODDSPartEventSource_KeyDown *somTD_ODDSPartEventSource_KeyDown;
typedef void SOMLINK somTP_ODDSPartEventSource_KeyPress(ODDSPartEventSource *somSelf, Environment *ev,
short* KeyAscii);
typedef somTP_ODDSPartEventSource_KeyPress *somTD_ODDSPartEventSource_KeyPress;
typedef void SOMLINK somTP_ODDSPartEventSource_KeyUp(ODDSPartEventSource *somSelf, Environment *ev,
short* KeyCode,
short Shift);
typedef somTP_ODDSPartEventSource_KeyUp *somTD_ODDSPartEventSource_KeyUp;
typedef void SOMLINK somTP_ODDSPartEventSource_MouseDown(ODDSPartEventSource *somSelf, Environment *ev,
short Button,
short Shift,
long X,
long Y);
typedef somTP_ODDSPartEventSource_MouseDown *somTD_ODDSPartEventSource_MouseDown;
typedef void SOMLINK somTP_ODDSPartEventSource_MouseMove(ODDSPartEventSource *somSelf, Environment *ev,
short Button,
short Shift,
long X,
long Y);
typedef somTP_ODDSPartEventSource_MouseMove *somTD_ODDSPartEventSource_MouseMove;
typedef void SOMLINK somTP_ODDSPartEventSource_MouseUp(ODDSPartEventSource *somSelf, Environment *ev,
short Button,
short Shift,
long X,
long Y);
typedef somTP_ODDSPartEventSource_MouseUp *somTD_ODDSPartEventSource_MouseUp;
typedef void SOMLINK somTP_ODDSPartEventSource_somDefaultInit(ODDSPartEventSource *somSelf,
som3InitCtrl* ctrl);
typedef somTP_ODDSPartEventSource_somDefaultInit *somTD_ODDSPartEventSource_somDefaultInit;
typedef void SOMLINK somTP_ODDSPartEventSource_somDestruct(ODDSPartEventSource *somSelf,
octet doFree,
som3DestructCtrl* ctrl);
typedef somTP_ODDSPartEventSource_somDestruct *somTD_ODDSPartEventSource_somDestruct;
typedef void SOMLINK somTP_ODDSPartEventSource_somDefaultCopyInit(ODDSPartEventSource *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultCopyInit *somTD_ODDSPartEventSource_somDefaultCopyInit;
typedef ODDSPartEventSource* SOMLINK somTP_ODDSPartEventSource_somDefaultAssign(ODDSPartEventSource *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultAssign *somTD_ODDSPartEventSource_somDefaultAssign;
typedef void SOMLINK somTP_ODDSPartEventSource_somDefaultConstCopyInit(ODDSPartEventSource *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultConstCopyInit *somTD_ODDSPartEventSource_somDefaultConstCopyInit;
typedef void SOMLINK somTP_ODDSPartEventSource_somDefaultVCopyInit(ODDSPartEventSource *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultVCopyInit *somTD_ODDSPartEventSource_somDefaultVCopyInit;
typedef void SOMLINK somTP_ODDSPartEventSource_somDefaultConstVCopyInit(ODDSPartEventSource *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultConstVCopyInit *somTD_ODDSPartEventSource_somDefaultConstVCopyInit;
typedef ODDSPartEventSource* SOMLINK somTP_ODDSPartEventSource_somDefaultConstAssign(ODDSPartEventSource *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultConstAssign *somTD_ODDSPartEventSource_somDefaultConstAssign;
typedef ODDSPartEventSource* SOMLINK somTP_ODDSPartEventSource_somDefaultVAssign(ODDSPartEventSource *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultVAssign *somTD_ODDSPartEventSource_somDefaultVAssign;
typedef ODDSPartEventSource* SOMLINK somTP_ODDSPartEventSource_somDefaultConstVAssign(ODDSPartEventSource *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDSPartEventSource_somDefaultConstVAssign *somTD_ODDSPartEventSource_somDefaultConstVAssign;
typedef void SOMLINK somTP_ODDSPartEventSource_somInit(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somInit *somTD_ODDSPartEventSource_somInit;
typedef void SOMLINK somTP_ODDSPartEventSource_somFree(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somFree *somTD_ODDSPartEventSource_somFree;
typedef void SOMLINK somTP_ODDSPartEventSource_somUninit(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somUninit *somTD_ODDSPartEventSource_somUninit;
typedef SOMClass* SOMLINK somTP_ODDSPartEventSource_somGetClass(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somGetClass *somTD_ODDSPartEventSource_somGetClass;
typedef string SOMLINK somTP_ODDSPartEventSource_somGetClassName(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somGetClassName *somTD_ODDSPartEventSource_somGetClassName;
typedef long SOMLINK somTP_ODDSPartEventSource_somGetSize(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somGetSize *somTD_ODDSPartEventSource_somGetSize;
typedef boolean SOMLINK somTP_ODDSPartEventSource_somIsA(ODDSPartEventSource *somSelf,
SOMClass* aClassObj);
typedef somTP_ODDSPartEventSource_somIsA *somTD_ODDSPartEventSource_somIsA;
typedef boolean SOMLINK somTP_ODDSPartEventSource_somIsInstanceOf(ODDSPartEventSource *somSelf,
SOMClass* aClassObj);
typedef somTP_ODDSPartEventSource_somIsInstanceOf *somTD_ODDSPartEventSource_somIsInstanceOf;
typedef boolean SOMLINK somTP_ODDSPartEventSource_somRespondsTo(ODDSPartEventSource *somSelf,
somId mId);
typedef somTP_ODDSPartEventSource_somRespondsTo *somTD_ODDSPartEventSource_somRespondsTo;
typedef boolean SOMLINK somTP_ODDSPartEventSource_somDispatch(ODDSPartEventSource *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODDSPartEventSource_somDispatch *somTD_ODDSPartEventSource_somDispatch;
typedef boolean SOMLINK somTP_ODDSPartEventSource_somClassDispatch(ODDSPartEventSource *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODDSPartEventSource_somClassDispatch *somTD_ODDSPartEventSource_somClassDispatch;
typedef boolean SOMLINK somTP_ODDSPartEventSource_somCastObj(ODDSPartEventSource *somSelf,
SOMClass* cls);
typedef somTP_ODDSPartEventSource_somCastObj *somTD_ODDSPartEventSource_somCastObj;
typedef boolean SOMLINK somTP_ODDSPartEventSource_somResetObj(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somResetObj *somTD_ODDSPartEventSource_somResetObj;
typedef void SOMLINK somTP_ODDSPartEventSource_somDispatchV(ODDSPartEventSource *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDSPartEventSource_somDispatchV *somTD_ODDSPartEventSource_somDispatchV;
typedef long SOMLINK somTP_ODDSPartEventSource_somDispatchL(ODDSPartEventSource *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDSPartEventSource_somDispatchL *somTD_ODDSPartEventSource_somDispatchL;
typedef void* SOMLINK somTP_ODDSPartEventSource_somDispatchA(ODDSPartEventSource *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDSPartEventSource_somDispatchA *somTD_ODDSPartEventSource_somDispatchA;
typedef double SOMLINK somTP_ODDSPartEventSource_somDispatchD(ODDSPartEventSource *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDSPartEventSource_somDispatchD *somTD_ODDSPartEventSource_somDispatchD;
typedef SOMObject* SOMLINK somTP_ODDSPartEventSource_somPrintSelf(ODDSPartEventSource *somSelf);
typedef somTP_ODDSPartEventSource_somPrintSelf *somTD_ODDSPartEventSource_somPrintSelf;
typedef void SOMLINK somTP_ODDSPartEventSource_somDumpSelf(ODDSPartEventSource *somSelf,
long level);
typedef somTP_ODDSPartEventSource_somDumpSelf *somTD_ODDSPartEventSource_somDumpSelf;
typedef void SOMLINK somTP_ODDSPartEventSource_somDumpSelfInt(ODDSPartEventSource *somSelf,
long level);
typedef somTP_ODDSPartEventSource_somDumpSelfInt *somTD_ODDSPartEventSource_somDumpSelfInt;
typedef ODDSConnection* SOMLINK somTP_ODDSPartEventSource__get_connection(ODDSPartEventSource *somSelf, Environment *ev);
typedef somTP_ODDSPartEventSource__get_connection *somTD_ODDSPartEventSource__get_connection;
typedef void SOMLINK somTP_ODDSPartEventSource__set_connection(ODDSPartEventSource *somSelf, Environment *ev,
ODDSConnection* connection);
typedef somTP_ODDSPartEventSource__set_connection *somTD_ODDSPartEventSource__set_connection;
typedef unsigned long SOMLINK somTP_ODDSPartEventSource__get_languageId(ODDSPartEventSource *somSelf, Environment *ev);
typedef somTP_ODDSPartEventSource__get_languageId *somTD_ODDSPartEventSource__get_languageId;
typedef void SOMLINK somTP_ODDSPartEventSource__set_languageId(ODDSPartEventSource *somSelf, Environment *ev,
unsigned long languageId);
typedef somTP_ODDSPartEventSource__set_languageId *somTD_ODDSPartEventSource__set_languageId;
typedef LPODGUID SOMLINK somTP_ODDSPartEventSource__get_guid(ODDSPartEventSource *somSelf, Environment *ev);
typedef somTP_ODDSPartEventSource__get_guid *somTD_ODDSPartEventSource__get_guid;
typedef long SOMLINK somTP_ODDSPartEventSource_AddSink(ODDSPartEventSource *somSelf, Environment *ev,
ODDSSink* sink);
typedef somTP_ODDSPartEventSource_AddSink *somTD_ODDSPartEventSource_AddSink;
typedef long SOMLINK somTP_ODDSPartEventSource_RemoveSink(ODDSPartEventSource *somSelf, Environment *ev,
ODDSSink* sink);
typedef somTP_ODDSPartEventSource_RemoveSink *somTD_ODDSPartEventSource_RemoveSink;
typedef boolean SOMLINK somTP_ODDSPartEventSource_SinkIsConnnected(ODDSPartEventSource *somSelf, Environment *ev,
ODDSSink* sink);
typedef somTP_ODDSPartEventSource_SinkIsConnnected *somTD_ODDSPartEventSource_SinkIsConnnected;
typedef long SOMLINK somTP_ODDSPartEventSource_PrepareEventFiring(ODDSPartEventSource *somSelf, Environment *ev,
long* numberOfSinks,
ODDSSinkEnum** sinks);
typedef somTP_ODDSPartEventSource_PrepareEventFiring *somTD_ODDSPartEventSource_PrepareEventFiring;
typedef long SOMLINK somTP_ODDSPartEventSource_FireEvent(ODDSPartEventSource *somSelf, Environment *ev,
ODDSSinkEnum* sinks,
string eventName,
_IDL_SEQUENCE_any* inputParms,
ODDSRESULT* result);
typedef somTP_ODDSPartEventSource_FireEvent *somTD_ODDSPartEventSource_FireEvent;
typedef long SOMLINK somTP_ODDSPartEventSource_StopEventFiring(ODDSPartEventSource *somSelf, Environment *ev,
ODDSSinkEnum* sinks);
typedef somTP_ODDSPartEventSource_StopEventFiring *somTD_ODDSPartEventSource_StopEventFiring;
typedef long SOMLINK somTP_ODDSPartEventSource_CreateSinkEnum(ODDSPartEventSource *somSelf, Environment *ev,
ODDSSinkEnum** sinks);
typedef somTP_ODDSPartEventSource_CreateSinkEnum *somTD_ODDSPartEventSource_CreateSinkEnum;
typedef void SOMLINK somTP_ODDSPartEventSource_EventMgrWithGUID(ODDSPartEventSource *somSelf, Environment *ev,
somInitCtrl* ctrl,
ODGUID guid);
typedef somTP_ODDSPartEventSource_EventMgrWithGUID *somTD_ODDSPartEventSource_EventMgrWithGUID;
}
#endif /* ODDSPartEventSource_API */
/*
* -- 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))
/*
* -- The C++ Wrapper Class for ODDSPartEventSource
*/
class ODDSPartEventSource : public ODDSPartEventInterface, public ODDSEventMgr
{
public:
// ODDSPartEventSource::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 (!_ODDSPartEventSource) ODDSPartEventSourceNewClass(ODDSPartEventSource_MajorVersion,ODDSPartEventSource_MinorVersion);
return (void*)
SOM_Resolve(_ODDSPartEventSource,SOMClass,somNewNoInit)
((SOMClass *)((void*)_ODDSPartEventSource));
}
// ODDSPartEventSource::delete uses somDestruct.
void operator delete(void * obj)
{
if (obj && *(void**)obj) {
SOM_Resolve(obj,SOMObject,somFree)
((SOMObject*)obj);
}
}
ODDSPartEventSource& operator=(ODDSPartEventSource& fromObj)
{
this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
return *this;
}
ODDSPartEventSource()
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODDSPartEventSourceCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultInit(0);
}
ODDSPartEventSource(ODDSPartEventSource* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODDSPartEventSourceCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(nocnv,nopar)
#endif
ODDSPartEventSource(const ODDSPartEventSource* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODDSPartEventSourceCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(restore)
#endif
/*
* Reintroduce inherited methods
*/
/* method: Click */
void Click(Environment *ev)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,Click)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: DblClick */
void DblClick(Environment *ev)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,DblClick)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: KeyDown */
void KeyDown(Environment *ev,
short* KeyCode,
short Shift)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,KeyDown)
(this, ev,KeyCode,Shift);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: KeyPress */
void KeyPress(Environment *ev,
short* KeyAscii)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,KeyPress)
(this, ev,KeyAscii);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: KeyUp */
void KeyUp(Environment *ev,
short* KeyCode,
short Shift)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,KeyUp)
(this, ev,KeyCode,Shift);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: MouseDown */
void MouseDown(Environment *ev,
short Button,
short Shift,
long X,
long Y)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,MouseDown)
(this, ev,Button,Shift,X,Y);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: MouseMove */
void MouseMove(Environment *ev,
short Button,
short Shift,
long X,
long Y)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,MouseMove)
(this, ev,Button,Shift,X,Y);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: MouseUp */
void MouseUp(Environment *ev,
short Button,
short Shift,
long X,
long Y)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSPartEventInterface,MouseUp)
(this, ev,Button,Shift,X,Y);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* initializer method: somDefaultInit */
void somDefaultInit(som3InitCtrl* ctrl)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultInit)
(this,ctrl);
}
/* method: somDestruct */
void somDestruct(octet doFree,
som3DestructCtrl* ctrl)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDestruct)
(this,doFree,ctrl);
}
/* initializer method: somDefaultCopyInit */
void somDefaultCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultAssign */
ODDSPartEventSource* somDefaultAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultAssign)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstCopyInit */
void somDefaultConstCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultConstCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultVCopyInit */
void somDefaultVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultVCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstVCopyInit */
void somDefaultConstVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultConstVCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultConstAssign */
ODDSPartEventSource* somDefaultConstAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultConstAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultVAssign */
ODDSPartEventSource* somDefaultVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultVAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultConstVAssign */
ODDSPartEventSource* somDefaultConstVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDefaultConstVAssign)
(this,ctrl,fromObj);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somInit)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somFree)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somUninit)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
string somGetClassName()
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somRespondsTo)
(this,mId);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean ODDSPartEventSource_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODDSPartEventSource,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,ODDSPartEventSource,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean ODDSPartEventSource_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODDSPartEventSource,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,ODDSPartEventSource,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somResetObj)
(this);
}
/* va_list method: somDispatchV */
/* the va_list invocation form */
void ODDSPartEventSource_somDispatchV(somId methodId,
somId descriptor,
va_list ap)
{ SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void somDispatchV(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
va_end(ap);
}
/* va_list method: somDispatchL */
/* the va_list invocation form */
long ODDSPartEventSource_somDispatchL(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
long somDispatchL(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchA */
/* the va_list invocation form */
void* ODDSPartEventSource_somDispatchA(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void* somDispatchA(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
void* __somResult =
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchD */
/* the va_list invocation form */
double ODDSPartEventSource_somDispatchD(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
double somDispatchD(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
double __somResult =
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,ODDSPartEventSource,SOMObject,somDumpSelfInt)
(this,level);
}
/* method: _get_connection */
ODDSConnection* _get_connection(Environment *ev)
{
/*
* Method from the IDL attribute statement:
* "attribute ODDSConnection* connection"
*/
#ifdef SOMCHKEXCEPT
ODDSConnection* __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_get_connection)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_get_connection)
(this, ev);
#endif
}
/* method: _set_connection */
void _set_connection(Environment *ev,
ODDSConnection* connection)
{
/*
* Method from the IDL attribute statement:
* "attribute ODDSConnection* connection"
*/
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_set_connection)
(this, ev,connection);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: _get_languageId */
unsigned long _get_languageId(Environment *ev)
{
/*
* Method from the IDL attribute statement:
* "attribute unsigned long languageId"
*/
#ifdef SOMCHKEXCEPT
unsigned long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_get_languageId)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_get_languageId)
(this, ev);
#endif
}
/* method: _set_languageId */
void _set_languageId(Environment *ev,
unsigned long languageId)
{
/*
* Method from the IDL attribute statement:
* "attribute unsigned long languageId"
*/
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_set_languageId)
(this, ev,languageId);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: _get_guid */
LPODGUID _get_guid(Environment *ev)
{
/*
* Method from the IDL attribute statement:
* "readonly attribute LPODGUID guid"
*/
#ifdef SOMCHKEXCEPT
LPODGUID __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_get_guid)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,_get_guid)
(this, ev);
#endif
}
/* method: AddSink */
long AddSink(Environment *ev,
ODDSSink* sink)
{
#ifdef SOMCHKEXCEPT
long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,AddSink)
(this, ev,sink);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,AddSink)
(this, ev,sink);
#endif
}
/* method: RemoveSink */
long RemoveSink(Environment *ev,
ODDSSink* sink)
{
#ifdef SOMCHKEXCEPT
long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,RemoveSink)
(this, ev,sink);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,RemoveSink)
(this, ev,sink);
#endif
}
/* method: SinkIsConnnected */
boolean SinkIsConnnected(Environment *ev,
ODDSSink* sink)
{
#ifdef SOMCHKEXCEPT
boolean __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,SinkIsConnnected)
(this, ev,sink);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,SinkIsConnnected)
(this, ev,sink);
#endif
}
/* method: PrepareEventFiring */
long PrepareEventFiring(Environment *ev,
long* numberOfSinks,
ODDSSinkEnum** sinks)
{
#ifdef SOMCHKEXCEPT
long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,PrepareEventFiring)
(this, ev,numberOfSinks,sinks);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,PrepareEventFiring)
(this, ev,numberOfSinks,sinks);
#endif
}
/* method: FireEvent */
long FireEvent(Environment *ev,
ODDSSinkEnum* sinks,
string eventName,
_IDL_SEQUENCE_any* inputParms,
ODDSRESULT* result)
{
#ifdef SOMCHKEXCEPT
long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,FireEvent)
(this, ev,sinks,eventName,inputParms,result);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,FireEvent)
(this, ev,sinks,eventName,inputParms,result);
#endif
}
/* method: StopEventFiring */
long StopEventFiring(Environment *ev,
ODDSSinkEnum* sinks)
{
#ifdef SOMCHKEXCEPT
long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,StopEventFiring)
(this, ev,sinks);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,StopEventFiring)
(this, ev,sinks);
#endif
}
/* method: CreateSinkEnum */
long CreateSinkEnum(Environment *ev,
ODDSSinkEnum** sinks)
{
#ifdef SOMCHKEXCEPT
long __somResult =
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,CreateSinkEnum)
(this, ev,sinks);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,CreateSinkEnum)
(this, ev,sinks);
#endif
}
/* initializer method: EventMgrWithGUID */
void EventMgrWithGUID(Environment *ev,
somInitCtrl* ctrl,
ODGUID guid)
{
SOM_ResolveD(this,ODDSPartEventSource,ODDSEventMgr,EventMgrWithGUID)
(this, ev,ctrl,guid);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
}; /* ODDSPartEventSource */
#endif /* SOM_ODDSPartEventSource_xh */