| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | * This file was generated by the SOM Compiler.
|
|---|
| 4 | * FileName: include\cwimage.ih.
|
|---|
| 5 | * Generated using:
|
|---|
| 6 | * SOM Precompiler somipc: 2.29.1.7
|
|---|
| 7 | * SOM Emitter emitih: 2.42
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | * Module Header
|
|---|
| 12 | *
|
|---|
| 13 | * Module Name: CWImage
|
|---|
| 14 | *
|
|---|
| 15 | * OS/2 Presentation Manager Workplace class definitions
|
|---|
| 16 | *
|
|---|
| 17 | *
|
|---|
| 18 | */
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | /*
|
|---|
| 22 | * -- By default, for classes declared using IDL,
|
|---|
| 23 | * -- this emitter doesn't define redispatch/apply stubs.
|
|---|
| 24 | * -- Instead, it requests that the SOM kernel produce them.
|
|---|
| 25 | * -- To override this default, use the "notc" modifier.
|
|---|
| 26 | */
|
|---|
| 27 |
|
|---|
| 28 | #ifndef SOM_CWImage_ih
|
|---|
| 29 | #define SOM_CWImage_ih
|
|---|
| 30 |
|
|---|
| 31 | #pragma checkout(suspend)
|
|---|
| 32 |
|
|---|
| 33 | #include <cwimage.h>
|
|---|
| 34 |
|
|---|
| 35 | /*
|
|---|
| 36 | * Set the scope of methods functions
|
|---|
| 37 | */
|
|---|
| 38 | #ifndef SOM_Scope
|
|---|
| 39 | #ifdef __cplusplus
|
|---|
| 40 | #define SOM_Scope extern "C"
|
|---|
| 41 | #else
|
|---|
| 42 | #define SOM_Scope extern
|
|---|
| 43 | #endif /* __cplusplus */
|
|---|
| 44 | #endif /* SOM_Scope */
|
|---|
| 45 |
|
|---|
| 46 | #ifndef SOM_CurrentClass
|
|---|
| 47 | #define SOM_CurrentClass CWImageCClassData.parentMtab
|
|---|
| 48 | #endif /* SOM_CurrentClass */
|
|---|
| 49 |
|
|---|
| 50 | #define CWImage_MaxNoMethods 4
|
|---|
| 51 |
|
|---|
| 52 | /*
|
|---|
| 53 | * -- Instance data
|
|---|
| 54 | */
|
|---|
| 55 | typedef struct {
|
|---|
| 56 | HBITMAP hBitmap;
|
|---|
| 57 | HBITMAP hBitmapSmall;
|
|---|
| 58 | ULONG ulSizeSmallBitmap;
|
|---|
| 59 | PBYTE pBmpInfoHeader2;
|
|---|
| 60 | char chrIOProcName[64];
|
|---|
| 61 | BOOL bNoIOProcAvailable;
|
|---|
| 62 | BOOL bUseNewClsFeatures;
|
|---|
| 63 | } CWImageData;
|
|---|
| 64 |
|
|---|
| 65 | /*
|
|---|
| 66 | * GetData macro
|
|---|
| 67 | */
|
|---|
| 68 |
|
|---|
| 69 | /*
|
|---|
| 70 | * -- This emitter treats Data Tokens as Thunks by default.
|
|---|
| 71 | * -- Use the sc modifier "nothunks" to override this default.
|
|---|
| 72 | */
|
|---|
| 73 | typedef CWImageData* SOMLINK somTP_CWImage_DataThunk(void*);
|
|---|
| 74 | #ifdef __IBMC__
|
|---|
| 75 | #pragma linkage(somTP_CWImage_DataThunk, system)
|
|---|
| 76 | #endif
|
|---|
| 77 | typedef somTP_CWImage_DataThunk *somTD_CWImage_DataThunk;
|
|---|
| 78 |
|
|---|
| 79 | #define CWImageGetData(somSelf) \
|
|---|
| 80 | (((somTD_CWImage_DataThunk)(CWImageCClassData.instanceDataToken))(somSelf))
|
|---|
| 81 |
|
|---|
| 82 | /*
|
|---|
| 83 | * Instance variable and staticdata access macros
|
|---|
| 84 | */
|
|---|
| 85 | #ifndef NO_VARIABLE_MACROS
|
|---|
| 86 | #define _hBitmap (somThis->hBitmap)
|
|---|
| 87 | #define _hBitmapSmall (somThis->hBitmapSmall)
|
|---|
| 88 | #define _ulSizeSmallBitmap (somThis->ulSizeSmallBitmap)
|
|---|
| 89 | #define _pBmpInfoHeader2 (somThis->pBmpInfoHeader2)
|
|---|
| 90 | #define _chrIOProcName (somThis->chrIOProcName)
|
|---|
| 91 | #define _bNoIOProcAvailable (somThis->bNoIOProcAvailable)
|
|---|
| 92 | #define _bUseNewClsFeatures (somThis->bUseNewClsFeatures)
|
|---|
| 93 | #endif
|
|---|
| 94 |
|
|---|
| 95 | /*
|
|---|
| 96 | * Primary Implementation File Support
|
|---|
| 97 | */
|
|---|
| 98 | #if (defined(CWImage_Class_Source) || defined(SOM_Module_cwimage_Source))
|
|---|
| 99 |
|
|---|
| 100 | /*
|
|---|
| 101 | * Trace/Debug macro
|
|---|
| 102 | */
|
|---|
| 103 | #ifndef CWImageMethodDebug
|
|---|
| 104 | #define CWImageMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 105 | #endif /* CWImageMethodDebug */
|
|---|
| 106 |
|
|---|
| 107 | /*
|
|---|
| 108 | * Current class macros for Instance and Meta classes.
|
|---|
| 109 | */
|
|---|
| 110 | #undef SOMMeta
|
|---|
| 111 | #define SOMMeta M_CWImageCClassData.parentMtab
|
|---|
| 112 | #undef SOMInstance
|
|---|
| 113 | #define SOMInstance CWImageCClassData.parentMtab
|
|---|
| 114 |
|
|---|
| 115 | #ifndef M_CWImage_Class_Source
|
|---|
| 116 | #define M_CWImage_Class_Source
|
|---|
| 117 | #endif /* M_CWImage_Class_Source */
|
|---|
| 118 |
|
|---|
| 119 | /*
|
|---|
| 120 | * Overridden method: wpQueryBitmapHandle
|
|---|
| 121 | */
|
|---|
| 122 | #pragma linkage(cwimg_wpQueryBitmapHandle, system)
|
|---|
| 123 | SOM_Scope BOOL SOMLINK cwimg_wpQueryBitmapHandle(CWImage *somSelf,
|
|---|
| 124 | HBITMAP* phBitmap,
|
|---|
| 125 | HPAL* phPalette,
|
|---|
| 126 | ULONG ulWidth,
|
|---|
| 127 | ULONG ulHeight,
|
|---|
| 128 | ULONG ulFlags,
|
|---|
| 129 | long lBackgroundColor,
|
|---|
| 130 | BOOL* pbQuitEarly);
|
|---|
| 131 | static char *somMN_CWImagewpQueryBitmapHandle = "WPImageFile::wpQueryBitmapHandle";
|
|---|
| 132 | static somId somId_CWImagewpQueryBitmapHandle = &somMN_CWImagewpQueryBitmapHandle;
|
|---|
| 133 | #ifdef somId_wpQueryBitmapHandle
|
|---|
| 134 | #undef somId_wpQueryBitmapHandle
|
|---|
| 135 | #else
|
|---|
| 136 | #define somId_wpQueryBitmapHandle somId_CWImagewpQueryBitmapHandle
|
|---|
| 137 | #endif
|
|---|
| 138 | static somMethodProc* CWImage_parent_WPImageFile_wpQueryBitmapHandle_resolved;
|
|---|
| 139 | #define CWImage_parent_WPImageFile_wpQueryBitmapHandle(somSelf,phBitmap,phPalette,ulWidth,ulHeight,ulFlags,lBackgroundColor,pbQuitEarly) \
|
|---|
| 140 | ((( somTD_WPImageFile_wpQueryBitmapHandle ) \
|
|---|
| 141 | CWImage_parent_WPImageFile_wpQueryBitmapHandle_resolved) \
|
|---|
| 142 | (somSelf,phBitmap,phPalette,ulWidth,ulHeight,ulFlags,lBackgroundColor,pbQuitEarly))
|
|---|
| 143 | #ifndef SOMGD_pmc_WPImageFile_wpQueryBitmapHandle
|
|---|
| 144 | #ifdef parent_WPImageFile_wpQueryBitmapHandle
|
|---|
| 145 | #undef parent_WPImageFile_wpQueryBitmapHandle
|
|---|
| 146 | #define SOMGD_pmc_WPImageFile_wpQueryBitmapHandle 1
|
|---|
| 147 | #else
|
|---|
| 148 | #define parent_WPImageFile_wpQueryBitmapHandle CWImage_parent_WPImageFile_wpQueryBitmapHandle
|
|---|
| 149 | #endif /* parent_WPImageFile_wpQueryBitmapHandle */
|
|---|
| 150 | #endif /* SOMGD_pmc_WPImageFile_wpQueryBitmapHandle */
|
|---|
| 151 | #ifndef parent_wpQueryBitmapHandle
|
|---|
| 152 | #define parent_wpQueryBitmapHandle CWImage_parent_WPImageFile_wpQueryBitmapHandle
|
|---|
| 153 | #endif /* parent_wpQueryBitmapHandle */
|
|---|
| 154 | #define CWImage_parents_wpQueryBitmapHandle(somSelf,phBitmap,phPalette,ulWidth,ulHeight,ulFlags,lBackgroundColor,pbQuitEarly) (\
|
|---|
| 155 | CWImage_parent_WPImageFile_wpQueryBitmapHandle(somSelf,phBitmap,phPalette,ulWidth,ulHeight,ulFlags,lBackgroundColor,pbQuitEarly))
|
|---|
| 156 |
|
|---|
| 157 | /*
|
|---|
| 158 | * Overridden method: wpQueryBitmapInfoHeader
|
|---|
| 159 | */
|
|---|
| 160 | #pragma linkage(cwimg_wpQueryBitmapInfoHeader, system)
|
|---|
| 161 | SOM_Scope PBYTE SOMLINK cwimg_wpQueryBitmapInfoHeader(CWImage *somSelf);
|
|---|
| 162 | static char *somMN_CWImagewpQueryBitmapInfoHeader = "WPImageFile::wpQueryBitmapInfoHeader";
|
|---|
| 163 | static somId somId_CWImagewpQueryBitmapInfoHeader = &somMN_CWImagewpQueryBitmapInfoHeader;
|
|---|
| 164 | #ifdef somId_wpQueryBitmapInfoHeader
|
|---|
| 165 | #undef somId_wpQueryBitmapInfoHeader
|
|---|
| 166 | #else
|
|---|
| 167 | #define somId_wpQueryBitmapInfoHeader somId_CWImagewpQueryBitmapInfoHeader
|
|---|
| 168 | #endif
|
|---|
| 169 | static somMethodProc* CWImage_parent_WPImageFile_wpQueryBitmapInfoHeader_resolved;
|
|---|
| 170 | #define CWImage_parent_WPImageFile_wpQueryBitmapInfoHeader(somSelf) \
|
|---|
| 171 | ((( somTD_WPImageFile_wpQueryBitmapInfoHeader ) \
|
|---|
| 172 | CWImage_parent_WPImageFile_wpQueryBitmapInfoHeader_resolved) \
|
|---|
| 173 | (somSelf))
|
|---|
| 174 | #ifndef SOMGD_pmc_WPImageFile_wpQueryBitmapInfoHeader
|
|---|
| 175 | #ifdef parent_WPImageFile_wpQueryBitmapInfoHeader
|
|---|
| 176 | #undef parent_WPImageFile_wpQueryBitmapInfoHeader
|
|---|
| 177 | #define SOMGD_pmc_WPImageFile_wpQueryBitmapInfoHeader 1
|
|---|
| 178 | #else
|
|---|
| 179 | #define parent_WPImageFile_wpQueryBitmapInfoHeader CWImage_parent_WPImageFile_wpQueryBitmapInfoHeader
|
|---|
| 180 | #endif /* parent_WPImageFile_wpQueryBitmapInfoHeader */
|
|---|
| 181 | #endif /* SOMGD_pmc_WPImageFile_wpQueryBitmapInfoHeader */
|
|---|
| 182 | #ifndef parent_wpQueryBitmapInfoHeader
|
|---|
| 183 | #define parent_wpQueryBitmapInfoHeader CWImage_parent_WPImageFile_wpQueryBitmapInfoHeader
|
|---|
| 184 | #endif /* parent_wpQueryBitmapInfoHeader */
|
|---|
| 185 | #define CWImage_parents_wpQueryBitmapInfoHeader(somSelf) (\
|
|---|
| 186 | CWImage_parent_WPImageFile_wpQueryBitmapInfoHeader(somSelf))
|
|---|
| 187 |
|
|---|
| 188 | /*
|
|---|
| 189 | * Overridden method: wpQueryBitmapData
|
|---|
| 190 | */
|
|---|
| 191 | #pragma linkage(cwimg_wpQueryBitmapData, system)
|
|---|
| 192 | SOM_Scope PBYTE SOMLINK cwimg_wpQueryBitmapData(CWImage *somSelf,
|
|---|
| 193 | ULONG* pulSize);
|
|---|
| 194 | static char *somMN_CWImagewpQueryBitmapData = "WPImageFile::wpQueryBitmapData";
|
|---|
| 195 | static somId somId_CWImagewpQueryBitmapData = &somMN_CWImagewpQueryBitmapData;
|
|---|
| 196 | #ifdef somId_wpQueryBitmapData
|
|---|
| 197 | #undef somId_wpQueryBitmapData
|
|---|
| 198 | #else
|
|---|
| 199 | #define somId_wpQueryBitmapData somId_CWImagewpQueryBitmapData
|
|---|
| 200 | #endif
|
|---|
| 201 | static somMethodProc* CWImage_parent_WPImageFile_wpQueryBitmapData_resolved;
|
|---|
| 202 | #define CWImage_parent_WPImageFile_wpQueryBitmapData(somSelf,pulSize) \
|
|---|
| 203 | ((( somTD_WPImageFile_wpQueryBitmapData ) \
|
|---|
| 204 | CWImage_parent_WPImageFile_wpQueryBitmapData_resolved) \
|
|---|
| 205 | (somSelf,pulSize))
|
|---|
| 206 | #ifndef SOMGD_pmc_WPImageFile_wpQueryBitmapData
|
|---|
| 207 | #ifdef parent_WPImageFile_wpQueryBitmapData
|
|---|
| 208 | #undef parent_WPImageFile_wpQueryBitmapData
|
|---|
| 209 | #define SOMGD_pmc_WPImageFile_wpQueryBitmapData 1
|
|---|
| 210 | #else
|
|---|
| 211 | #define parent_WPImageFile_wpQueryBitmapData CWImage_parent_WPImageFile_wpQueryBitmapData
|
|---|
| 212 | #endif /* parent_WPImageFile_wpQueryBitmapData */
|
|---|
| 213 | #endif /* SOMGD_pmc_WPImageFile_wpQueryBitmapData */
|
|---|
| 214 | #ifndef parent_wpQueryBitmapData
|
|---|
| 215 | #define parent_wpQueryBitmapData CWImage_parent_WPImageFile_wpQueryBitmapData
|
|---|
| 216 | #endif /* parent_wpQueryBitmapData */
|
|---|
| 217 | #define CWImage_parents_wpQueryBitmapData(somSelf,pulSize) (\
|
|---|
| 218 | CWImage_parent_WPImageFile_wpQueryBitmapData(somSelf,pulSize))
|
|---|
| 219 |
|
|---|
| 220 | /*
|
|---|
| 221 | * Overridden method: wpSetBitmapData
|
|---|
| 222 | */
|
|---|
| 223 | #pragma linkage(cwimg_wpSetBitmapData, system)
|
|---|
| 224 | SOM_Scope BOOL SOMLINK cwimg_wpSetBitmapData(CWImage *somSelf,
|
|---|
| 225 | PBYTE pBitmapData,
|
|---|
| 226 | ULONG ulSize);
|
|---|
| 227 | static char *somMN_CWImagewpSetBitmapData = "WPImageFile::wpSetBitmapData";
|
|---|
| 228 | static somId somId_CWImagewpSetBitmapData = &somMN_CWImagewpSetBitmapData;
|
|---|
| 229 | #ifdef somId_wpSetBitmapData
|
|---|
| 230 | #undef somId_wpSetBitmapData
|
|---|
| 231 | #else
|
|---|
| 232 | #define somId_wpSetBitmapData somId_CWImagewpSetBitmapData
|
|---|
| 233 | #endif
|
|---|
| 234 | static somMethodProc* CWImage_parent_WPImageFile_wpSetBitmapData_resolved;
|
|---|
| 235 | #define CWImage_parent_WPImageFile_wpSetBitmapData(somSelf,pBitmapData,ulSize) \
|
|---|
| 236 | ((( somTD_WPImageFile_wpSetBitmapData ) \
|
|---|
| 237 | CWImage_parent_WPImageFile_wpSetBitmapData_resolved) \
|
|---|
| 238 | (somSelf,pBitmapData,ulSize))
|
|---|
| 239 | #ifndef SOMGD_pmc_WPImageFile_wpSetBitmapData
|
|---|
| 240 | #ifdef parent_WPImageFile_wpSetBitmapData
|
|---|
| 241 | #undef parent_WPImageFile_wpSetBitmapData
|
|---|
| 242 | #define SOMGD_pmc_WPImageFile_wpSetBitmapData 1
|
|---|
| 243 | #else
|
|---|
| 244 | #define parent_WPImageFile_wpSetBitmapData CWImage_parent_WPImageFile_wpSetBitmapData
|
|---|
| 245 | #endif /* parent_WPImageFile_wpSetBitmapData */
|
|---|
| 246 | #endif /* SOMGD_pmc_WPImageFile_wpSetBitmapData */
|
|---|
| 247 | #ifndef parent_wpSetBitmapData
|
|---|
| 248 | #define parent_wpSetBitmapData CWImage_parent_WPImageFile_wpSetBitmapData
|
|---|
| 249 | #endif /* parent_wpSetBitmapData */
|
|---|
| 250 | #define CWImage_parents_wpSetBitmapData(somSelf,pBitmapData,ulSize) (\
|
|---|
| 251 | CWImage_parent_WPImageFile_wpSetBitmapData(somSelf,pBitmapData,ulSize))
|
|---|
| 252 |
|
|---|
| 253 | /*
|
|---|
| 254 | * Overridden method: wpReadImageFile
|
|---|
| 255 | */
|
|---|
| 256 | #pragma linkage(cwimg_wpReadImageFile, system)
|
|---|
| 257 | SOM_Scope BOOL SOMLINK cwimg_wpReadImageFile(CWImage *somSelf);
|
|---|
| 258 | static char *somMN_CWImagewpReadImageFile = "WPImageFile::wpReadImageFile";
|
|---|
| 259 | static somId somId_CWImagewpReadImageFile = &somMN_CWImagewpReadImageFile;
|
|---|
| 260 | #ifdef somId_wpReadImageFile
|
|---|
| 261 | #undef somId_wpReadImageFile
|
|---|
| 262 | #else
|
|---|
| 263 | #define somId_wpReadImageFile somId_CWImagewpReadImageFile
|
|---|
| 264 | #endif
|
|---|
| 265 | static somMethodProc* CWImage_parent_WPImageFile_wpReadImageFile_resolved;
|
|---|
| 266 | #define CWImage_parent_WPImageFile_wpReadImageFile(somSelf) \
|
|---|
| 267 | ((( somTD_WPImageFile_wpReadImageFile ) \
|
|---|
| 268 | CWImage_parent_WPImageFile_wpReadImageFile_resolved) \
|
|---|
| 269 | (somSelf))
|
|---|
| 270 | #ifndef SOMGD_pmc_WPImageFile_wpReadImageFile
|
|---|
| 271 | #ifdef parent_WPImageFile_wpReadImageFile
|
|---|
| 272 | #undef parent_WPImageFile_wpReadImageFile
|
|---|
| 273 | #define SOMGD_pmc_WPImageFile_wpReadImageFile 1
|
|---|
| 274 | #else
|
|---|
| 275 | #define parent_WPImageFile_wpReadImageFile CWImage_parent_WPImageFile_wpReadImageFile
|
|---|
| 276 | #endif /* parent_WPImageFile_wpReadImageFile */
|
|---|
| 277 | #endif /* SOMGD_pmc_WPImageFile_wpReadImageFile */
|
|---|
| 278 | #ifndef parent_wpReadImageFile
|
|---|
| 279 | #define parent_wpReadImageFile CWImage_parent_WPImageFile_wpReadImageFile
|
|---|
| 280 | #endif /* parent_wpReadImageFile */
|
|---|
| 281 | #define CWImage_parents_wpReadImageFile(somSelf) (\
|
|---|
| 282 | CWImage_parent_WPImageFile_wpReadImageFile(somSelf))
|
|---|
| 283 |
|
|---|
| 284 | /*
|
|---|
| 285 | * Overridden method: wpWriteImageFile
|
|---|
| 286 | */
|
|---|
| 287 | #pragma linkage(cwimg_wpWriteImageFile, system)
|
|---|
| 288 | SOM_Scope BOOL SOMLINK cwimg_wpWriteImageFile(CWImage *somSelf);
|
|---|
| 289 | static char *somMN_CWImagewpWriteImageFile = "WPImageFile::wpWriteImageFile";
|
|---|
| 290 | static somId somId_CWImagewpWriteImageFile = &somMN_CWImagewpWriteImageFile;
|
|---|
| 291 | #ifdef somId_wpWriteImageFile
|
|---|
| 292 | #undef somId_wpWriteImageFile
|
|---|
| 293 | #else
|
|---|
| 294 | #define somId_wpWriteImageFile somId_CWImagewpWriteImageFile
|
|---|
| 295 | #endif
|
|---|
| 296 | static somMethodProc* CWImage_parent_WPImageFile_wpWriteImageFile_resolved;
|
|---|
| 297 | #define CWImage_parent_WPImageFile_wpWriteImageFile(somSelf) \
|
|---|
| 298 | ((( somTD_WPImageFile_wpWriteImageFile ) \
|
|---|
| 299 | CWImage_parent_WPImageFile_wpWriteImageFile_resolved) \
|
|---|
| 300 | (somSelf))
|
|---|
| 301 | #ifndef SOMGD_pmc_WPImageFile_wpWriteImageFile
|
|---|
| 302 | #ifdef parent_WPImageFile_wpWriteImageFile
|
|---|
| 303 | #undef parent_WPImageFile_wpWriteImageFile
|
|---|
| 304 | #define SOMGD_pmc_WPImageFile_wpWriteImageFile 1
|
|---|
| 305 | #else
|
|---|
| 306 | #define parent_WPImageFile_wpWriteImageFile CWImage_parent_WPImageFile_wpWriteImageFile
|
|---|
| 307 | #endif /* parent_WPImageFile_wpWriteImageFile */
|
|---|
| 308 | #endif /* SOMGD_pmc_WPImageFile_wpWriteImageFile */
|
|---|
| 309 | #ifndef parent_wpWriteImageFile
|
|---|
| 310 | #define parent_wpWriteImageFile CWImage_parent_WPImageFile_wpWriteImageFile
|
|---|
| 311 | #endif /* parent_wpWriteImageFile */
|
|---|
| 312 | #define CWImage_parents_wpWriteImageFile(somSelf) (\
|
|---|
| 313 | CWImage_parent_WPImageFile_wpWriteImageFile(somSelf))
|
|---|
| 314 |
|
|---|
| 315 | /*
|
|---|
| 316 | * Overridden method: wpUnInitData
|
|---|
| 317 | */
|
|---|
| 318 | #pragma linkage(cwimg_wpUnInitData, system)
|
|---|
| 319 | SOM_Scope void SOMLINK cwimg_wpUnInitData(CWImage *somSelf);
|
|---|
| 320 | static char *somMN_CWImagewpUnInitData = "WPObject::wpUnInitData";
|
|---|
| 321 | static somId somId_CWImagewpUnInitData = &somMN_CWImagewpUnInitData;
|
|---|
| 322 | #ifdef somId_wpUnInitData
|
|---|
| 323 | #undef somId_wpUnInitData
|
|---|
| 324 | #else
|
|---|
| 325 | #define somId_wpUnInitData somId_CWImagewpUnInitData
|
|---|
| 326 | #endif
|
|---|
| 327 | static somMethodProc* CWImage_parent_WPImageFile_wpUnInitData_resolved;
|
|---|
| 328 | #define CWImage_parent_WPImageFile_wpUnInitData(somSelf) \
|
|---|
| 329 | ((( somTD_WPObject_wpUnInitData ) \
|
|---|
| 330 | CWImage_parent_WPImageFile_wpUnInitData_resolved) \
|
|---|
| 331 | (somSelf))
|
|---|
| 332 | #ifndef SOMGD_pmc_WPImageFile_wpUnInitData
|
|---|
| 333 | #ifdef parent_WPImageFile_wpUnInitData
|
|---|
| 334 | #undef parent_WPImageFile_wpUnInitData
|
|---|
| 335 | #define SOMGD_pmc_WPImageFile_wpUnInitData 1
|
|---|
| 336 | #else
|
|---|
| 337 | #define parent_WPImageFile_wpUnInitData CWImage_parent_WPImageFile_wpUnInitData
|
|---|
| 338 | #endif /* parent_WPImageFile_wpUnInitData */
|
|---|
| 339 | #endif /* SOMGD_pmc_WPImageFile_wpUnInitData */
|
|---|
| 340 | #ifndef parent_wpUnInitData
|
|---|
| 341 | #define parent_wpUnInitData CWImage_parent_WPImageFile_wpUnInitData
|
|---|
| 342 | #endif /* parent_wpUnInitData */
|
|---|
| 343 | #define CWImage_parents_wpUnInitData(somSelf) (\
|
|---|
| 344 | CWImage_parent_WPImageFile_wpUnInitData(somSelf))
|
|---|
| 345 |
|
|---|
| 346 | /*
|
|---|
| 347 | * Overridden method: wpModifyPopupMenu
|
|---|
| 348 | */
|
|---|
| 349 | #pragma linkage(cwimg_wpModifyPopupMenu, system)
|
|---|
| 350 | SOM_Scope BOOL SOMLINK cwimg_wpModifyPopupMenu(CWImage *somSelf,
|
|---|
| 351 | HWND hwndMenu,
|
|---|
| 352 | HWND hwndCnr,
|
|---|
| 353 | ULONG iPosition);
|
|---|
| 354 | static char *somMN_CWImagewpModifyPopupMenu = "WPObject::wpModifyPopupMenu";
|
|---|
| 355 | static somId somId_CWImagewpModifyPopupMenu = &somMN_CWImagewpModifyPopupMenu;
|
|---|
| 356 | #ifdef somId_wpModifyPopupMenu
|
|---|
| 357 | #undef somId_wpModifyPopupMenu
|
|---|
| 358 | #else
|
|---|
| 359 | #define somId_wpModifyPopupMenu somId_CWImagewpModifyPopupMenu
|
|---|
| 360 | #endif
|
|---|
| 361 | static somMethodProc* CWImage_parent_WPImageFile_wpModifyPopupMenu_resolved;
|
|---|
| 362 | #define CWImage_parent_WPImageFile_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
|
|---|
| 363 | ((( somTD_WPObject_wpModifyPopupMenu ) \
|
|---|
| 364 | CWImage_parent_WPImageFile_wpModifyPopupMenu_resolved) \
|
|---|
| 365 | (somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 366 | #ifndef SOMGD_pmc_WPImageFile_wpModifyPopupMenu
|
|---|
| 367 | #ifdef parent_WPImageFile_wpModifyPopupMenu
|
|---|
| 368 | #undef parent_WPImageFile_wpModifyPopupMenu
|
|---|
| 369 | #define SOMGD_pmc_WPImageFile_wpModifyPopupMenu 1
|
|---|
| 370 | #else
|
|---|
| 371 | #define parent_WPImageFile_wpModifyPopupMenu CWImage_parent_WPImageFile_wpModifyPopupMenu
|
|---|
| 372 | #endif /* parent_WPImageFile_wpModifyPopupMenu */
|
|---|
| 373 | #endif /* SOMGD_pmc_WPImageFile_wpModifyPopupMenu */
|
|---|
| 374 | #ifndef parent_wpModifyPopupMenu
|
|---|
| 375 | #define parent_wpModifyPopupMenu CWImage_parent_WPImageFile_wpModifyPopupMenu
|
|---|
| 376 | #endif /* parent_wpModifyPopupMenu */
|
|---|
| 377 | #define CWImage_parents_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) (\
|
|---|
| 378 | CWImage_parent_WPImageFile_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 379 |
|
|---|
| 380 | /*
|
|---|
| 381 | * Overridden method: wpMenuItemSelected
|
|---|
| 382 | */
|
|---|
| 383 | #pragma linkage(cwimg_wpMenuItemSelected, system)
|
|---|
| 384 | SOM_Scope BOOL SOMLINK cwimg_wpMenuItemSelected(CWImage *somSelf,
|
|---|
| 385 | HWND hwndFrame,
|
|---|
| 386 | ULONG ulMenuId);
|
|---|
| 387 | static char *somMN_CWImagewpMenuItemSelected = "WPObject::wpMenuItemSelected";
|
|---|
| 388 | static somId somId_CWImagewpMenuItemSelected = &somMN_CWImagewpMenuItemSelected;
|
|---|
| 389 | #ifdef somId_wpMenuItemSelected
|
|---|
| 390 | #undef somId_wpMenuItemSelected
|
|---|
| 391 | #else
|
|---|
| 392 | #define somId_wpMenuItemSelected somId_CWImagewpMenuItemSelected
|
|---|
| 393 | #endif
|
|---|
| 394 | static somMethodProc* CWImage_parent_WPImageFile_wpMenuItemSelected_resolved;
|
|---|
| 395 | #define CWImage_parent_WPImageFile_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
|
|---|
| 396 | ((( somTD_WPObject_wpMenuItemSelected ) \
|
|---|
| 397 | CWImage_parent_WPImageFile_wpMenuItemSelected_resolved) \
|
|---|
| 398 | (somSelf,hwndFrame,ulMenuId))
|
|---|
| 399 | #ifndef SOMGD_pmc_WPImageFile_wpMenuItemSelected
|
|---|
| 400 | #ifdef parent_WPImageFile_wpMenuItemSelected
|
|---|
| 401 | #undef parent_WPImageFile_wpMenuItemSelected
|
|---|
| 402 | #define SOMGD_pmc_WPImageFile_wpMenuItemSelected 1
|
|---|
| 403 | #else
|
|---|
| 404 | #define parent_WPImageFile_wpMenuItemSelected CWImage_parent_WPImageFile_wpMenuItemSelected
|
|---|
| 405 | #endif /* parent_WPImageFile_wpMenuItemSelected */
|
|---|
| 406 | #endif /* SOMGD_pmc_WPImageFile_wpMenuItemSelected */
|
|---|
| 407 | #ifndef parent_wpMenuItemSelected
|
|---|
| 408 | #define parent_wpMenuItemSelected CWImage_parent_WPImageFile_wpMenuItemSelected
|
|---|
| 409 | #endif /* parent_wpMenuItemSelected */
|
|---|
| 410 | #define CWImage_parents_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) (\
|
|---|
| 411 | CWImage_parent_WPImageFile_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId))
|
|---|
| 412 |
|
|---|
| 413 | /*
|
|---|
| 414 | * Overridden method: wpOpen
|
|---|
| 415 | */
|
|---|
| 416 | #pragma linkage(cwimg_wpOpen, system)
|
|---|
| 417 | SOM_Scope HWND SOMLINK cwimg_wpOpen(CWImage *somSelf,
|
|---|
| 418 | HWND hwndCnr,
|
|---|
| 419 | ULONG ulView,
|
|---|
| 420 | ULONG param);
|
|---|
| 421 | static char *somMN_CWImagewpOpen = "WPObject::wpOpen";
|
|---|
| 422 | static somId somId_CWImagewpOpen = &somMN_CWImagewpOpen;
|
|---|
| 423 | #ifdef somId_wpOpen
|
|---|
| 424 | #undef somId_wpOpen
|
|---|
| 425 | #else
|
|---|
| 426 | #define somId_wpOpen somId_CWImagewpOpen
|
|---|
| 427 | #endif
|
|---|
| 428 | static somMethodProc* CWImage_parent_WPImageFile_wpOpen_resolved;
|
|---|
| 429 | #define CWImage_parent_WPImageFile_wpOpen(somSelf,hwndCnr,ulView,param) \
|
|---|
| 430 | ((( somTD_WPObject_wpOpen ) \
|
|---|
| 431 | CWImage_parent_WPImageFile_wpOpen_resolved) \
|
|---|
| 432 | (somSelf,hwndCnr,ulView,param))
|
|---|
| 433 | #ifndef SOMGD_pmc_WPImageFile_wpOpen
|
|---|
| 434 | #ifdef parent_WPImageFile_wpOpen
|
|---|
| 435 | #undef parent_WPImageFile_wpOpen
|
|---|
| 436 | #define SOMGD_pmc_WPImageFile_wpOpen 1
|
|---|
| 437 | #else
|
|---|
| 438 | #define parent_WPImageFile_wpOpen CWImage_parent_WPImageFile_wpOpen
|
|---|
| 439 | #endif /* parent_WPImageFile_wpOpen */
|
|---|
| 440 | #endif /* SOMGD_pmc_WPImageFile_wpOpen */
|
|---|
| 441 | #ifndef parent_wpOpen
|
|---|
| 442 | #define parent_wpOpen CWImage_parent_WPImageFile_wpOpen
|
|---|
| 443 | #endif /* parent_wpOpen */
|
|---|
| 444 | #define CWImage_parents_wpOpen(somSelf,hwndCnr,ulView,param) (\
|
|---|
| 445 | CWImage_parent_WPImageFile_wpOpen(somSelf,hwndCnr,ulView,param))
|
|---|
| 446 |
|
|---|
| 447 | /*
|
|---|
| 448 | * Overridden method: wpAddSettingsPages
|
|---|
| 449 | */
|
|---|
| 450 | #pragma linkage(cwimg_wpAddSettingsPages, system)
|
|---|
| 451 | SOM_Scope BOOL SOMLINK cwimg_wpAddSettingsPages(CWImage *somSelf,
|
|---|
| 452 | HWND hwndNotebook);
|
|---|
| 453 | static char *somMN_CWImagewpAddSettingsPages = "WPObject::wpAddSettingsPages";
|
|---|
| 454 | static somId somId_CWImagewpAddSettingsPages = &somMN_CWImagewpAddSettingsPages;
|
|---|
| 455 | #ifdef somId_wpAddSettingsPages
|
|---|
| 456 | #undef somId_wpAddSettingsPages
|
|---|
| 457 | #else
|
|---|
| 458 | #define somId_wpAddSettingsPages somId_CWImagewpAddSettingsPages
|
|---|
| 459 | #endif
|
|---|
| 460 | static somMethodProc* CWImage_parent_WPImageFile_wpAddSettingsPages_resolved;
|
|---|
| 461 | #define CWImage_parent_WPImageFile_wpAddSettingsPages(somSelf,hwndNotebook) \
|
|---|
| 462 | ((( somTD_WPObject_wpAddSettingsPages ) \
|
|---|
| 463 | CWImage_parent_WPImageFile_wpAddSettingsPages_resolved) \
|
|---|
| 464 | (somSelf,hwndNotebook))
|
|---|
| 465 | #ifndef SOMGD_pmc_WPImageFile_wpAddSettingsPages
|
|---|
| 466 | #ifdef parent_WPImageFile_wpAddSettingsPages
|
|---|
| 467 | #undef parent_WPImageFile_wpAddSettingsPages
|
|---|
| 468 | #define SOMGD_pmc_WPImageFile_wpAddSettingsPages 1
|
|---|
| 469 | #else
|
|---|
| 470 | #define parent_WPImageFile_wpAddSettingsPages CWImage_parent_WPImageFile_wpAddSettingsPages
|
|---|
| 471 | #endif /* parent_WPImageFile_wpAddSettingsPages */
|
|---|
| 472 | #endif /* SOMGD_pmc_WPImageFile_wpAddSettingsPages */
|
|---|
| 473 | #ifndef parent_wpAddSettingsPages
|
|---|
| 474 | #define parent_wpAddSettingsPages CWImage_parent_WPImageFile_wpAddSettingsPages
|
|---|
| 475 | #endif /* parent_wpAddSettingsPages */
|
|---|
| 476 | #define CWImage_parents_wpAddSettingsPages(somSelf,hwndNotebook) (\
|
|---|
| 477 | CWImage_parent_WPImageFile_wpAddSettingsPages(somSelf,hwndNotebook))
|
|---|
| 478 |
|
|---|
| 479 | /*
|
|---|
| 480 | * Overridden method: wpQueryDetailsData
|
|---|
| 481 | */
|
|---|
| 482 | #pragma linkage(cwimg_wpQueryDetailsData, system)
|
|---|
| 483 | SOM_Scope ULONG SOMLINK cwimg_wpQueryDetailsData(CWImage *somSelf,
|
|---|
| 484 | PVOID* ppDetailsData,
|
|---|
| 485 | PULONG pcp);
|
|---|
| 486 | static char *somMN_CWImagewpQueryDetailsData = "WPObject::wpQueryDetailsData";
|
|---|
| 487 | static somId somId_CWImagewpQueryDetailsData = &somMN_CWImagewpQueryDetailsData;
|
|---|
| 488 | #ifdef somId_wpQueryDetailsData
|
|---|
| 489 | #undef somId_wpQueryDetailsData
|
|---|
| 490 | #else
|
|---|
| 491 | #define somId_wpQueryDetailsData somId_CWImagewpQueryDetailsData
|
|---|
| 492 | #endif
|
|---|
| 493 | static somMethodProc* CWImage_parent_WPImageFile_wpQueryDetailsData_resolved;
|
|---|
| 494 | #define CWImage_parent_WPImageFile_wpQueryDetailsData(somSelf,ppDetailsData,pcp) \
|
|---|
| 495 | ((( somTD_WPObject_wpQueryDetailsData ) \
|
|---|
| 496 | CWImage_parent_WPImageFile_wpQueryDetailsData_resolved) \
|
|---|
| 497 | (somSelf,ppDetailsData,pcp))
|
|---|
| 498 | #ifndef SOMGD_pmc_WPImageFile_wpQueryDetailsData
|
|---|
| 499 | #ifdef parent_WPImageFile_wpQueryDetailsData
|
|---|
| 500 | #undef parent_WPImageFile_wpQueryDetailsData
|
|---|
| 501 | #define SOMGD_pmc_WPImageFile_wpQueryDetailsData 1
|
|---|
| 502 | #else
|
|---|
| 503 | #define parent_WPImageFile_wpQueryDetailsData CWImage_parent_WPImageFile_wpQueryDetailsData
|
|---|
| 504 | #endif /* parent_WPImageFile_wpQueryDetailsData */
|
|---|
| 505 | #endif /* SOMGD_pmc_WPImageFile_wpQueryDetailsData */
|
|---|
| 506 | #ifndef parent_wpQueryDetailsData
|
|---|
| 507 | #define parent_wpQueryDetailsData CWImage_parent_WPImageFile_wpQueryDetailsData
|
|---|
| 508 | #endif /* parent_wpQueryDetailsData */
|
|---|
| 509 | #define CWImage_parents_wpQueryDetailsData(somSelf,ppDetailsData,pcp) (\
|
|---|
| 510 | CWImage_parent_WPImageFile_wpQueryDetailsData(somSelf,ppDetailsData,pcp))
|
|---|
| 511 |
|
|---|
| 512 | /*
|
|---|
| 513 | * Overridden method: wpRestoreState
|
|---|
| 514 | */
|
|---|
| 515 | #pragma linkage(cwimg_wpRestoreState, system)
|
|---|
| 516 | SOM_Scope BOOL SOMLINK cwimg_wpRestoreState(CWImage *somSelf,
|
|---|
| 517 | ULONG ulReserved);
|
|---|
| 518 | static char *somMN_CWImagewpRestoreState = "WPObject::wpRestoreState";
|
|---|
| 519 | static somId somId_CWImagewpRestoreState = &somMN_CWImagewpRestoreState;
|
|---|
| 520 | #ifdef somId_wpRestoreState
|
|---|
| 521 | #undef somId_wpRestoreState
|
|---|
| 522 | #else
|
|---|
| 523 | #define somId_wpRestoreState somId_CWImagewpRestoreState
|
|---|
| 524 | #endif
|
|---|
| 525 | static somMethodProc* CWImage_parent_WPImageFile_wpRestoreState_resolved;
|
|---|
| 526 | #define CWImage_parent_WPImageFile_wpRestoreState(somSelf,ulReserved) \
|
|---|
| 527 | ((( somTD_WPObject_wpRestoreState ) \
|
|---|
| 528 | CWImage_parent_WPImageFile_wpRestoreState_resolved) \
|
|---|
| 529 | (somSelf,ulReserved))
|
|---|
| 530 | #ifndef SOMGD_pmc_WPImageFile_wpRestoreState
|
|---|
| 531 | #ifdef parent_WPImageFile_wpRestoreState
|
|---|
| 532 | #undef parent_WPImageFile_wpRestoreState
|
|---|
| 533 | #define SOMGD_pmc_WPImageFile_wpRestoreState 1
|
|---|
| 534 | #else
|
|---|
| 535 | #define parent_WPImageFile_wpRestoreState CWImage_parent_WPImageFile_wpRestoreState
|
|---|
| 536 | #endif /* parent_WPImageFile_wpRestoreState */
|
|---|
| 537 | #endif /* SOMGD_pmc_WPImageFile_wpRestoreState */
|
|---|
| 538 | #ifndef parent_wpRestoreState
|
|---|
| 539 | #define parent_wpRestoreState CWImage_parent_WPImageFile_wpRestoreState
|
|---|
| 540 | #endif /* parent_wpRestoreState */
|
|---|
| 541 | #define CWImage_parents_wpRestoreState(somSelf,ulReserved) (\
|
|---|
| 542 | CWImage_parent_WPImageFile_wpRestoreState(somSelf,ulReserved))
|
|---|
| 543 |
|
|---|
| 544 | /*
|
|---|
| 545 | * Initialize the class data structure
|
|---|
| 546 | */
|
|---|
| 547 | SOMEXTERN struct CWImageClassDataStructure SOMDLINK CWImageClassData = {(SOMAny *) NULL};
|
|---|
| 548 |
|
|---|
| 549 | /*
|
|---|
| 550 | * Define the C class data structure
|
|---|
| 551 | */
|
|---|
| 552 | SOMEXTERN struct CWImageCClassDataStructure SOMDLINK CWImageCClassData = {(somMethodTabs) NULL};
|
|---|
| 553 |
|
|---|
| 554 | /*
|
|---|
| 555 | * New Method: cwmmAddImageInformationPage
|
|---|
| 556 | */
|
|---|
| 557 | #pragma linkage(cwimg_cwmmAddImageInformationPage, system)
|
|---|
| 558 | SOM_Scope ULONG SOMLINK cwimg_cwmmAddImageInformationPage(CWImage *somSelf,
|
|---|
| 559 | HWND hwndNotebook);
|
|---|
| 560 | #ifndef somMN_cwmmAddImageInformationPage_defined
|
|---|
| 561 | #define somMN_cwmmAddImageInformationPage_defined
|
|---|
| 562 | static char *somMN_cwmmAddImageInformationPage = "cwmmAddImageInformationPage";
|
|---|
| 563 | static somId somId_cwmmAddImageInformationPage = &somMN_cwmmAddImageInformationPage;
|
|---|
| 564 | #endif /* somMN_cwmmAddImageInformationPage_defined */
|
|---|
| 565 | #ifndef somDS_cwmmAddImageInformationPage_defined
|
|---|
| 566 | #define somDS_cwmmAddImageInformationPage_defined
|
|---|
| 567 | static char *somDS_cwmmAddImageInformationPage = "::CWImage::cwmmAddImageInformationPage";
|
|---|
| 568 | static somId somDI_cwmmAddImageInformationPage = &somDS_cwmmAddImageInformationPage;
|
|---|
| 569 | #endif /* somDS_cwmmAddImageInformationPage_defined */
|
|---|
| 570 | #define cwmmAddImageInformationPage_somApRdDefault
|
|---|
| 571 |
|
|---|
| 572 | /*
|
|---|
| 573 | * New Method: cwmmQuerySmallBitmapHandle
|
|---|
| 574 | */
|
|---|
| 575 | #pragma linkage(cwimg_cwmmQuerySmallBitmapHandle, system)
|
|---|
| 576 | SOM_Scope HBITMAP SOMLINK cwimg_cwmmQuerySmallBitmapHandle(CWImage *somSelf,
|
|---|
| 577 | ULONG ulSize,
|
|---|
| 578 | PMINIRECORDCORE pmrcToRefresh,
|
|---|
| 579 | HWND hwndCnr);
|
|---|
| 580 | #ifndef somMN_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 581 | #define somMN_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 582 | static char *somMN_cwmmQuerySmallBitmapHandle = "cwmmQuerySmallBitmapHandle";
|
|---|
| 583 | static somId somId_cwmmQuerySmallBitmapHandle = &somMN_cwmmQuerySmallBitmapHandle;
|
|---|
| 584 | #endif /* somMN_cwmmQuerySmallBitmapHandle_defined */
|
|---|
| 585 | #ifndef somDS_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 586 | #define somDS_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 587 | static char *somDS_cwmmQuerySmallBitmapHandle = "::CWImage::cwmmQuerySmallBitmapHandle";
|
|---|
| 588 | static somId somDI_cwmmQuerySmallBitmapHandle = &somDS_cwmmQuerySmallBitmapHandle;
|
|---|
| 589 | #endif /* somDS_cwmmQuerySmallBitmapHandle_defined */
|
|---|
| 590 | #define cwmmQuerySmallBitmapHandle_somApRdDefault
|
|---|
| 591 |
|
|---|
| 592 | /*
|
|---|
| 593 | * New Method: cwmmFreeBitmaps
|
|---|
| 594 | */
|
|---|
| 595 | #pragma linkage(cwimg_cwmmFreeBitmaps, system)
|
|---|
| 596 | SOM_Scope void SOMLINK cwimg_cwmmFreeBitmaps(CWImage *somSelf);
|
|---|
| 597 | #ifndef somMN_cwmmFreeBitmaps_defined
|
|---|
| 598 | #define somMN_cwmmFreeBitmaps_defined
|
|---|
| 599 | static char *somMN_cwmmFreeBitmaps = "cwmmFreeBitmaps";
|
|---|
| 600 | static somId somId_cwmmFreeBitmaps = &somMN_cwmmFreeBitmaps;
|
|---|
| 601 | #endif /* somMN_cwmmFreeBitmaps_defined */
|
|---|
| 602 | #ifndef somDS_cwmmFreeBitmaps_defined
|
|---|
| 603 | #define somDS_cwmmFreeBitmaps_defined
|
|---|
| 604 | static char *somDS_cwmmFreeBitmaps = "::CWImage::cwmmFreeBitmaps";
|
|---|
| 605 | static somId somDI_cwmmFreeBitmaps = &somDS_cwmmFreeBitmaps;
|
|---|
| 606 | #endif /* somDS_cwmmFreeBitmaps_defined */
|
|---|
| 607 | #define cwmmFreeBitmaps_somApRdDefault
|
|---|
| 608 |
|
|---|
| 609 | /*
|
|---|
| 610 | * New Method: cwmmFreeSmallBitmap
|
|---|
| 611 | */
|
|---|
| 612 | #pragma linkage(cwimg_cwmmFreeSmallBitmap, system)
|
|---|
| 613 | SOM_Scope void SOMLINK cwimg_cwmmFreeSmallBitmap(CWImage *somSelf);
|
|---|
| 614 | #ifndef somMN_cwmmFreeSmallBitmap_defined
|
|---|
| 615 | #define somMN_cwmmFreeSmallBitmap_defined
|
|---|
| 616 | static char *somMN_cwmmFreeSmallBitmap = "cwmmFreeSmallBitmap";
|
|---|
| 617 | static somId somId_cwmmFreeSmallBitmap = &somMN_cwmmFreeSmallBitmap;
|
|---|
| 618 | #endif /* somMN_cwmmFreeSmallBitmap_defined */
|
|---|
| 619 | #ifndef somDS_cwmmFreeSmallBitmap_defined
|
|---|
| 620 | #define somDS_cwmmFreeSmallBitmap_defined
|
|---|
| 621 | static char *somDS_cwmmFreeSmallBitmap = "::CWImage::cwmmFreeSmallBitmap";
|
|---|
| 622 | static somId somDI_cwmmFreeSmallBitmap = &somDS_cwmmFreeSmallBitmap;
|
|---|
| 623 | #endif /* somDS_cwmmFreeSmallBitmap_defined */
|
|---|
| 624 | #define cwmmFreeSmallBitmap_somApRdDefault
|
|---|
| 625 |
|
|---|
| 626 | /*
|
|---|
| 627 | * Routines and Structures to create the class object
|
|---|
| 628 | */
|
|---|
| 629 |
|
|---|
| 630 |
|
|---|
| 631 | /*
|
|---|
| 632 | * Declare the Static Methods table.
|
|---|
| 633 | */
|
|---|
| 634 | static somStaticMethod_t CWImageSM[] = {
|
|---|
| 635 | { &CWImageClassData.cwmmAddImageInformationPage,
|
|---|
| 636 | &somId_cwmmAddImageInformationPage,
|
|---|
| 637 | &somDI_cwmmAddImageInformationPage,
|
|---|
| 638 | (somMethodProc *) cwimg_cwmmAddImageInformationPage,
|
|---|
| 639 | (somMethodProc *)((void*)-1),
|
|---|
| 640 | #ifdef cwmmAddImageInformationPage_somApRdDefault
|
|---|
| 641 | 0},
|
|---|
| 642 | #else
|
|---|
| 643 | (somMethodProc *) ((void*)&cwmmAddImageInformationPageStubs) },
|
|---|
| 644 | #endif
|
|---|
| 645 | { &CWImageClassData.cwmmQuerySmallBitmapHandle,
|
|---|
| 646 | &somId_cwmmQuerySmallBitmapHandle,
|
|---|
| 647 | &somDI_cwmmQuerySmallBitmapHandle,
|
|---|
| 648 | (somMethodProc *) cwimg_cwmmQuerySmallBitmapHandle,
|
|---|
| 649 | (somMethodProc *)((void*)-1),
|
|---|
| 650 | #ifdef cwmmQuerySmallBitmapHandle_somApRdDefault
|
|---|
| 651 | 0},
|
|---|
| 652 | #else
|
|---|
| 653 | (somMethodProc *) ((void*)&cwmmQuerySmallBitmapHandleStubs) },
|
|---|
| 654 | #endif
|
|---|
| 655 | { &CWImageClassData.cwmmFreeBitmaps,
|
|---|
| 656 | &somId_cwmmFreeBitmaps,
|
|---|
| 657 | &somDI_cwmmFreeBitmaps,
|
|---|
| 658 | (somMethodProc *) cwimg_cwmmFreeBitmaps,
|
|---|
| 659 | (somMethodProc *)((void*)-1),
|
|---|
| 660 | #ifdef cwmmFreeBitmaps_somApRdDefault
|
|---|
| 661 | 0},
|
|---|
| 662 | #else
|
|---|
| 663 | (somMethodProc *) ((void*)&cwmmFreeBitmapsStubs) },
|
|---|
| 664 | #endif
|
|---|
| 665 | { &CWImageClassData.cwmmFreeSmallBitmap,
|
|---|
| 666 | &somId_cwmmFreeSmallBitmap,
|
|---|
| 667 | &somDI_cwmmFreeSmallBitmap,
|
|---|
| 668 | (somMethodProc *) cwimg_cwmmFreeSmallBitmap,
|
|---|
| 669 | (somMethodProc *)((void*)-1),
|
|---|
| 670 | #ifdef cwmmFreeSmallBitmap_somApRdDefault
|
|---|
| 671 | 0},
|
|---|
| 672 | #else
|
|---|
| 673 | (somMethodProc *) ((void*)&cwmmFreeSmallBitmapStubs) },
|
|---|
| 674 | #endif
|
|---|
| 675 | };
|
|---|
| 676 |
|
|---|
| 677 |
|
|---|
| 678 | /*
|
|---|
| 679 | * Declare the Override Methods table.
|
|---|
| 680 | */
|
|---|
| 681 | static somOverrideMethod_t CWImageOM[] = {
|
|---|
| 682 | { &somId_CWImagewpQueryBitmapHandle,
|
|---|
| 683 | (somMethodProc *) cwimg_wpQueryBitmapHandle },
|
|---|
| 684 | { &somId_CWImagewpQueryBitmapInfoHeader,
|
|---|
| 685 | (somMethodProc *) cwimg_wpQueryBitmapInfoHeader },
|
|---|
| 686 | { &somId_CWImagewpQueryBitmapData,
|
|---|
| 687 | (somMethodProc *) cwimg_wpQueryBitmapData },
|
|---|
| 688 | { &somId_CWImagewpSetBitmapData,
|
|---|
| 689 | (somMethodProc *) cwimg_wpSetBitmapData },
|
|---|
| 690 | { &somId_CWImagewpReadImageFile,
|
|---|
| 691 | (somMethodProc *) cwimg_wpReadImageFile },
|
|---|
| 692 | { &somId_CWImagewpWriteImageFile,
|
|---|
| 693 | (somMethodProc *) cwimg_wpWriteImageFile },
|
|---|
| 694 | { &somId_CWImagewpUnInitData,
|
|---|
| 695 | (somMethodProc *) cwimg_wpUnInitData },
|
|---|
| 696 | { &somId_CWImagewpModifyPopupMenu,
|
|---|
| 697 | (somMethodProc *) cwimg_wpModifyPopupMenu },
|
|---|
| 698 | { &somId_CWImagewpMenuItemSelected,
|
|---|
| 699 | (somMethodProc *) cwimg_wpMenuItemSelected },
|
|---|
| 700 | { &somId_CWImagewpOpen,
|
|---|
| 701 | (somMethodProc *) cwimg_wpOpen },
|
|---|
| 702 | { &somId_CWImagewpAddSettingsPages,
|
|---|
| 703 | (somMethodProc *) cwimg_wpAddSettingsPages },
|
|---|
| 704 | { &somId_CWImagewpQueryDetailsData,
|
|---|
| 705 | (somMethodProc *) cwimg_wpQueryDetailsData },
|
|---|
| 706 | { &somId_CWImagewpRestoreState,
|
|---|
| 707 | (somMethodProc *) cwimg_wpRestoreState },
|
|---|
| 708 | };
|
|---|
| 709 |
|
|---|
| 710 |
|
|---|
| 711 | /*
|
|---|
| 712 | * Initializers for class Ids
|
|---|
| 713 | */
|
|---|
| 714 | static char * somCN_CWImage = "CWImage";
|
|---|
| 715 | #ifndef somEMC_M_CWImage_defined
|
|---|
| 716 | #define somEMC_M_CWImage_defined
|
|---|
| 717 | static char * somEMC_M_CWImage = "M_CWImage";
|
|---|
| 718 | #endif
|
|---|
| 719 | static char * somPCN_CWImage_WPImageFile = "WPImageFile";
|
|---|
| 720 |
|
|---|
| 721 | static somId somPCCWImage[] = {
|
|---|
| 722 | &somPCN_CWImage_WPImageFile,
|
|---|
| 723 | };
|
|---|
| 724 |
|
|---|
| 725 | static somStaticClassInfo CWImageSCI = {
|
|---|
| 726 | 4, 4, 13, 0, 0, 0,
|
|---|
| 727 | CWImage_MajorVersion, CWImage_MinorVersion,
|
|---|
| 728 | sizeof(CWImageData), CWImage_MaxNoMethods, 1,
|
|---|
| 729 | &somCN_CWImage,
|
|---|
| 730 | &somEMC_M_CWImage, 0,
|
|---|
| 731 | somPCCWImage,
|
|---|
| 732 | (somClassDataStructure *) &CWImageClassData,
|
|---|
| 733 | (somCClassDataStructure *) &CWImageCClassData,
|
|---|
| 734 | CWImageSM, CWImageOM,
|
|---|
| 735 | (char *) NULL,
|
|---|
| 736 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 737 | (somVarargsFuncs_t *) NULL,
|
|---|
| 738 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 739 | 4, /* type code alignment */
|
|---|
| 740 | -1, /* use parents as directinitclasses */
|
|---|
| 741 | 0, /* no explicit directinitclasses */
|
|---|
| 742 | 0, /* number of general method entries */
|
|---|
| 743 | (somMethods_t *) NULL,
|
|---|
| 744 | 0, /* no public data offset */
|
|---|
| 745 | 0, /* no sci development level check */
|
|---|
| 746 | 0, /* number of SelectInheritedMethods */
|
|---|
| 747 | 0, /* no SelectInheritedMethods */
|
|---|
| 748 | 4, /* number of classdata entries */
|
|---|
| 749 | 0, /* no entry names provided currently */
|
|---|
| 750 | 0, /* number of migrated methods */
|
|---|
| 751 | 0, /* no migrated method implementations */
|
|---|
| 752 | 0, /* number of initializers */
|
|---|
| 753 | 0, /* no initializers */
|
|---|
| 754 | 0, /* used to identify a DTS class */
|
|---|
| 755 | 0, /* used to register dynamically computed info */
|
|---|
| 756 | };
|
|---|
| 757 |
|
|---|
| 758 |
|
|---|
| 759 | /*
|
|---|
| 760 | * Class Creation and Initialization
|
|---|
| 761 | */
|
|---|
| 762 |
|
|---|
| 763 | SOMClass * SOMLINK CWImageNewClass (integer4 somtmajorVersion,
|
|---|
| 764 | integer4 somtminorVersion)
|
|---|
| 765 | {
|
|---|
| 766 | SOMClass *result;
|
|---|
| 767 | WPImageFileNewClass(WPImageFile_MajorVersion,WPImageFile_MinorVersion); /* static reference */
|
|---|
| 768 | /* Explicit metaclass, so get it */
|
|---|
| 769 | M_CWImageNewClass(M_CWImage_MajorVersion,M_CWImage_MinorVersion); /* static reference */
|
|---|
| 770 | result = somBuildClass(1,&CWImageSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 771 | CWImage_parent_WPImageFile_wpRestoreState_resolved =
|
|---|
| 772 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPObjectClassData.wpRestoreState);
|
|---|
| 773 | CWImage_parent_WPImageFile_wpQueryDetailsData_resolved =
|
|---|
| 774 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPObjectClassData.wpQueryDetailsData);
|
|---|
| 775 | CWImage_parent_WPImageFile_wpAddSettingsPages_resolved =
|
|---|
| 776 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPObjectClassData.wpAddSettingsPages);
|
|---|
| 777 | CWImage_parent_WPImageFile_wpOpen_resolved =
|
|---|
| 778 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPObjectClassData.wpOpen);
|
|---|
| 779 | CWImage_parent_WPImageFile_wpMenuItemSelected_resolved =
|
|---|
| 780 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPObjectClassData.wpMenuItemSelected);
|
|---|
| 781 | CWImage_parent_WPImageFile_wpModifyPopupMenu_resolved =
|
|---|
| 782 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPObjectClassData.wpModifyPopupMenu);
|
|---|
| 783 | CWImage_parent_WPImageFile_wpUnInitData_resolved =
|
|---|
| 784 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPObjectClassData.wpUnInitData);
|
|---|
| 785 | CWImage_parent_WPImageFile_wpWriteImageFile_resolved =
|
|---|
| 786 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPImageFileClassData.wpWriteImageFile);
|
|---|
| 787 | CWImage_parent_WPImageFile_wpReadImageFile_resolved =
|
|---|
| 788 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPImageFileClassData.wpReadImageFile);
|
|---|
| 789 | CWImage_parent_WPImageFile_wpSetBitmapData_resolved =
|
|---|
| 790 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPImageFileClassData.wpSetBitmapData);
|
|---|
| 791 | CWImage_parent_WPImageFile_wpQueryBitmapData_resolved =
|
|---|
| 792 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPImageFileClassData.wpQueryBitmapData);
|
|---|
| 793 | CWImage_parent_WPImageFile_wpQueryBitmapInfoHeader_resolved =
|
|---|
| 794 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPImageFileClassData.wpQueryBitmapInfoHeader);
|
|---|
| 795 | CWImage_parent_WPImageFile_wpQueryBitmapHandle_resolved =
|
|---|
| 796 | somParentNumResolve(CWImageCClassData.parentMtab, 1, WPImageFileClassData.wpQueryBitmapHandle);
|
|---|
| 797 | return result;
|
|---|
| 798 | }
|
|---|
| 799 |
|
|---|
| 800 | /*
|
|---|
| 801 | * Functions for attributes.
|
|---|
| 802 | */
|
|---|
| 803 |
|
|---|
| 804 | #endif /* Primary Implementation Support */
|
|---|
| 805 | #pragma checkout(resume)
|
|---|
| 806 |
|
|---|
| 807 | #endif /* SOM_CWImage_ih */
|
|---|
| 808 |
|
|---|
| 809 | /*
|
|---|
| 810 | * -- By default, for classes declared using IDL,
|
|---|
| 811 | * -- this emitter doesn't define redispatch/apply stubs.
|
|---|
| 812 | * -- Instead, it requests that the SOM kernel produce them.
|
|---|
| 813 | * -- To override this default, use the "notc" modifier.
|
|---|
| 814 | */
|
|---|
| 815 |
|
|---|
| 816 | #ifndef SOM_M_CWImage_ih
|
|---|
| 817 | #define SOM_M_CWImage_ih
|
|---|
| 818 |
|
|---|
| 819 | #pragma checkout(suspend)
|
|---|
| 820 |
|
|---|
| 821 | #include <cwimage.h>
|
|---|
| 822 |
|
|---|
| 823 | /*
|
|---|
| 824 | * Set the scope of methods functions
|
|---|
| 825 | */
|
|---|
| 826 | #ifndef SOM_Scope
|
|---|
| 827 | #ifdef __cplusplus
|
|---|
| 828 | #define SOM_Scope extern "C"
|
|---|
| 829 | #else
|
|---|
| 830 | #define SOM_Scope extern
|
|---|
| 831 | #endif /* __cplusplus */
|
|---|
| 832 | #endif /* SOM_Scope */
|
|---|
| 833 |
|
|---|
| 834 | #ifndef SOM_CurrentClass
|
|---|
| 835 | #define SOM_CurrentClass M_CWImageCClassData.parentMtab
|
|---|
| 836 | #endif /* SOM_CurrentClass */
|
|---|
| 837 |
|
|---|
| 838 | #define M_CWImage_MaxNoMethods 0
|
|---|
| 839 |
|
|---|
| 840 | /*
|
|---|
| 841 | * -- Instance data
|
|---|
| 842 | */
|
|---|
| 843 | typedef void M_CWImageData;
|
|---|
| 844 |
|
|---|
| 845 | /*
|
|---|
| 846 | * This class introduces no instance data, so no GetData macro is provided
|
|---|
| 847 | */
|
|---|
| 848 |
|
|---|
| 849 | /*
|
|---|
| 850 | * Primary Implementation File Support
|
|---|
| 851 | */
|
|---|
| 852 | #if (defined(CWImage_Class_Source) || defined(M_CWImage_Class_Source) || defined(SOM_Module_cwimage_Source))
|
|---|
| 853 |
|
|---|
| 854 | /*
|
|---|
| 855 | * Trace/Debug macro
|
|---|
| 856 | */
|
|---|
| 857 | #ifndef M_CWImageMethodDebug
|
|---|
| 858 | #define M_CWImageMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 859 | #endif /* M_CWImageMethodDebug */
|
|---|
| 860 |
|
|---|
| 861 | /*
|
|---|
| 862 | * Current class macros for Instance and Meta classes.
|
|---|
| 863 | */
|
|---|
| 864 |
|
|---|
| 865 | /*
|
|---|
| 866 | * Overridden method: wpclsInitData
|
|---|
| 867 | */
|
|---|
| 868 | #pragma linkage(cwimgM_wpclsInitData, system)
|
|---|
| 869 | SOM_Scope void SOMLINK cwimgM_wpclsInitData(M_CWImage *somSelf);
|
|---|
| 870 | static char *somMN_M_CWImagewpclsInitData = "M_WPObject::wpclsInitData";
|
|---|
| 871 | static somId somId_M_CWImagewpclsInitData = &somMN_M_CWImagewpclsInitData;
|
|---|
| 872 | #ifdef somId_wpclsInitData
|
|---|
| 873 | #undef somId_wpclsInitData
|
|---|
| 874 | #else
|
|---|
| 875 | #define somId_wpclsInitData somId_M_CWImagewpclsInitData
|
|---|
| 876 | #endif
|
|---|
| 877 | static somMethodProc* M_CWImage_parent_M_WPImageFile_wpclsInitData_resolved;
|
|---|
| 878 | #define M_CWImage_parent_M_WPImageFile_wpclsInitData(somSelf) \
|
|---|
| 879 | ((( somTD_M_WPObject_wpclsInitData ) \
|
|---|
| 880 | M_CWImage_parent_M_WPImageFile_wpclsInitData_resolved) \
|
|---|
| 881 | (somSelf))
|
|---|
| 882 | #ifndef SOMGD_pmc_M_WPImageFile_wpclsInitData
|
|---|
| 883 | #ifdef parent_M_WPImageFile_wpclsInitData
|
|---|
| 884 | #undef parent_M_WPImageFile_wpclsInitData
|
|---|
| 885 | #define SOMGD_pmc_M_WPImageFile_wpclsInitData 1
|
|---|
| 886 | #else
|
|---|
| 887 | #define parent_M_WPImageFile_wpclsInitData M_CWImage_parent_M_WPImageFile_wpclsInitData
|
|---|
| 888 | #endif /* parent_M_WPImageFile_wpclsInitData */
|
|---|
| 889 | #endif /* SOMGD_pmc_M_WPImageFile_wpclsInitData */
|
|---|
| 890 | #ifndef parent_wpclsInitData
|
|---|
| 891 | #define parent_wpclsInitData M_CWImage_parent_M_WPImageFile_wpclsInitData
|
|---|
| 892 | #endif /* parent_wpclsInitData */
|
|---|
| 893 | #define M_CWImage_parents_wpclsInitData(somSelf) (\
|
|---|
| 894 | M_CWImage_parent_M_WPImageFile_wpclsInitData(somSelf))
|
|---|
| 895 |
|
|---|
| 896 | /*
|
|---|
| 897 | * Overridden method: wpclsQueryDefaultView
|
|---|
| 898 | */
|
|---|
| 899 | #pragma linkage(cwimgM_wpclsQueryDefaultView, system)
|
|---|
| 900 | SOM_Scope ULONG SOMLINK cwimgM_wpclsQueryDefaultView(M_CWImage *somSelf);
|
|---|
| 901 | static char *somMN_M_CWImagewpclsQueryDefaultView = "M_WPObject::wpclsQueryDefaultView";
|
|---|
| 902 | static somId somId_M_CWImagewpclsQueryDefaultView = &somMN_M_CWImagewpclsQueryDefaultView;
|
|---|
| 903 | #ifdef somId_wpclsQueryDefaultView
|
|---|
| 904 | #undef somId_wpclsQueryDefaultView
|
|---|
| 905 | #else
|
|---|
| 906 | #define somId_wpclsQueryDefaultView somId_M_CWImagewpclsQueryDefaultView
|
|---|
| 907 | #endif
|
|---|
| 908 | static somMethodProc* M_CWImage_parent_M_WPImageFile_wpclsQueryDefaultView_resolved;
|
|---|
| 909 | #define M_CWImage_parent_M_WPImageFile_wpclsQueryDefaultView(somSelf) \
|
|---|
| 910 | ((( somTD_M_WPObject_wpclsQueryDefaultView ) \
|
|---|
| 911 | M_CWImage_parent_M_WPImageFile_wpclsQueryDefaultView_resolved) \
|
|---|
| 912 | (somSelf))
|
|---|
| 913 | #ifndef SOMGD_pmc_M_WPImageFile_wpclsQueryDefaultView
|
|---|
| 914 | #ifdef parent_M_WPImageFile_wpclsQueryDefaultView
|
|---|
| 915 | #undef parent_M_WPImageFile_wpclsQueryDefaultView
|
|---|
| 916 | #define SOMGD_pmc_M_WPImageFile_wpclsQueryDefaultView 1
|
|---|
| 917 | #else
|
|---|
| 918 | #define parent_M_WPImageFile_wpclsQueryDefaultView M_CWImage_parent_M_WPImageFile_wpclsQueryDefaultView
|
|---|
| 919 | #endif /* parent_M_WPImageFile_wpclsQueryDefaultView */
|
|---|
| 920 | #endif /* SOMGD_pmc_M_WPImageFile_wpclsQueryDefaultView */
|
|---|
| 921 | #ifndef parent_wpclsQueryDefaultView
|
|---|
| 922 | #define parent_wpclsQueryDefaultView M_CWImage_parent_M_WPImageFile_wpclsQueryDefaultView
|
|---|
| 923 | #endif /* parent_wpclsQueryDefaultView */
|
|---|
| 924 | #define M_CWImage_parents_wpclsQueryDefaultView(somSelf) (\
|
|---|
| 925 | M_CWImage_parent_M_WPImageFile_wpclsQueryDefaultView(somSelf))
|
|---|
| 926 |
|
|---|
| 927 | /*
|
|---|
| 928 | * Overridden method: wpclsQueryTitle
|
|---|
| 929 | */
|
|---|
| 930 | #pragma linkage(cwimgM_wpclsQueryTitle, system)
|
|---|
| 931 | SOM_Scope PSZ SOMLINK cwimgM_wpclsQueryTitle(M_CWImage *somSelf);
|
|---|
| 932 | static char *somMN_M_CWImagewpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
|
|---|
| 933 | static somId somId_M_CWImagewpclsQueryTitle = &somMN_M_CWImagewpclsQueryTitle;
|
|---|
| 934 | #ifdef somId_wpclsQueryTitle
|
|---|
| 935 | #undef somId_wpclsQueryTitle
|
|---|
| 936 | #else
|
|---|
| 937 | #define somId_wpclsQueryTitle somId_M_CWImagewpclsQueryTitle
|
|---|
| 938 | #endif
|
|---|
| 939 | static somMethodProc* M_CWImage_parent_M_WPImageFile_wpclsQueryTitle_resolved;
|
|---|
| 940 | #define M_CWImage_parent_M_WPImageFile_wpclsQueryTitle(somSelf) \
|
|---|
| 941 | ((( somTD_M_WPObject_wpclsQueryTitle ) \
|
|---|
| 942 | M_CWImage_parent_M_WPImageFile_wpclsQueryTitle_resolved) \
|
|---|
| 943 | (somSelf))
|
|---|
| 944 | #ifndef SOMGD_pmc_M_WPImageFile_wpclsQueryTitle
|
|---|
| 945 | #ifdef parent_M_WPImageFile_wpclsQueryTitle
|
|---|
| 946 | #undef parent_M_WPImageFile_wpclsQueryTitle
|
|---|
| 947 | #define SOMGD_pmc_M_WPImageFile_wpclsQueryTitle 1
|
|---|
| 948 | #else
|
|---|
| 949 | #define parent_M_WPImageFile_wpclsQueryTitle M_CWImage_parent_M_WPImageFile_wpclsQueryTitle
|
|---|
| 950 | #endif /* parent_M_WPImageFile_wpclsQueryTitle */
|
|---|
| 951 | #endif /* SOMGD_pmc_M_WPImageFile_wpclsQueryTitle */
|
|---|
| 952 | #ifndef parent_wpclsQueryTitle
|
|---|
| 953 | #define parent_wpclsQueryTitle M_CWImage_parent_M_WPImageFile_wpclsQueryTitle
|
|---|
| 954 | #endif /* parent_wpclsQueryTitle */
|
|---|
| 955 | #define M_CWImage_parents_wpclsQueryTitle(somSelf) (\
|
|---|
| 956 | M_CWImage_parent_M_WPImageFile_wpclsQueryTitle(somSelf))
|
|---|
| 957 |
|
|---|
| 958 | /*
|
|---|
| 959 | * Overridden method: wpclsQueryIconData
|
|---|
| 960 | */
|
|---|
| 961 | #pragma linkage(cwimgM_wpclsQueryIconData, system)
|
|---|
| 962 | SOM_Scope ULONG SOMLINK cwimgM_wpclsQueryIconData(M_CWImage *somSelf,
|
|---|
| 963 | PICONINFO pIconInfo);
|
|---|
| 964 | static char *somMN_M_CWImagewpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
|
|---|
| 965 | static somId somId_M_CWImagewpclsQueryIconData = &somMN_M_CWImagewpclsQueryIconData;
|
|---|
| 966 | #ifdef somId_wpclsQueryIconData
|
|---|
| 967 | #undef somId_wpclsQueryIconData
|
|---|
| 968 | #else
|
|---|
| 969 | #define somId_wpclsQueryIconData somId_M_CWImagewpclsQueryIconData
|
|---|
| 970 | #endif
|
|---|
| 971 | static somMethodProc* M_CWImage_parent_M_WPImageFile_wpclsQueryIconData_resolved;
|
|---|
| 972 | #define M_CWImage_parent_M_WPImageFile_wpclsQueryIconData(somSelf,pIconInfo) \
|
|---|
| 973 | ((( somTD_M_WPObject_wpclsQueryIconData ) \
|
|---|
| 974 | M_CWImage_parent_M_WPImageFile_wpclsQueryIconData_resolved) \
|
|---|
| 975 | (somSelf,pIconInfo))
|
|---|
| 976 | #ifndef SOMGD_pmc_M_WPImageFile_wpclsQueryIconData
|
|---|
| 977 | #ifdef parent_M_WPImageFile_wpclsQueryIconData
|
|---|
| 978 | #undef parent_M_WPImageFile_wpclsQueryIconData
|
|---|
| 979 | #define SOMGD_pmc_M_WPImageFile_wpclsQueryIconData 1
|
|---|
| 980 | #else
|
|---|
| 981 | #define parent_M_WPImageFile_wpclsQueryIconData M_CWImage_parent_M_WPImageFile_wpclsQueryIconData
|
|---|
| 982 | #endif /* parent_M_WPImageFile_wpclsQueryIconData */
|
|---|
| 983 | #endif /* SOMGD_pmc_M_WPImageFile_wpclsQueryIconData */
|
|---|
| 984 | #ifndef parent_wpclsQueryIconData
|
|---|
| 985 | #define parent_wpclsQueryIconData M_CWImage_parent_M_WPImageFile_wpclsQueryIconData
|
|---|
| 986 | #endif /* parent_wpclsQueryIconData */
|
|---|
| 987 | #define M_CWImage_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
|
|---|
| 988 | M_CWImage_parent_M_WPImageFile_wpclsQueryIconData(somSelf,pIconInfo))
|
|---|
| 989 |
|
|---|
| 990 | /*
|
|---|
| 991 | * Overridden method: wpclsQueryDetailsInfo
|
|---|
| 992 | */
|
|---|
| 993 | #pragma linkage(cwimgM_wpclsQueryDetailsInfo, system)
|
|---|
| 994 | SOM_Scope ULONG SOMLINK cwimgM_wpclsQueryDetailsInfo(M_CWImage *somSelf,
|
|---|
| 995 | PCLASSFIELDINFO* ppClassFieldInfo,
|
|---|
| 996 | PULONG pSize);
|
|---|
| 997 | static char *somMN_M_CWImagewpclsQueryDetailsInfo = "M_WPObject::wpclsQueryDetailsInfo";
|
|---|
| 998 | static somId somId_M_CWImagewpclsQueryDetailsInfo = &somMN_M_CWImagewpclsQueryDetailsInfo;
|
|---|
| 999 | #ifdef somId_wpclsQueryDetailsInfo
|
|---|
| 1000 | #undef somId_wpclsQueryDetailsInfo
|
|---|
| 1001 | #else
|
|---|
| 1002 | #define somId_wpclsQueryDetailsInfo somId_M_CWImagewpclsQueryDetailsInfo
|
|---|
| 1003 | #endif
|
|---|
| 1004 | static somMethodProc* M_CWImage_parent_M_WPImageFile_wpclsQueryDetailsInfo_resolved;
|
|---|
| 1005 | #define M_CWImage_parent_M_WPImageFile_wpclsQueryDetailsInfo(somSelf,ppClassFieldInfo,pSize) \
|
|---|
| 1006 | ((( somTD_M_WPObject_wpclsQueryDetailsInfo ) \
|
|---|
| 1007 | M_CWImage_parent_M_WPImageFile_wpclsQueryDetailsInfo_resolved) \
|
|---|
| 1008 | (somSelf,ppClassFieldInfo,pSize))
|
|---|
| 1009 | #ifndef SOMGD_pmc_M_WPImageFile_wpclsQueryDetailsInfo
|
|---|
| 1010 | #ifdef parent_M_WPImageFile_wpclsQueryDetailsInfo
|
|---|
| 1011 | #undef parent_M_WPImageFile_wpclsQueryDetailsInfo
|
|---|
| 1012 | #define SOMGD_pmc_M_WPImageFile_wpclsQueryDetailsInfo 1
|
|---|
| 1013 | #else
|
|---|
| 1014 | #define parent_M_WPImageFile_wpclsQueryDetailsInfo M_CWImage_parent_M_WPImageFile_wpclsQueryDetailsInfo
|
|---|
| 1015 | #endif /* parent_M_WPImageFile_wpclsQueryDetailsInfo */
|
|---|
| 1016 | #endif /* SOMGD_pmc_M_WPImageFile_wpclsQueryDetailsInfo */
|
|---|
| 1017 | #ifndef parent_wpclsQueryDetailsInfo
|
|---|
| 1018 | #define parent_wpclsQueryDetailsInfo M_CWImage_parent_M_WPImageFile_wpclsQueryDetailsInfo
|
|---|
| 1019 | #endif /* parent_wpclsQueryDetailsInfo */
|
|---|
| 1020 | #define M_CWImage_parents_wpclsQueryDetailsInfo(somSelf,ppClassFieldInfo,pSize) (\
|
|---|
| 1021 | M_CWImage_parent_M_WPImageFile_wpclsQueryDetailsInfo(somSelf,ppClassFieldInfo,pSize))
|
|---|
| 1022 |
|
|---|
| 1023 | /*
|
|---|
| 1024 | * Initialize the class data structure
|
|---|
| 1025 | */
|
|---|
| 1026 | SOMEXTERN struct M_CWImageClassDataStructure SOMDLINK M_CWImageClassData = {(SOMAny *) NULL};
|
|---|
| 1027 |
|
|---|
| 1028 | /*
|
|---|
| 1029 | * Define the C class data structure
|
|---|
| 1030 | */
|
|---|
| 1031 | SOMEXTERN struct M_CWImageCClassDataStructure SOMDLINK M_CWImageCClassData = {(somMethodTabs) NULL};
|
|---|
| 1032 |
|
|---|
| 1033 | /*
|
|---|
| 1034 | * Routines and Structures to create the class object
|
|---|
| 1035 | */
|
|---|
| 1036 |
|
|---|
| 1037 |
|
|---|
| 1038 | /*
|
|---|
| 1039 | * Declare the Override Methods table.
|
|---|
| 1040 | */
|
|---|
| 1041 | static somOverrideMethod_t M_CWImageOM[] = {
|
|---|
| 1042 | { &somId_M_CWImagewpclsInitData,
|
|---|
| 1043 | (somMethodProc *) cwimgM_wpclsInitData },
|
|---|
| 1044 | { &somId_M_CWImagewpclsQueryDefaultView,
|
|---|
| 1045 | (somMethodProc *) cwimgM_wpclsQueryDefaultView },
|
|---|
| 1046 | { &somId_M_CWImagewpclsQueryTitle,
|
|---|
| 1047 | (somMethodProc *) cwimgM_wpclsQueryTitle },
|
|---|
| 1048 | { &somId_M_CWImagewpclsQueryIconData,
|
|---|
| 1049 | (somMethodProc *) cwimgM_wpclsQueryIconData },
|
|---|
| 1050 | { &somId_M_CWImagewpclsQueryDetailsInfo,
|
|---|
| 1051 | (somMethodProc *) cwimgM_wpclsQueryDetailsInfo },
|
|---|
| 1052 | };
|
|---|
| 1053 |
|
|---|
| 1054 |
|
|---|
| 1055 | /*
|
|---|
| 1056 | * Initializers for class Ids
|
|---|
| 1057 | */
|
|---|
| 1058 | static char * somCN_M_CWImage = "M_CWImage";
|
|---|
| 1059 | static char * somPCN_M_CWImage_M_WPImageFile = "M_WPImageFile";
|
|---|
| 1060 |
|
|---|
| 1061 | static somId somPCM_CWImage[] = {
|
|---|
| 1062 | &somPCN_M_CWImage_M_WPImageFile,
|
|---|
| 1063 | };
|
|---|
| 1064 |
|
|---|
| 1065 | static somStaticClassInfo M_CWImageSCI = {
|
|---|
| 1066 | 4, 0, 5, 0, 0, 0,
|
|---|
| 1067 | M_CWImage_MajorVersion, M_CWImage_MinorVersion,
|
|---|
| 1068 | 0, M_CWImage_MaxNoMethods, 1,
|
|---|
| 1069 | &somCN_M_CWImage,
|
|---|
| 1070 | (somId) NULL, 1,
|
|---|
| 1071 | somPCM_CWImage,
|
|---|
| 1072 | (somClassDataStructure *) &M_CWImageClassData,
|
|---|
| 1073 | (somCClassDataStructure *) &M_CWImageCClassData,
|
|---|
| 1074 | (somStaticMethod_t *) NULL, M_CWImageOM,
|
|---|
| 1075 | (char *) NULL,
|
|---|
| 1076 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 1077 | (somVarargsFuncs_t *) NULL,
|
|---|
| 1078 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 1079 | 0, /* type code alignment */
|
|---|
| 1080 | -1, /* use parents as directinitclasses */
|
|---|
| 1081 | 0, /* no explicit directinitclasses */
|
|---|
| 1082 | 0, /* number of general method entries */
|
|---|
| 1083 | (somMethods_t *) NULL,
|
|---|
| 1084 | 0, /* no public data offset */
|
|---|
| 1085 | 0, /* no sci development level check */
|
|---|
| 1086 | 0, /* number of SelectInheritedMethods */
|
|---|
| 1087 | 0, /* no SelectInheritedMethods */
|
|---|
| 1088 | 0, /* number of classdata entries */
|
|---|
| 1089 | 0, /* no entry names provided currently */
|
|---|
| 1090 | 0, /* number of migrated methods */
|
|---|
| 1091 | 0, /* no migrated method implementations */
|
|---|
| 1092 | 0, /* number of initializers */
|
|---|
| 1093 | 0, /* no initializers */
|
|---|
| 1094 | 0, /* used to identify a DTS class */
|
|---|
| 1095 | 0, /* used to register dynamically computed info */
|
|---|
| 1096 | };
|
|---|
| 1097 |
|
|---|
| 1098 |
|
|---|
| 1099 | /*
|
|---|
| 1100 | * Class Creation and Initialization
|
|---|
| 1101 | */
|
|---|
| 1102 |
|
|---|
| 1103 | SOMClass * SOMLINK M_CWImageNewClass (integer4 somtmajorVersion,
|
|---|
| 1104 | integer4 somtminorVersion)
|
|---|
| 1105 | {
|
|---|
| 1106 | SOMClass *result;
|
|---|
| 1107 | M_WPImageFileNewClass(M_WPImageFile_MajorVersion,M_WPImageFile_MinorVersion); /* static reference */
|
|---|
| 1108 | result = somBuildClass(1,&M_CWImageSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 1109 | M_CWImage_parent_M_WPImageFile_wpclsQueryDetailsInfo_resolved =
|
|---|
| 1110 | somParentNumResolve(M_CWImageCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDetailsInfo);
|
|---|
| 1111 | M_CWImage_parent_M_WPImageFile_wpclsQueryIconData_resolved =
|
|---|
| 1112 | somParentNumResolve(M_CWImageCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
|
|---|
| 1113 | M_CWImage_parent_M_WPImageFile_wpclsQueryTitle_resolved =
|
|---|
| 1114 | somParentNumResolve(M_CWImageCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
|
|---|
| 1115 | M_CWImage_parent_M_WPImageFile_wpclsQueryDefaultView_resolved =
|
|---|
| 1116 | somParentNumResolve(M_CWImageCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultView);
|
|---|
| 1117 | M_CWImage_parent_M_WPImageFile_wpclsInitData_resolved =
|
|---|
| 1118 | somParentNumResolve(M_CWImageCClassData.parentMtab, 1, M_WPObjectClassData.wpclsInitData);
|
|---|
| 1119 | return result;
|
|---|
| 1120 | }
|
|---|
| 1121 |
|
|---|
| 1122 | /*
|
|---|
| 1123 | * Functions for attributes.
|
|---|
| 1124 | */
|
|---|
| 1125 |
|
|---|
| 1126 | #endif /* Primary Implementation Support */
|
|---|
| 1127 | #pragma checkout(resume)
|
|---|
| 1128 |
|
|---|
| 1129 | #endif /* SOM_M_CWImage_ih */
|
|---|