| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | * This file was generated by the SOM Compiler.
|
|---|
| 4 | * FileName: include\cwpcx.ih.
|
|---|
| 5 | * Generated using:
|
|---|
| 6 | * SOM Precompiler somipc: 2.29.1.7
|
|---|
| 7 | * SOM Emitter emitih: 2.42
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | *
|
|---|
| 12 | * CWgif.idl:
|
|---|
| 13 | */
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | /*
|
|---|
| 17 | * -- By default, for classes declared using IDL,
|
|---|
| 18 | * -- this emitter doesn't define redispatch/apply stubs.
|
|---|
| 19 | * -- Instead, it requests that the SOM kernel produce them.
|
|---|
| 20 | * -- To override this default, use the "notc" modifier.
|
|---|
| 21 | */
|
|---|
| 22 |
|
|---|
| 23 | #ifndef SOM_CWPCX_ih
|
|---|
| 24 | #define SOM_CWPCX_ih
|
|---|
| 25 |
|
|---|
| 26 | #pragma checkout(suspend)
|
|---|
| 27 |
|
|---|
| 28 | #include <cwpcx.h>
|
|---|
| 29 |
|
|---|
| 30 | /*
|
|---|
| 31 | * Set the scope of methods functions
|
|---|
| 32 | */
|
|---|
| 33 | #ifndef SOM_Scope
|
|---|
| 34 | #ifdef __cplusplus
|
|---|
| 35 | #define SOM_Scope extern "C"
|
|---|
| 36 | #else
|
|---|
| 37 | #define SOM_Scope extern
|
|---|
| 38 | #endif /* __cplusplus */
|
|---|
| 39 | #endif /* SOM_Scope */
|
|---|
| 40 |
|
|---|
| 41 | #ifndef SOM_CurrentClass
|
|---|
| 42 | #define SOM_CurrentClass CWPCXCClassData.parentMtab
|
|---|
| 43 | #endif /* SOM_CurrentClass */
|
|---|
| 44 |
|
|---|
| 45 | #define CWPCX_MaxNoMethods 0
|
|---|
| 46 |
|
|---|
| 47 | /*
|
|---|
| 48 | * -- Instance data
|
|---|
| 49 | */
|
|---|
| 50 | typedef void CWPCXData;
|
|---|
| 51 |
|
|---|
| 52 | /*
|
|---|
| 53 | * This class introduces no instance data, so no GetData macro is provided
|
|---|
| 54 | */
|
|---|
| 55 |
|
|---|
| 56 | /*
|
|---|
| 57 | * Primary Implementation File Support
|
|---|
| 58 | */
|
|---|
| 59 | #if (defined(CWPCX_Class_Source) || defined(SOM_Module_cwpcx_Source))
|
|---|
| 60 |
|
|---|
| 61 | /*
|
|---|
| 62 | * Trace/Debug macro
|
|---|
| 63 | */
|
|---|
| 64 | #ifndef CWPCXMethodDebug
|
|---|
| 65 | #define CWPCXMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 66 | #endif /* CWPCXMethodDebug */
|
|---|
| 67 |
|
|---|
| 68 | /*
|
|---|
| 69 | * Current class macros for Instance and Meta classes.
|
|---|
| 70 | */
|
|---|
| 71 | #undef SOMMeta
|
|---|
| 72 | #define SOMMeta M_CWPCXCClassData.parentMtab
|
|---|
| 73 | #undef SOMInstance
|
|---|
| 74 | #define SOMInstance CWPCXCClassData.parentMtab
|
|---|
| 75 |
|
|---|
| 76 | #ifndef M_CWPCX_Class_Source
|
|---|
| 77 | #define M_CWPCX_Class_Source
|
|---|
| 78 | #endif /* M_CWPCX_Class_Source */
|
|---|
| 79 |
|
|---|
| 80 | /*
|
|---|
| 81 | * Initialize the class data structure
|
|---|
| 82 | */
|
|---|
| 83 | SOMEXTERN struct CWPCXClassDataStructure SOMDLINK CWPCXClassData = {(SOMAny *) NULL};
|
|---|
| 84 |
|
|---|
| 85 | /*
|
|---|
| 86 | * Define the C class data structure
|
|---|
| 87 | */
|
|---|
| 88 | SOMEXTERN struct CWPCXCClassDataStructure SOMDLINK CWPCXCClassData = {(somMethodTabs) NULL};
|
|---|
| 89 |
|
|---|
| 90 | /*
|
|---|
| 91 | * Routines and Structures to create the class object
|
|---|
| 92 | */
|
|---|
| 93 |
|
|---|
| 94 |
|
|---|
| 95 | /*
|
|---|
| 96 | * Initializers for class Ids
|
|---|
| 97 | */
|
|---|
| 98 | static char * somCN_CWPCX = "CWPCX";
|
|---|
| 99 | #ifndef somEMC_M_CWPCX_defined
|
|---|
| 100 | #define somEMC_M_CWPCX_defined
|
|---|
| 101 | static char * somEMC_M_CWPCX = "M_CWPCX";
|
|---|
| 102 | #endif
|
|---|
| 103 | static char * somPCN_CWPCX_CWImage = "CWImage";
|
|---|
| 104 |
|
|---|
| 105 | static somId somPCCWPCX[] = {
|
|---|
| 106 | &somPCN_CWPCX_CWImage,
|
|---|
| 107 | };
|
|---|
| 108 |
|
|---|
| 109 | static somStaticClassInfo CWPCXSCI = {
|
|---|
| 110 | 4, 0, 0, 0, 0, 0,
|
|---|
| 111 | CWPCX_MajorVersion, CWPCX_MinorVersion,
|
|---|
| 112 | 0, CWPCX_MaxNoMethods, 1,
|
|---|
| 113 | &somCN_CWPCX,
|
|---|
| 114 | &somEMC_M_CWPCX, 0,
|
|---|
| 115 | somPCCWPCX,
|
|---|
| 116 | (somClassDataStructure *) &CWPCXClassData,
|
|---|
| 117 | (somCClassDataStructure *) &CWPCXCClassData,
|
|---|
| 118 | (somStaticMethod_t *) NULL, (somOverrideMethod_t *) NULL,
|
|---|
| 119 | (char *) NULL,
|
|---|
| 120 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 121 | (somVarargsFuncs_t *) NULL,
|
|---|
| 122 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 123 | 0, /* type code alignment */
|
|---|
| 124 | -1, /* use parents as directinitclasses */
|
|---|
| 125 | 0, /* no explicit directinitclasses */
|
|---|
| 126 | 0, /* number of general method entries */
|
|---|
| 127 | (somMethods_t *) NULL,
|
|---|
| 128 | 0, /* no public data offset */
|
|---|
| 129 | 0, /* no sci development level check */
|
|---|
| 130 | 0, /* number of SelectInheritedMethods */
|
|---|
| 131 | 0, /* no SelectInheritedMethods */
|
|---|
| 132 | 0, /* number of classdata entries */
|
|---|
| 133 | 0, /* no entry names provided currently */
|
|---|
| 134 | 0, /* number of migrated methods */
|
|---|
| 135 | 0, /* no migrated method implementations */
|
|---|
| 136 | 0, /* number of initializers */
|
|---|
| 137 | 0, /* no initializers */
|
|---|
| 138 | 0, /* used to identify a DTS class */
|
|---|
| 139 | 0, /* used to register dynamically computed info */
|
|---|
| 140 | };
|
|---|
| 141 |
|
|---|
| 142 |
|
|---|
| 143 | /*
|
|---|
| 144 | * Class Creation and Initialization
|
|---|
| 145 | */
|
|---|
| 146 |
|
|---|
| 147 | SOMClass * SOMLINK CWPCXNewClass (integer4 somtmajorVersion,
|
|---|
| 148 | integer4 somtminorVersion)
|
|---|
| 149 | {
|
|---|
| 150 | SOMClass *result;
|
|---|
| 151 | CWImageNewClass(CWImage_MajorVersion,CWImage_MinorVersion); /* static reference */
|
|---|
| 152 | /* Explicit metaclass, so get it */
|
|---|
| 153 | M_CWPCXNewClass(M_CWPCX_MajorVersion,M_CWPCX_MinorVersion); /* static reference */
|
|---|
| 154 | result = somBuildClass(1,&CWPCXSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 155 | return result;
|
|---|
| 156 | }
|
|---|
| 157 |
|
|---|
| 158 | /*
|
|---|
| 159 | * Functions for attributes.
|
|---|
| 160 | */
|
|---|
| 161 |
|
|---|
| 162 | #endif /* Primary Implementation Support */
|
|---|
| 163 | #pragma checkout(resume)
|
|---|
| 164 |
|
|---|
| 165 | #endif /* SOM_CWPCX_ih */
|
|---|
| 166 |
|
|---|
| 167 | /*
|
|---|
| 168 | * -- By default, for classes declared using IDL,
|
|---|
| 169 | * -- this emitter doesn't define redispatch/apply stubs.
|
|---|
| 170 | * -- Instead, it requests that the SOM kernel produce them.
|
|---|
| 171 | * -- To override this default, use the "notc" modifier.
|
|---|
| 172 | */
|
|---|
| 173 |
|
|---|
| 174 | #ifndef SOM_M_CWPCX_ih
|
|---|
| 175 | #define SOM_M_CWPCX_ih
|
|---|
| 176 |
|
|---|
| 177 | #pragma checkout(suspend)
|
|---|
| 178 |
|
|---|
| 179 | #include <cwpcx.h>
|
|---|
| 180 |
|
|---|
| 181 | /*
|
|---|
| 182 | * Set the scope of methods functions
|
|---|
| 183 | */
|
|---|
| 184 | #ifndef SOM_Scope
|
|---|
| 185 | #ifdef __cplusplus
|
|---|
| 186 | #define SOM_Scope extern "C"
|
|---|
| 187 | #else
|
|---|
| 188 | #define SOM_Scope extern
|
|---|
| 189 | #endif /* __cplusplus */
|
|---|
| 190 | #endif /* SOM_Scope */
|
|---|
| 191 |
|
|---|
| 192 | #ifndef SOM_CurrentClass
|
|---|
| 193 | #define SOM_CurrentClass M_CWPCXCClassData.parentMtab
|
|---|
| 194 | #endif /* SOM_CurrentClass */
|
|---|
| 195 |
|
|---|
| 196 | #define M_CWPCX_MaxNoMethods 0
|
|---|
| 197 |
|
|---|
| 198 | /*
|
|---|
| 199 | * -- Instance data
|
|---|
| 200 | */
|
|---|
| 201 | typedef void M_CWPCXData;
|
|---|
| 202 |
|
|---|
| 203 | /*
|
|---|
| 204 | * This class introduces no instance data, so no GetData macro is provided
|
|---|
| 205 | */
|
|---|
| 206 |
|
|---|
| 207 | /*
|
|---|
| 208 | * Primary Implementation File Support
|
|---|
| 209 | */
|
|---|
| 210 | #if (defined(CWPCX_Class_Source) || defined(M_CWPCX_Class_Source) || defined(SOM_Module_cwpcx_Source))
|
|---|
| 211 |
|
|---|
| 212 | /*
|
|---|
| 213 | * Trace/Debug macro
|
|---|
| 214 | */
|
|---|
| 215 | #ifndef M_CWPCXMethodDebug
|
|---|
| 216 | #define M_CWPCXMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 217 | #endif /* M_CWPCXMethodDebug */
|
|---|
| 218 |
|
|---|
| 219 | /*
|
|---|
| 220 | * Current class macros for Instance and Meta classes.
|
|---|
| 221 | */
|
|---|
| 222 |
|
|---|
| 223 | /*
|
|---|
| 224 | * Overridden method: wpclsQueryInstanceType
|
|---|
| 225 | */
|
|---|
| 226 | #pragma linkage(cwpcxM_wpclsQueryInstanceType, system)
|
|---|
| 227 | SOM_Scope PSZ SOMLINK cwpcxM_wpclsQueryInstanceType(M_CWPCX *somSelf);
|
|---|
| 228 | static char *somMN_M_CWPCXwpclsQueryInstanceType = "M_WPFileSystem::wpclsQueryInstanceType";
|
|---|
| 229 | static somId somId_M_CWPCXwpclsQueryInstanceType = &somMN_M_CWPCXwpclsQueryInstanceType;
|
|---|
| 230 | #ifdef somId_wpclsQueryInstanceType
|
|---|
| 231 | #undef somId_wpclsQueryInstanceType
|
|---|
| 232 | #else
|
|---|
| 233 | #define somId_wpclsQueryInstanceType somId_M_CWPCXwpclsQueryInstanceType
|
|---|
| 234 | #endif
|
|---|
| 235 | static somMethodProc* M_CWPCX_parent_M_CWImage_wpclsQueryInstanceType_resolved;
|
|---|
| 236 | #define M_CWPCX_parent_M_CWImage_wpclsQueryInstanceType(somSelf) \
|
|---|
| 237 | ((( somTD_M_WPFileSystem_wpclsQueryInstanceType ) \
|
|---|
| 238 | M_CWPCX_parent_M_CWImage_wpclsQueryInstanceType_resolved) \
|
|---|
| 239 | (somSelf))
|
|---|
| 240 | #ifndef SOMGD_pmc_M_CWImage_wpclsQueryInstanceType
|
|---|
| 241 | #ifdef parent_M_CWImage_wpclsQueryInstanceType
|
|---|
| 242 | #undef parent_M_CWImage_wpclsQueryInstanceType
|
|---|
| 243 | #define SOMGD_pmc_M_CWImage_wpclsQueryInstanceType 1
|
|---|
| 244 | #else
|
|---|
| 245 | #define parent_M_CWImage_wpclsQueryInstanceType M_CWPCX_parent_M_CWImage_wpclsQueryInstanceType
|
|---|
| 246 | #endif /* parent_M_CWImage_wpclsQueryInstanceType */
|
|---|
| 247 | #endif /* SOMGD_pmc_M_CWImage_wpclsQueryInstanceType */
|
|---|
| 248 | #ifndef parent_wpclsQueryInstanceType
|
|---|
| 249 | #define parent_wpclsQueryInstanceType M_CWPCX_parent_M_CWImage_wpclsQueryInstanceType
|
|---|
| 250 | #endif /* parent_wpclsQueryInstanceType */
|
|---|
| 251 | #define M_CWPCX_parents_wpclsQueryInstanceType(somSelf) (\
|
|---|
| 252 | M_CWPCX_parent_M_CWImage_wpclsQueryInstanceType(somSelf))
|
|---|
| 253 |
|
|---|
| 254 | /*
|
|---|
| 255 | * Overridden method: wpclsQueryInstanceFilter
|
|---|
| 256 | */
|
|---|
| 257 | #pragma linkage(cwpcxM_wpclsQueryInstanceFilter, system)
|
|---|
| 258 | SOM_Scope PSZ SOMLINK cwpcxM_wpclsQueryInstanceFilter(M_CWPCX *somSelf);
|
|---|
| 259 | static char *somMN_M_CWPCXwpclsQueryInstanceFilter = "M_WPFileSystem::wpclsQueryInstanceFilter";
|
|---|
| 260 | static somId somId_M_CWPCXwpclsQueryInstanceFilter = &somMN_M_CWPCXwpclsQueryInstanceFilter;
|
|---|
| 261 | #ifdef somId_wpclsQueryInstanceFilter
|
|---|
| 262 | #undef somId_wpclsQueryInstanceFilter
|
|---|
| 263 | #else
|
|---|
| 264 | #define somId_wpclsQueryInstanceFilter somId_M_CWPCXwpclsQueryInstanceFilter
|
|---|
| 265 | #endif
|
|---|
| 266 | static somMethodProc* M_CWPCX_parent_M_CWImage_wpclsQueryInstanceFilter_resolved;
|
|---|
| 267 | #define M_CWPCX_parent_M_CWImage_wpclsQueryInstanceFilter(somSelf) \
|
|---|
| 268 | ((( somTD_M_WPFileSystem_wpclsQueryInstanceFilter ) \
|
|---|
| 269 | M_CWPCX_parent_M_CWImage_wpclsQueryInstanceFilter_resolved) \
|
|---|
| 270 | (somSelf))
|
|---|
| 271 | #ifndef SOMGD_pmc_M_CWImage_wpclsQueryInstanceFilter
|
|---|
| 272 | #ifdef parent_M_CWImage_wpclsQueryInstanceFilter
|
|---|
| 273 | #undef parent_M_CWImage_wpclsQueryInstanceFilter
|
|---|
| 274 | #define SOMGD_pmc_M_CWImage_wpclsQueryInstanceFilter 1
|
|---|
| 275 | #else
|
|---|
| 276 | #define parent_M_CWImage_wpclsQueryInstanceFilter M_CWPCX_parent_M_CWImage_wpclsQueryInstanceFilter
|
|---|
| 277 | #endif /* parent_M_CWImage_wpclsQueryInstanceFilter */
|
|---|
| 278 | #endif /* SOMGD_pmc_M_CWImage_wpclsQueryInstanceFilter */
|
|---|
| 279 | #ifndef parent_wpclsQueryInstanceFilter
|
|---|
| 280 | #define parent_wpclsQueryInstanceFilter M_CWPCX_parent_M_CWImage_wpclsQueryInstanceFilter
|
|---|
| 281 | #endif /* parent_wpclsQueryInstanceFilter */
|
|---|
| 282 | #define M_CWPCX_parents_wpclsQueryInstanceFilter(somSelf) (\
|
|---|
| 283 | M_CWPCX_parent_M_CWImage_wpclsQueryInstanceFilter(somSelf))
|
|---|
| 284 |
|
|---|
| 285 | /*
|
|---|
| 286 | * Overridden method: wpclsQueryDefaultHelp
|
|---|
| 287 | */
|
|---|
| 288 | #pragma linkage(cwpcxM_wpclsQueryDefaultHelp, system)
|
|---|
| 289 | SOM_Scope BOOL SOMLINK cwpcxM_wpclsQueryDefaultHelp(M_CWPCX *somSelf,
|
|---|
| 290 | PULONG pHelpPanelId,
|
|---|
| 291 | PSZ pszHelpLibrary);
|
|---|
| 292 | static char *somMN_M_CWPCXwpclsQueryDefaultHelp = "M_WPObject::wpclsQueryDefaultHelp";
|
|---|
| 293 | static somId somId_M_CWPCXwpclsQueryDefaultHelp = &somMN_M_CWPCXwpclsQueryDefaultHelp;
|
|---|
| 294 | #ifdef somId_wpclsQueryDefaultHelp
|
|---|
| 295 | #undef somId_wpclsQueryDefaultHelp
|
|---|
| 296 | #else
|
|---|
| 297 | #define somId_wpclsQueryDefaultHelp somId_M_CWPCXwpclsQueryDefaultHelp
|
|---|
| 298 | #endif
|
|---|
| 299 | static somMethodProc* M_CWPCX_parent_M_CWImage_wpclsQueryDefaultHelp_resolved;
|
|---|
| 300 | #define M_CWPCX_parent_M_CWImage_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
|
|---|
| 301 | ((( somTD_M_WPObject_wpclsQueryDefaultHelp ) \
|
|---|
| 302 | M_CWPCX_parent_M_CWImage_wpclsQueryDefaultHelp_resolved) \
|
|---|
| 303 | (somSelf,pHelpPanelId,pszHelpLibrary))
|
|---|
| 304 | #ifndef SOMGD_pmc_M_CWImage_wpclsQueryDefaultHelp
|
|---|
| 305 | #ifdef parent_M_CWImage_wpclsQueryDefaultHelp
|
|---|
| 306 | #undef parent_M_CWImage_wpclsQueryDefaultHelp
|
|---|
| 307 | #define SOMGD_pmc_M_CWImage_wpclsQueryDefaultHelp 1
|
|---|
| 308 | #else
|
|---|
| 309 | #define parent_M_CWImage_wpclsQueryDefaultHelp M_CWPCX_parent_M_CWImage_wpclsQueryDefaultHelp
|
|---|
| 310 | #endif /* parent_M_CWImage_wpclsQueryDefaultHelp */
|
|---|
| 311 | #endif /* SOMGD_pmc_M_CWImage_wpclsQueryDefaultHelp */
|
|---|
| 312 | #ifndef parent_wpclsQueryDefaultHelp
|
|---|
| 313 | #define parent_wpclsQueryDefaultHelp M_CWPCX_parent_M_CWImage_wpclsQueryDefaultHelp
|
|---|
| 314 | #endif /* parent_wpclsQueryDefaultHelp */
|
|---|
| 315 | #define M_CWPCX_parents_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) (\
|
|---|
| 316 | M_CWPCX_parent_M_CWImage_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary))
|
|---|
| 317 |
|
|---|
| 318 | /*
|
|---|
| 319 | * Overridden method: wpclsQueryStyle
|
|---|
| 320 | */
|
|---|
| 321 | #pragma linkage(cwpcxM_wpclsQueryStyle, system)
|
|---|
| 322 | SOM_Scope ULONG SOMLINK cwpcxM_wpclsQueryStyle(M_CWPCX *somSelf);
|
|---|
| 323 | static char *somMN_M_CWPCXwpclsQueryStyle = "M_WPObject::wpclsQueryStyle";
|
|---|
| 324 | static somId somId_M_CWPCXwpclsQueryStyle = &somMN_M_CWPCXwpclsQueryStyle;
|
|---|
| 325 | #ifdef somId_wpclsQueryStyle
|
|---|
| 326 | #undef somId_wpclsQueryStyle
|
|---|
| 327 | #else
|
|---|
| 328 | #define somId_wpclsQueryStyle somId_M_CWPCXwpclsQueryStyle
|
|---|
| 329 | #endif
|
|---|
| 330 | static somMethodProc* M_CWPCX_parent_M_CWImage_wpclsQueryStyle_resolved;
|
|---|
| 331 | #define M_CWPCX_parent_M_CWImage_wpclsQueryStyle(somSelf) \
|
|---|
| 332 | ((( somTD_M_WPObject_wpclsQueryStyle ) \
|
|---|
| 333 | M_CWPCX_parent_M_CWImage_wpclsQueryStyle_resolved) \
|
|---|
| 334 | (somSelf))
|
|---|
| 335 | #ifndef SOMGD_pmc_M_CWImage_wpclsQueryStyle
|
|---|
| 336 | #ifdef parent_M_CWImage_wpclsQueryStyle
|
|---|
| 337 | #undef parent_M_CWImage_wpclsQueryStyle
|
|---|
| 338 | #define SOMGD_pmc_M_CWImage_wpclsQueryStyle 1
|
|---|
| 339 | #else
|
|---|
| 340 | #define parent_M_CWImage_wpclsQueryStyle M_CWPCX_parent_M_CWImage_wpclsQueryStyle
|
|---|
| 341 | #endif /* parent_M_CWImage_wpclsQueryStyle */
|
|---|
| 342 | #endif /* SOMGD_pmc_M_CWImage_wpclsQueryStyle */
|
|---|
| 343 | #ifndef parent_wpclsQueryStyle
|
|---|
| 344 | #define parent_wpclsQueryStyle M_CWPCX_parent_M_CWImage_wpclsQueryStyle
|
|---|
| 345 | #endif /* parent_wpclsQueryStyle */
|
|---|
| 346 | #define M_CWPCX_parents_wpclsQueryStyle(somSelf) (\
|
|---|
| 347 | M_CWPCX_parent_M_CWImage_wpclsQueryStyle(somSelf))
|
|---|
| 348 |
|
|---|
| 349 | /*
|
|---|
| 350 | * Overridden method: wpclsQueryTitle
|
|---|
| 351 | */
|
|---|
| 352 | #pragma linkage(cwpcxM_wpclsQueryTitle, system)
|
|---|
| 353 | SOM_Scope PSZ SOMLINK cwpcxM_wpclsQueryTitle(M_CWPCX *somSelf);
|
|---|
| 354 | static char *somMN_M_CWPCXwpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
|
|---|
| 355 | static somId somId_M_CWPCXwpclsQueryTitle = &somMN_M_CWPCXwpclsQueryTitle;
|
|---|
| 356 | #ifdef somId_wpclsQueryTitle
|
|---|
| 357 | #undef somId_wpclsQueryTitle
|
|---|
| 358 | #else
|
|---|
| 359 | #define somId_wpclsQueryTitle somId_M_CWPCXwpclsQueryTitle
|
|---|
| 360 | #endif
|
|---|
| 361 | static somMethodProc* M_CWPCX_parent_M_CWImage_wpclsQueryTitle_resolved;
|
|---|
| 362 | #define M_CWPCX_parent_M_CWImage_wpclsQueryTitle(somSelf) \
|
|---|
| 363 | ((( somTD_M_WPObject_wpclsQueryTitle ) \
|
|---|
| 364 | M_CWPCX_parent_M_CWImage_wpclsQueryTitle_resolved) \
|
|---|
| 365 | (somSelf))
|
|---|
| 366 | #ifndef SOMGD_pmc_M_CWImage_wpclsQueryTitle
|
|---|
| 367 | #ifdef parent_M_CWImage_wpclsQueryTitle
|
|---|
| 368 | #undef parent_M_CWImage_wpclsQueryTitle
|
|---|
| 369 | #define SOMGD_pmc_M_CWImage_wpclsQueryTitle 1
|
|---|
| 370 | #else
|
|---|
| 371 | #define parent_M_CWImage_wpclsQueryTitle M_CWPCX_parent_M_CWImage_wpclsQueryTitle
|
|---|
| 372 | #endif /* parent_M_CWImage_wpclsQueryTitle */
|
|---|
| 373 | #endif /* SOMGD_pmc_M_CWImage_wpclsQueryTitle */
|
|---|
| 374 | #ifndef parent_wpclsQueryTitle
|
|---|
| 375 | #define parent_wpclsQueryTitle M_CWPCX_parent_M_CWImage_wpclsQueryTitle
|
|---|
| 376 | #endif /* parent_wpclsQueryTitle */
|
|---|
| 377 | #define M_CWPCX_parents_wpclsQueryTitle(somSelf) (\
|
|---|
| 378 | M_CWPCX_parent_M_CWImage_wpclsQueryTitle(somSelf))
|
|---|
| 379 |
|
|---|
| 380 | /*
|
|---|
| 381 | * Overridden method: wpclsQueryIconData
|
|---|
| 382 | */
|
|---|
| 383 | #pragma linkage(cwpcxM_wpclsQueryIconData, system)
|
|---|
| 384 | SOM_Scope ULONG SOMLINK cwpcxM_wpclsQueryIconData(M_CWPCX *somSelf,
|
|---|
| 385 | PICONINFO pIconInfo);
|
|---|
| 386 | static char *somMN_M_CWPCXwpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
|
|---|
| 387 | static somId somId_M_CWPCXwpclsQueryIconData = &somMN_M_CWPCXwpclsQueryIconData;
|
|---|
| 388 | #ifdef somId_wpclsQueryIconData
|
|---|
| 389 | #undef somId_wpclsQueryIconData
|
|---|
| 390 | #else
|
|---|
| 391 | #define somId_wpclsQueryIconData somId_M_CWPCXwpclsQueryIconData
|
|---|
| 392 | #endif
|
|---|
| 393 | static somMethodProc* M_CWPCX_parent_M_CWImage_wpclsQueryIconData_resolved;
|
|---|
| 394 | #define M_CWPCX_parent_M_CWImage_wpclsQueryIconData(somSelf,pIconInfo) \
|
|---|
| 395 | ((( somTD_M_WPObject_wpclsQueryIconData ) \
|
|---|
| 396 | M_CWPCX_parent_M_CWImage_wpclsQueryIconData_resolved) \
|
|---|
| 397 | (somSelf,pIconInfo))
|
|---|
| 398 | #ifndef SOMGD_pmc_M_CWImage_wpclsQueryIconData
|
|---|
| 399 | #ifdef parent_M_CWImage_wpclsQueryIconData
|
|---|
| 400 | #undef parent_M_CWImage_wpclsQueryIconData
|
|---|
| 401 | #define SOMGD_pmc_M_CWImage_wpclsQueryIconData 1
|
|---|
| 402 | #else
|
|---|
| 403 | #define parent_M_CWImage_wpclsQueryIconData M_CWPCX_parent_M_CWImage_wpclsQueryIconData
|
|---|
| 404 | #endif /* parent_M_CWImage_wpclsQueryIconData */
|
|---|
| 405 | #endif /* SOMGD_pmc_M_CWImage_wpclsQueryIconData */
|
|---|
| 406 | #ifndef parent_wpclsQueryIconData
|
|---|
| 407 | #define parent_wpclsQueryIconData M_CWPCX_parent_M_CWImage_wpclsQueryIconData
|
|---|
| 408 | #endif /* parent_wpclsQueryIconData */
|
|---|
| 409 | #define M_CWPCX_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
|
|---|
| 410 | M_CWPCX_parent_M_CWImage_wpclsQueryIconData(somSelf,pIconInfo))
|
|---|
| 411 |
|
|---|
| 412 | /*
|
|---|
| 413 | * Initialize the class data structure
|
|---|
| 414 | */
|
|---|
| 415 | SOMEXTERN struct M_CWPCXClassDataStructure SOMDLINK M_CWPCXClassData = {(SOMAny *) NULL};
|
|---|
| 416 |
|
|---|
| 417 | /*
|
|---|
| 418 | * Define the C class data structure
|
|---|
| 419 | */
|
|---|
| 420 | SOMEXTERN struct M_CWPCXCClassDataStructure SOMDLINK M_CWPCXCClassData = {(somMethodTabs) NULL};
|
|---|
| 421 |
|
|---|
| 422 | /*
|
|---|
| 423 | * Routines and Structures to create the class object
|
|---|
| 424 | */
|
|---|
| 425 |
|
|---|
| 426 |
|
|---|
| 427 | /*
|
|---|
| 428 | * Declare the Override Methods table.
|
|---|
| 429 | */
|
|---|
| 430 | static somOverrideMethod_t M_CWPCXOM[] = {
|
|---|
| 431 | { &somId_M_CWPCXwpclsQueryInstanceType,
|
|---|
| 432 | (somMethodProc *) cwpcxM_wpclsQueryInstanceType },
|
|---|
| 433 | { &somId_M_CWPCXwpclsQueryInstanceFilter,
|
|---|
| 434 | (somMethodProc *) cwpcxM_wpclsQueryInstanceFilter },
|
|---|
| 435 | { &somId_M_CWPCXwpclsQueryDefaultHelp,
|
|---|
| 436 | (somMethodProc *) cwpcxM_wpclsQueryDefaultHelp },
|
|---|
| 437 | { &somId_M_CWPCXwpclsQueryStyle,
|
|---|
| 438 | (somMethodProc *) cwpcxM_wpclsQueryStyle },
|
|---|
| 439 | { &somId_M_CWPCXwpclsQueryTitle,
|
|---|
| 440 | (somMethodProc *) cwpcxM_wpclsQueryTitle },
|
|---|
| 441 | { &somId_M_CWPCXwpclsQueryIconData,
|
|---|
| 442 | (somMethodProc *) cwpcxM_wpclsQueryIconData },
|
|---|
| 443 | };
|
|---|
| 444 |
|
|---|
| 445 |
|
|---|
| 446 | /*
|
|---|
| 447 | * Initializers for class Ids
|
|---|
| 448 | */
|
|---|
| 449 | static char * somCN_M_CWPCX = "M_CWPCX";
|
|---|
| 450 | static char * somPCN_M_CWPCX_M_CWImage = "M_CWImage";
|
|---|
| 451 |
|
|---|
| 452 | static somId somPCM_CWPCX[] = {
|
|---|
| 453 | &somPCN_M_CWPCX_M_CWImage,
|
|---|
| 454 | };
|
|---|
| 455 |
|
|---|
| 456 | static somStaticClassInfo M_CWPCXSCI = {
|
|---|
| 457 | 4, 0, 6, 0, 0, 0,
|
|---|
| 458 | M_CWPCX_MajorVersion, M_CWPCX_MinorVersion,
|
|---|
| 459 | 0, M_CWPCX_MaxNoMethods, 1,
|
|---|
| 460 | &somCN_M_CWPCX,
|
|---|
| 461 | (somId) NULL, 1,
|
|---|
| 462 | somPCM_CWPCX,
|
|---|
| 463 | (somClassDataStructure *) &M_CWPCXClassData,
|
|---|
| 464 | (somCClassDataStructure *) &M_CWPCXCClassData,
|
|---|
| 465 | (somStaticMethod_t *) NULL, M_CWPCXOM,
|
|---|
| 466 | (char *) NULL,
|
|---|
| 467 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 468 | (somVarargsFuncs_t *) NULL,
|
|---|
| 469 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 470 | 0, /* type code alignment */
|
|---|
| 471 | -1, /* use parents as directinitclasses */
|
|---|
| 472 | 0, /* no explicit directinitclasses */
|
|---|
| 473 | 0, /* number of general method entries */
|
|---|
| 474 | (somMethods_t *) NULL,
|
|---|
| 475 | 0, /* no public data offset */
|
|---|
| 476 | 0, /* no sci development level check */
|
|---|
| 477 | 0, /* number of SelectInheritedMethods */
|
|---|
| 478 | 0, /* no SelectInheritedMethods */
|
|---|
| 479 | 0, /* number of classdata entries */
|
|---|
| 480 | 0, /* no entry names provided currently */
|
|---|
| 481 | 0, /* number of migrated methods */
|
|---|
| 482 | 0, /* no migrated method implementations */
|
|---|
| 483 | 0, /* number of initializers */
|
|---|
| 484 | 0, /* no initializers */
|
|---|
| 485 | 0, /* used to identify a DTS class */
|
|---|
| 486 | 0, /* used to register dynamically computed info */
|
|---|
| 487 | };
|
|---|
| 488 |
|
|---|
| 489 |
|
|---|
| 490 | /*
|
|---|
| 491 | * Class Creation and Initialization
|
|---|
| 492 | */
|
|---|
| 493 |
|
|---|
| 494 | SOMClass * SOMLINK M_CWPCXNewClass (integer4 somtmajorVersion,
|
|---|
| 495 | integer4 somtminorVersion)
|
|---|
| 496 | {
|
|---|
| 497 | SOMClass *result;
|
|---|
| 498 | M_CWImageNewClass(M_CWImage_MajorVersion,M_CWImage_MinorVersion); /* static reference */
|
|---|
| 499 | result = somBuildClass(1,&M_CWPCXSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 500 | M_CWPCX_parent_M_CWImage_wpclsQueryIconData_resolved =
|
|---|
| 501 | somParentNumResolve(M_CWPCXCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
|
|---|
| 502 | M_CWPCX_parent_M_CWImage_wpclsQueryTitle_resolved =
|
|---|
| 503 | somParentNumResolve(M_CWPCXCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
|
|---|
| 504 | M_CWPCX_parent_M_CWImage_wpclsQueryStyle_resolved =
|
|---|
| 505 | somParentNumResolve(M_CWPCXCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryStyle);
|
|---|
| 506 | M_CWPCX_parent_M_CWImage_wpclsQueryDefaultHelp_resolved =
|
|---|
| 507 | somParentNumResolve(M_CWPCXCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultHelp);
|
|---|
| 508 | M_CWPCX_parent_M_CWImage_wpclsQueryInstanceFilter_resolved =
|
|---|
| 509 | somParentNumResolve(M_CWPCXCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceFilter);
|
|---|
| 510 | M_CWPCX_parent_M_CWImage_wpclsQueryInstanceType_resolved =
|
|---|
| 511 | somParentNumResolve(M_CWPCXCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceType);
|
|---|
| 512 | return result;
|
|---|
| 513 | }
|
|---|
| 514 |
|
|---|
| 515 | /*
|
|---|
| 516 | * Functions for attributes.
|
|---|
| 517 | */
|
|---|
| 518 |
|
|---|
| 519 | #endif /* Primary Implementation Support */
|
|---|
| 520 | #pragma checkout(resume)
|
|---|
| 521 |
|
|---|
| 522 | #endif /* SOM_M_CWPCX_ih */
|
|---|