home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ibmodf.zip
/
CNTNRPRT.ZIP
/
CNTNRSPE.XIH
< prev
next >
Wrap
Text File
|
1995-04-13
|
12KB
|
334 lines
/*
* This file was generated by the SOM Compiler.
* FileName: CntnrSPE.xih.
* Generated using:
* SOM Precompiler somipc: 2.29.1.2
* SOM Emitter emitxih: 2.41
*/
/*
*
* Licensed Materials - Property of IBM
*
*
* Copyright (C) International Business Machines Corp., 1994.
* Copyright (C) Apple Computer, Inc., 1994
*
* US Government Users Restricted Rights
* Use, duplication, or disclosure restricted
* by GSA ADP Schedule Contract with IBM Corp.
*
*
*
*/
/*
* -- By default, for classes declared using IDL,
* -- this emitter doesn't define redispatch/apply stubs.
* -- Instead, it requests that the SOM kernel produce them.
* -- To override this default, use the "notc" modifier.
*/
#ifndef SOM_ODSelectedContainerPartExtension_xih
#define SOM_ODSelectedContainerPartExtension_xih
#include <somcls.xh>
#include <somcm.xh>
#ifndef SOM_ODSelectedContainerPartExtension_xh
#include <CntnrSPE.xh>
#endif
/*
* Set the scope of methods functions
*/
#ifndef SOM_Scope
#define SOM_Scope extern "C"
#endif
#define ODSelectedContainerPartExtension_MaxNoMethods 1
/*
* -- Instance Data
*/
typedef struct {
ODSession* fSession;
} ODSelectedContainerPartExtensionData;
/*
* -- Getdata Macro
*/
/*
* -- This emitter treats Data Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to override this default.
*/
typedef ODSelectedContainerPartExtensionData* (SOMLINK * somTD_ODSelectedContainerPartExtension_DataThunk)(void*);
#define ODSelectedContainerPartExtensionGetData(somSelf) \
(((somTD_ODSelectedContainerPartExtension_DataThunk)(ODSelectedContainerPartExtensionCClassData.instanceDataToken))(somSelf))
/*
* -- Instance Data Access Macros for use in Method Procedures
*/
#ifdef VARIABLE_MACROS
#define _fSession (somThis->fSession)
#endif
/*
* -- Primary Implementation File Support
*/
#if (defined(ODSelectedContainerPartExtension_Class_Source) || defined(SOM_Module_cntnrspe_Source))
/*
* Trace/Debug macro
*/
#ifndef ODSelectedContainerPartExtensionMethodDebug
#define ODSelectedContainerPartExtensionMethodDebug(c,m) SOMMethodDebug(c,m)
#endif
/*
* -- Method Macros for use in Method Procedures
*/
#ifdef METHOD_MACROS
#define _GetMenu somSelf->GetMenu
#define _InitExtension somSelf->InitExtension
#define _GetBase somSelf->GetBase
#define _Release somSelf->Release
#define _InitObject somSelf->InitObject
#define _IsInitialized somSelf->IsInitialized
#define _HasExtension somSelf->HasExtension
#define _GetExtension somSelf->GetExtension
#define _ReleaseExtension somSelf->ReleaseExtension
#define _Purge somSelf->Purge
#define _SubClassResponsibility somSelf->SubClassResponsibility
#define _somDefaultInit somSelf->somDefaultInit
#define _somDestruct somSelf->somDestruct
#define _somDefaultCopyInit somSelf->somDefaultCopyInit
#define _somDefaultAssign somSelf->somDefaultAssign
#define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
#define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
#define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
#define _somDefaultConstAssign somSelf->somDefaultConstAssign
#define _somDefaultVAssign somSelf->somDefaultVAssign
#define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
#define _somInit somSelf->somInit
#define _somFree somSelf->somFree
#define _somUninit somSelf->somUninit
#define _somGetClass somSelf->somGetClass
#define _somGetClassName somSelf->somGetClassName
#define _somGetSize somSelf->somGetSize
#define _somIsA somSelf->somIsA
#define _somIsInstanceOf somSelf->somIsInstanceOf
#define _somRespondsTo somSelf->somRespondsTo
#define _somDispatch somSelf->somDispatch
#define _somClassDispatch somSelf->somClassDispatch
#define _somCastObj somSelf->somCastObj
#define _somResetObj somSelf->somResetObj
#define _somDispatchV somSelf->somDispatchV
#define _somDispatchL somSelf->somDispatchL
#define _somDispatchA somSelf->somDispatchA
#define _somDispatchD somSelf->somDispatchD
#define _somPrintSelf somSelf->somPrintSelf
#define _somDumpSelf somSelf->somDumpSelf
#define _somDumpSelfInt somSelf->somDumpSelfInt
#define _InitSCPExtension somSelf->InitSCPExtension
#define _GetMenu somSelf->GetMenu
#endif
/*
* -- The ODSelectedContainerPartExtension ClassData Structure
*/
SOMEXTERN struct ODSelectedContainerPartExtensionClassDataStructure SOMDLINK ODSelectedContainerPartExtensionClassData = {(SOMClass *) NULL};
/*
* -- The auxiliary ODSelectedContainerPartExtension ClassData structure
*/
SOMEXTERN struct ODSelectedContainerPartExtensionCClassDataStructure SOMDLINK ODSelectedContainerPartExtensionCClassData = {(somMethodTabs) NULL};
/*
* -- Apply Stubs for New Methods
*/
static void SOMLINK somAP_ODSelectedContainerPartExtensionInitSCPExtension(ODSelectedContainerPartExtension *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
somSelf = va_arg(__ap, ODSelectedContainerPartExtension*);
Environment *ev = va_arg(__ap, Environment*);
ODPart* base = va_arg(__ap, ODPart*);
ODSession* session = va_arg(__ap, ODSession*);
SOM_IgnoreWarning(__retVal);
((somTD_ODSelectedContainerPartExtension_InitSCPExtension) __methodPtr) (somSelf, ev, base,session);
}
/*
* New Method: InitSCPExtension
*/
SOM_Scope void SOMLINK ODSelectedContainerPartExtensionInitSCPExtension(ODSelectedContainerPartExtension *somSelf, Environment *ev,
ODPart* base,
ODSession* session);
#ifndef somMN_InitSCPExtension_defined
#define somMN_InitSCPExtension_defined
static char *somMN_InitSCPExtension = "InitSCPExtension";
static somId somId_InitSCPExtension = &somMN_InitSCPExtension;
#endif /* somMN_InitSCPExtension_defined */
#ifndef somDS_InitSCPExtension_defined
#define somDS_InitSCPExtension_defined
static char *somDS_InitSCPExtension = "::ODSelectedContainerPartExtension::InitSCPExtension";
static somId somDI_InitSCPExtension = &somDS_InitSCPExtension;
#endif /* somDS_InitSCPExtension_defined */
static void SOMLINK somRD_ODSelectedContainerPartExtensionInitSCPExtension(ODSelectedContainerPartExtension *somSelf, Environment *ev,
ODPart* base,
ODSession* session)
{
void* __retVal;
somSelf->somDispatch((void **)&__retVal, somId_InitSCPExtension, somSelf , ev
,base,session);
}
/*
* Overridden method: GetMenu
*/
SOM_Scope ODMenuBar* SOMLINK ODSelectedContainerPartExtensionGetMenu(ODSelectedContainerPartExtension *somSelf, Environment *ev,
ODFrame* frame);
static char *somMN_ODSelectedContainerPartExtensionGetMenu = "ODSelectedPartExtension::GetMenu";
static somId somId_ODSelectedContainerPartExtensionGetMenu = &somMN_ODSelectedContainerPartExtensionGetMenu;
#ifdef somId_GetMenu
#undef somId_GetMenu
#else
#define somId_GetMenu somId_ODSelectedContainerPartExtensionGetMenu
#endif
typedef ODMenuBar* (SOMLINK * somTD_xih_ODSelectedContainerPartExtension_GetMenu)(ODSelectedContainerPartExtension *somSelf, Environment *ev,
ODFrame* frame);
/* define the parent method call macro */
static somMethodProc* ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu_resolved = 0;
#define ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu(somSelf,ev,frame) \
((( somTD_xih_ODSelectedContainerPartExtension_GetMenu ) \
((ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu_resolved)? \
ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu_resolved : \
(ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu_resolved = \
somParentNumResolve(ODSelectedContainerPartExtensionCClassData.parentMtab, 1, ODSelectedPartExtensionClassData.GetMenu)))) \
(somSelf,ev,frame))
/* define a variety of (possibly ambiguous) short forms */
#ifndef SOMGD_pmc_parent_GetMenu
#ifdef parent_GetMenu
#define SOMGD_pmc_parent_GetMenu
#undef parent_GetMenu
#else
#define parent_GetMenu ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu
#endif
#endif
#ifndef SOMGD_pmc_parent_ODSelectedPartExtension_GetMenu
#ifdef parent_ODSelectedPartExtension_GetMenu
#define SOMGD_pmc_parent_ODSelectedPartExtension_GetMenu
#undef parent_ODSelectedPartExtension_GetMenu
#else
#define parent_ODSelectedPartExtension_GetMenu ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu
#endif
#endif
#define ODSelectedContainerPartExtension_parents_GetMenu(arg0,arg1) (\
ODSelectedContainerPartExtension_parent_ODSelectedPartExtension_GetMenu(arg0,arg1))
/*
* -- Routines and Structures to create the class object
*/
/*
* Declare the Static Methods table.
*/
static somStaticMethod_t ODSelectedContainerPartExtensionSM[] = {
{ &ODSelectedContainerPartExtensionClassData.InitSCPExtension,
&somId_InitSCPExtension,
&somDI_InitSCPExtension,
(somMethodProc *) ODSelectedContainerPartExtensionInitSCPExtension,
(somMethodProc *) somRD_ODSelectedContainerPartExtensionInitSCPExtension,
(somMethodProc *) somAP_ODSelectedContainerPartExtensionInitSCPExtension },
};
/*
* Declare the Override Methods table.
*/
static somOverrideMethod_t ODSelectedContainerPartExtensionOM[] = {
{ &somId_ODSelectedContainerPartExtensionGetMenu,
(somMethodProc *) ODSelectedContainerPartExtensionGetMenu },
};
/*
* class Ids
*/
static char * somCN_ODSelectedContainerPartExtension = "ODSelectedContainerPartExtension";
static char * somPCN_ODSelectedContainerPartExtension_ODSelectedPartExtension = "ODSelectedPartExtension";
static somId somPCODSelectedContainerPartExtension[] = {
&somPCN_ODSelectedContainerPartExtension_ODSelectedPartExtension,
};
static somStaticClassInfo ODSelectedContainerPartExtensionSCI = {
4, 1, 1, 0, 0, 0, /* layout version 4 */
ODSelectedContainerPartExtension_MajorVersion, ODSelectedContainerPartExtension_MinorVersion,
sizeof(ODSelectedContainerPartExtensionData), ODSelectedContainerPartExtension_MaxNoMethods, 1,
&somCN_ODSelectedContainerPartExtension,
(somId) NULL, 1,
somPCODSelectedContainerPartExtension,
(somClassDataStructure *) &ODSelectedContainerPartExtensionClassData,
(somCClassDataStructure *) &ODSelectedContainerPartExtensionCClassData,
ODSelectedContainerPartExtensionSM, ODSelectedContainerPartExtensionOM,
(char *) NULL,
(somNonInternalData_t *) NULL,
(somProcMethods_t *) NULL,
(somVarargsFuncs_t *) NULL,
(somTP_somClassInitFunc *) NULL,
0, /* default alignment */
-1, /* use parents as DirectInitClasses */
0, /* no explicit DirectInitClasses */
0, /* number of general methods */
(somMethods_t *) NULL,
0, /* no public data offset */
0, /* no sci development level check */
0, /* number of SelectInheritedMethods */
0, /* no SelectInheritedMethods */
1, /* number of classdata entries */
0, /* no list provided currently */
0, /* number of migrated methods */
0, /* no migrated method implementations */
0, /* number of initializers */
0, /* no initializers */
0, /* not a DTS class */
0, /* no dynamically computed info */
};
/*
* Class Creation and Initialization
*/
SOMClass * SOMLINK ODSelectedContainerPartExtensionNewClass (integer4 somtmajorVersion,
integer4 somtminorVersion)
{
ODSelectedPartExtensionNewClass(ODSelectedPartExtension_MajorVersion,ODSelectedPartExtension_MinorVersion); /* static reference */
return (SOMClass*) ((void*)(somBuildClass(1,&ODSelectedContainerPartExtensionSCI, somtmajorVersion, somtminorVersion)));
}
/*
* Functions for attributes.
*/
/*
* Macros for initializer/destructor entry/exit
*/
#endif /* Primary Implementation Support */
#endif /* SOM_ODSelectedContainerPartExtension_xih */