| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | * This file was generated by the SOM Compiler.
|
|---|
| 4 | * FileName: include\cwtga.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_CWTarga_ih
|
|---|
| 24 | #define SOM_CWTarga_ih
|
|---|
| 25 |
|
|---|
| 26 | #pragma checkout(suspend)
|
|---|
| 27 |
|
|---|
| 28 | #include <cwtga.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 CWTargaCClassData.parentMtab
|
|---|
| 43 | #endif /* SOM_CurrentClass */
|
|---|
| 44 |
|
|---|
| 45 | #define CWTarga_MaxNoMethods 0
|
|---|
| 46 |
|
|---|
| 47 | /*
|
|---|
| 48 | * -- Instance data
|
|---|
| 49 | */
|
|---|
| 50 | typedef void CWTargaData;
|
|---|
| 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(CWTarga_Class_Source) || defined(SOM_Module_cwtga_Source))
|
|---|
| 60 |
|
|---|
| 61 | /*
|
|---|
| 62 | * Trace/Debug macro
|
|---|
| 63 | */
|
|---|
| 64 | #ifndef CWTargaMethodDebug
|
|---|
| 65 | #define CWTargaMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 66 | #endif /* CWTargaMethodDebug */
|
|---|
| 67 |
|
|---|
| 68 | /*
|
|---|
| 69 | * Current class macros for Instance and Meta classes.
|
|---|
| 70 | */
|
|---|
| 71 | #undef SOMMeta
|
|---|
| 72 | #define SOMMeta M_CWTargaCClassData.parentMtab
|
|---|
| 73 | #undef SOMInstance
|
|---|
| 74 | #define SOMInstance CWTargaCClassData.parentMtab
|
|---|
| 75 |
|
|---|
| 76 | #ifndef M_CWTarga_Class_Source
|
|---|
| 77 | #define M_CWTarga_Class_Source
|
|---|
| 78 | #endif /* M_CWTarga_Class_Source */
|
|---|
| 79 |
|
|---|
| 80 | /*
|
|---|
| 81 | * Initialize the class data structure
|
|---|
| 82 | */
|
|---|
| 83 | SOMEXTERN struct CWTargaClassDataStructure SOMDLINK CWTargaClassData = {(SOMAny *) NULL};
|
|---|
| 84 |
|
|---|
| 85 | /*
|
|---|
| 86 | * Define the C class data structure
|
|---|
| 87 | */
|
|---|
| 88 | SOMEXTERN struct CWTargaCClassDataStructure SOMDLINK CWTargaCClassData = {(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_CWTarga = "CWTarga";
|
|---|
| 99 | #ifndef somEMC_M_CWTarga_defined
|
|---|
| 100 | #define somEMC_M_CWTarga_defined
|
|---|
| 101 | static char * somEMC_M_CWTarga = "M_CWTarga";
|
|---|
| 102 | #endif
|
|---|
| 103 | static char * somPCN_CWTarga_CWImage = "CWImage";
|
|---|
| 104 |
|
|---|
| 105 | static somId somPCCWTarga[] = {
|
|---|
| 106 | &somPCN_CWTarga_CWImage,
|
|---|
| 107 | };
|
|---|
| 108 |
|
|---|
| 109 | static somStaticClassInfo CWTargaSCI = {
|
|---|
| 110 | 4, 0, 0, 0, 0, 0,
|
|---|
| 111 | CWTarga_MajorVersion, CWTarga_MinorVersion,
|
|---|
| 112 | 0, CWTarga_MaxNoMethods, 1,
|
|---|
| 113 | &somCN_CWTarga,
|
|---|
| 114 | &somEMC_M_CWTarga, 0,
|
|---|
| 115 | somPCCWTarga,
|
|---|
| 116 | (somClassDataStructure *) &CWTargaClassData,
|
|---|
| 117 | (somCClassDataStructure *) &CWTargaCClassData,
|
|---|
| 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 CWTargaNewClass (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_CWTargaNewClass(M_CWTarga_MajorVersion,M_CWTarga_MinorVersion); /* static reference */
|
|---|
| 154 | result = somBuildClass(1,&CWTargaSCI, 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_CWTarga_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_CWTarga_ih
|
|---|
| 175 | #define SOM_M_CWTarga_ih
|
|---|
| 176 |
|
|---|
| 177 | #pragma checkout(suspend)
|
|---|
| 178 |
|
|---|
| 179 | #include <cwtga.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_CWTargaCClassData.parentMtab
|
|---|
| 194 | #endif /* SOM_CurrentClass */
|
|---|
| 195 |
|
|---|
| 196 | #define M_CWTarga_MaxNoMethods 0
|
|---|
| 197 |
|
|---|
| 198 | /*
|
|---|
| 199 | * -- Instance data
|
|---|
| 200 | */
|
|---|
| 201 | typedef void M_CWTargaData;
|
|---|
| 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(CWTarga_Class_Source) || defined(M_CWTarga_Class_Source) || defined(SOM_Module_cwtga_Source))
|
|---|
| 211 |
|
|---|
| 212 | /*
|
|---|
| 213 | * Trace/Debug macro
|
|---|
| 214 | */
|
|---|
| 215 | #ifndef M_CWTargaMethodDebug
|
|---|
| 216 | #define M_CWTargaMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 217 | #endif /* M_CWTargaMethodDebug */
|
|---|
| 218 |
|
|---|
| 219 | /*
|
|---|
| 220 | * Current class macros for Instance and Meta classes.
|
|---|
| 221 | */
|
|---|
| 222 |
|
|---|
| 223 | /*
|
|---|
| 224 | * Overridden method: wpclsQueryInstanceType
|
|---|
| 225 | */
|
|---|
| 226 | #pragma linkage(cwtgaM_wpclsQueryInstanceType, system)
|
|---|
| 227 | SOM_Scope PSZ SOMLINK cwtgaM_wpclsQueryInstanceType(M_CWTarga *somSelf);
|
|---|
| 228 | static char *somMN_M_CWTargawpclsQueryInstanceType = "M_WPFileSystem::wpclsQueryInstanceType";
|
|---|
| 229 | static somId somId_M_CWTargawpclsQueryInstanceType = &somMN_M_CWTargawpclsQueryInstanceType;
|
|---|
| 230 | #ifdef somId_wpclsQueryInstanceType
|
|---|
| 231 | #undef somId_wpclsQueryInstanceType
|
|---|
| 232 | #else
|
|---|
| 233 | #define somId_wpclsQueryInstanceType somId_M_CWTargawpclsQueryInstanceType
|
|---|
| 234 | #endif
|
|---|
| 235 | static somMethodProc* M_CWTarga_parent_M_CWImage_wpclsQueryInstanceType_resolved;
|
|---|
| 236 | #define M_CWTarga_parent_M_CWImage_wpclsQueryInstanceType(somSelf) \
|
|---|
| 237 | ((( somTD_M_WPFileSystem_wpclsQueryInstanceType ) \
|
|---|
| 238 | M_CWTarga_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_CWTarga_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_CWTarga_parent_M_CWImage_wpclsQueryInstanceType
|
|---|
| 250 | #endif /* parent_wpclsQueryInstanceType */
|
|---|
| 251 | #define M_CWTarga_parents_wpclsQueryInstanceType(somSelf) (\
|
|---|
| 252 | M_CWTarga_parent_M_CWImage_wpclsQueryInstanceType(somSelf))
|
|---|
| 253 |
|
|---|
| 254 | /*
|
|---|
| 255 | * Overridden method: wpclsQueryInstanceFilter
|
|---|
| 256 | */
|
|---|
| 257 | #pragma linkage(cwtgaM_wpclsQueryInstanceFilter, system)
|
|---|
| 258 | SOM_Scope PSZ SOMLINK cwtgaM_wpclsQueryInstanceFilter(M_CWTarga *somSelf);
|
|---|
| 259 | static char *somMN_M_CWTargawpclsQueryInstanceFilter = "M_WPFileSystem::wpclsQueryInstanceFilter";
|
|---|
| 260 | static somId somId_M_CWTargawpclsQueryInstanceFilter = &somMN_M_CWTargawpclsQueryInstanceFilter;
|
|---|
| 261 | #ifdef somId_wpclsQueryInstanceFilter
|
|---|
| 262 | #undef somId_wpclsQueryInstanceFilter
|
|---|
| 263 | #else
|
|---|
| 264 | #define somId_wpclsQueryInstanceFilter somId_M_CWTargawpclsQueryInstanceFilter
|
|---|
| 265 | #endif
|
|---|
| 266 | static somMethodProc* M_CWTarga_parent_M_CWImage_wpclsQueryInstanceFilter_resolved;
|
|---|
| 267 | #define M_CWTarga_parent_M_CWImage_wpclsQueryInstanceFilter(somSelf) \
|
|---|
| 268 | ((( somTD_M_WPFileSystem_wpclsQueryInstanceFilter ) \
|
|---|
| 269 | M_CWTarga_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_CWTarga_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_CWTarga_parent_M_CWImage_wpclsQueryInstanceFilter
|
|---|
| 281 | #endif /* parent_wpclsQueryInstanceFilter */
|
|---|
| 282 | #define M_CWTarga_parents_wpclsQueryInstanceFilter(somSelf) (\
|
|---|
| 283 | M_CWTarga_parent_M_CWImage_wpclsQueryInstanceFilter(somSelf))
|
|---|
| 284 |
|
|---|
| 285 | /*
|
|---|
| 286 | * Overridden method: wpclsQueryDefaultHelp
|
|---|
| 287 | */
|
|---|
| 288 | #pragma linkage(cwtgaM_wpclsQueryDefaultHelp, system)
|
|---|
| 289 | SOM_Scope BOOL SOMLINK cwtgaM_wpclsQueryDefaultHelp(M_CWTarga *somSelf,
|
|---|
| 290 | PULONG pHelpPanelId,
|
|---|
| 291 | PSZ pszHelpLibrary);
|
|---|
| 292 | static char *somMN_M_CWTargawpclsQueryDefaultHelp = "M_WPObject::wpclsQueryDefaultHelp";
|
|---|
| 293 | static somId somId_M_CWTargawpclsQueryDefaultHelp = &somMN_M_CWTargawpclsQueryDefaultHelp;
|
|---|
| 294 | #ifdef somId_wpclsQueryDefaultHelp
|
|---|
| 295 | #undef somId_wpclsQueryDefaultHelp
|
|---|
| 296 | #else
|
|---|
| 297 | #define somId_wpclsQueryDefaultHelp somId_M_CWTargawpclsQueryDefaultHelp
|
|---|
| 298 | #endif
|
|---|
| 299 | static somMethodProc* M_CWTarga_parent_M_CWImage_wpclsQueryDefaultHelp_resolved;
|
|---|
| 300 | #define M_CWTarga_parent_M_CWImage_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
|
|---|
| 301 | ((( somTD_M_WPObject_wpclsQueryDefaultHelp ) \
|
|---|
| 302 | M_CWTarga_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_CWTarga_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_CWTarga_parent_M_CWImage_wpclsQueryDefaultHelp
|
|---|
| 314 | #endif /* parent_wpclsQueryDefaultHelp */
|
|---|
| 315 | #define M_CWTarga_parents_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) (\
|
|---|
| 316 | M_CWTarga_parent_M_CWImage_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary))
|
|---|
| 317 |
|
|---|
| 318 | /*
|
|---|
| 319 | * Overridden method: wpclsQueryStyle
|
|---|
| 320 | */
|
|---|
| 321 | #pragma linkage(cwtgaM_wpclsQueryStyle, system)
|
|---|
| 322 | SOM_Scope ULONG SOMLINK cwtgaM_wpclsQueryStyle(M_CWTarga *somSelf);
|
|---|
| 323 | static char *somMN_M_CWTargawpclsQueryStyle = "M_WPObject::wpclsQueryStyle";
|
|---|
| 324 | static somId somId_M_CWTargawpclsQueryStyle = &somMN_M_CWTargawpclsQueryStyle;
|
|---|
| 325 | #ifdef somId_wpclsQueryStyle
|
|---|
| 326 | #undef somId_wpclsQueryStyle
|
|---|
| 327 | #else
|
|---|
| 328 | #define somId_wpclsQueryStyle somId_M_CWTargawpclsQueryStyle
|
|---|
| 329 | #endif
|
|---|
| 330 | static somMethodProc* M_CWTarga_parent_M_CWImage_wpclsQueryStyle_resolved;
|
|---|
| 331 | #define M_CWTarga_parent_M_CWImage_wpclsQueryStyle(somSelf) \
|
|---|
| 332 | ((( somTD_M_WPObject_wpclsQueryStyle ) \
|
|---|
| 333 | M_CWTarga_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_CWTarga_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_CWTarga_parent_M_CWImage_wpclsQueryStyle
|
|---|
| 345 | #endif /* parent_wpclsQueryStyle */
|
|---|
| 346 | #define M_CWTarga_parents_wpclsQueryStyle(somSelf) (\
|
|---|
| 347 | M_CWTarga_parent_M_CWImage_wpclsQueryStyle(somSelf))
|
|---|
| 348 |
|
|---|
| 349 | /*
|
|---|
| 350 | * Overridden method: wpclsQueryTitle
|
|---|
| 351 | */
|
|---|
| 352 | #pragma linkage(cwtgaM_wpclsQueryTitle, system)
|
|---|
| 353 | SOM_Scope PSZ SOMLINK cwtgaM_wpclsQueryTitle(M_CWTarga *somSelf);
|
|---|
| 354 | static char *somMN_M_CWTargawpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
|
|---|
| 355 | static somId somId_M_CWTargawpclsQueryTitle = &somMN_M_CWTargawpclsQueryTitle;
|
|---|
| 356 | #ifdef somId_wpclsQueryTitle
|
|---|
| 357 | #undef somId_wpclsQueryTitle
|
|---|
| 358 | #else
|
|---|
| 359 | #define somId_wpclsQueryTitle somId_M_CWTargawpclsQueryTitle
|
|---|
| 360 | #endif
|
|---|
| 361 | static somMethodProc* M_CWTarga_parent_M_CWImage_wpclsQueryTitle_resolved;
|
|---|
| 362 | #define M_CWTarga_parent_M_CWImage_wpclsQueryTitle(somSelf) \
|
|---|
| 363 | ((( somTD_M_WPObject_wpclsQueryTitle ) \
|
|---|
| 364 | M_CWTarga_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_CWTarga_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_CWTarga_parent_M_CWImage_wpclsQueryTitle
|
|---|
| 376 | #endif /* parent_wpclsQueryTitle */
|
|---|
| 377 | #define M_CWTarga_parents_wpclsQueryTitle(somSelf) (\
|
|---|
| 378 | M_CWTarga_parent_M_CWImage_wpclsQueryTitle(somSelf))
|
|---|
| 379 |
|
|---|
| 380 | /*
|
|---|
| 381 | * Overridden method: wpclsQueryIconData
|
|---|
| 382 | */
|
|---|
| 383 | #pragma linkage(cwtgaM_wpclsQueryIconData, system)
|
|---|
| 384 | SOM_Scope ULONG SOMLINK cwtgaM_wpclsQueryIconData(M_CWTarga *somSelf,
|
|---|
| 385 | PICONINFO pIconInfo);
|
|---|
| 386 | static char *somMN_M_CWTargawpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
|
|---|
| 387 | static somId somId_M_CWTargawpclsQueryIconData = &somMN_M_CWTargawpclsQueryIconData;
|
|---|
| 388 | #ifdef somId_wpclsQueryIconData
|
|---|
| 389 | #undef somId_wpclsQueryIconData
|
|---|
| 390 | #else
|
|---|
| 391 | #define somId_wpclsQueryIconData somId_M_CWTargawpclsQueryIconData
|
|---|
| 392 | #endif
|
|---|
| 393 | static somMethodProc* M_CWTarga_parent_M_CWImage_wpclsQueryIconData_resolved;
|
|---|
| 394 | #define M_CWTarga_parent_M_CWImage_wpclsQueryIconData(somSelf,pIconInfo) \
|
|---|
| 395 | ((( somTD_M_WPObject_wpclsQueryIconData ) \
|
|---|
| 396 | M_CWTarga_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_CWTarga_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_CWTarga_parent_M_CWImage_wpclsQueryIconData
|
|---|
| 408 | #endif /* parent_wpclsQueryIconData */
|
|---|
| 409 | #define M_CWTarga_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
|
|---|
| 410 | M_CWTarga_parent_M_CWImage_wpclsQueryIconData(somSelf,pIconInfo))
|
|---|
| 411 |
|
|---|
| 412 | /*
|
|---|
| 413 | * Initialize the class data structure
|
|---|
| 414 | */
|
|---|
| 415 | SOMEXTERN struct M_CWTargaClassDataStructure SOMDLINK M_CWTargaClassData = {(SOMAny *) NULL};
|
|---|
| 416 |
|
|---|
| 417 | /*
|
|---|
| 418 | * Define the C class data structure
|
|---|
| 419 | */
|
|---|
| 420 | SOMEXTERN struct M_CWTargaCClassDataStructure SOMDLINK M_CWTargaCClassData = {(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_CWTargaOM[] = {
|
|---|
| 431 | { &somId_M_CWTargawpclsQueryInstanceType,
|
|---|
| 432 | (somMethodProc *) cwtgaM_wpclsQueryInstanceType },
|
|---|
| 433 | { &somId_M_CWTargawpclsQueryInstanceFilter,
|
|---|
| 434 | (somMethodProc *) cwtgaM_wpclsQueryInstanceFilter },
|
|---|
| 435 | { &somId_M_CWTargawpclsQueryDefaultHelp,
|
|---|
| 436 | (somMethodProc *) cwtgaM_wpclsQueryDefaultHelp },
|
|---|
| 437 | { &somId_M_CWTargawpclsQueryStyle,
|
|---|
| 438 | (somMethodProc *) cwtgaM_wpclsQueryStyle },
|
|---|
| 439 | { &somId_M_CWTargawpclsQueryTitle,
|
|---|
| 440 | (somMethodProc *) cwtgaM_wpclsQueryTitle },
|
|---|
| 441 | { &somId_M_CWTargawpclsQueryIconData,
|
|---|
| 442 | (somMethodProc *) cwtgaM_wpclsQueryIconData },
|
|---|
| 443 | };
|
|---|
| 444 |
|
|---|
| 445 |
|
|---|
| 446 | /*
|
|---|
| 447 | * Initializers for class Ids
|
|---|
| 448 | */
|
|---|
| 449 | static char * somCN_M_CWTarga = "M_CWTarga";
|
|---|
| 450 | static char * somPCN_M_CWTarga_M_CWImage = "M_CWImage";
|
|---|
| 451 |
|
|---|
| 452 | static somId somPCM_CWTarga[] = {
|
|---|
| 453 | &somPCN_M_CWTarga_M_CWImage,
|
|---|
| 454 | };
|
|---|
| 455 |
|
|---|
| 456 | static somStaticClassInfo M_CWTargaSCI = {
|
|---|
| 457 | 4, 0, 6, 0, 0, 0,
|
|---|
| 458 | M_CWTarga_MajorVersion, M_CWTarga_MinorVersion,
|
|---|
| 459 | 0, M_CWTarga_MaxNoMethods, 1,
|
|---|
| 460 | &somCN_M_CWTarga,
|
|---|
| 461 | (somId) NULL, 1,
|
|---|
| 462 | somPCM_CWTarga,
|
|---|
| 463 | (somClassDataStructure *) &M_CWTargaClassData,
|
|---|
| 464 | (somCClassDataStructure *) &M_CWTargaCClassData,
|
|---|
| 465 | (somStaticMethod_t *) NULL, M_CWTargaOM,
|
|---|
| 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_CWTargaNewClass (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_CWTargaSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 500 | M_CWTarga_parent_M_CWImage_wpclsQueryIconData_resolved =
|
|---|
| 501 | somParentNumResolve(M_CWTargaCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
|
|---|
| 502 | M_CWTarga_parent_M_CWImage_wpclsQueryTitle_resolved =
|
|---|
| 503 | somParentNumResolve(M_CWTargaCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
|
|---|
| 504 | M_CWTarga_parent_M_CWImage_wpclsQueryStyle_resolved =
|
|---|
| 505 | somParentNumResolve(M_CWTargaCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryStyle);
|
|---|
| 506 | M_CWTarga_parent_M_CWImage_wpclsQueryDefaultHelp_resolved =
|
|---|
| 507 | somParentNumResolve(M_CWTargaCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultHelp);
|
|---|
| 508 | M_CWTarga_parent_M_CWImage_wpclsQueryInstanceFilter_resolved =
|
|---|
| 509 | somParentNumResolve(M_CWTargaCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceFilter);
|
|---|
| 510 | M_CWTarga_parent_M_CWImage_wpclsQueryInstanceType_resolved =
|
|---|
| 511 | somParentNumResolve(M_CWTargaCClassData.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_CWTarga_ih */
|
|---|