| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | * This file was generated by the SOM Compiler.
|
|---|
| 4 | * FileName: include\cwbmp.ih.
|
|---|
| 5 | * Generated using:
|
|---|
| 6 | * SOM Precompiler somipc: 2.29.1.7
|
|---|
| 7 | * SOM Emitter emitih: 2.42
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | *
|
|---|
| 12 | * CWBmp.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_CWBitmap_ih
|
|---|
| 24 | #define SOM_CWBitmap_ih
|
|---|
| 25 |
|
|---|
| 26 | #pragma checkout(suspend)
|
|---|
| 27 |
|
|---|
| 28 | #include <cwbmp.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 CWBitmapCClassData.parentMtab
|
|---|
| 43 | #endif /* SOM_CurrentClass */
|
|---|
| 44 |
|
|---|
| 45 | #define CWBitmap_MaxNoMethods 5
|
|---|
| 46 |
|
|---|
| 47 | /*
|
|---|
| 48 | * -- Instance data
|
|---|
| 49 | */
|
|---|
| 50 | typedef struct {
|
|---|
| 51 | HBITMAP hBitmapSmall;
|
|---|
| 52 | ULONG ulSizeSmallBitmap;
|
|---|
| 53 | PBYTE pBmpInfoHeader2;
|
|---|
| 54 | char chrIOProcName[64];
|
|---|
| 55 | BOOL bNoIOProcAvailable;
|
|---|
| 56 | } CWBitmapData;
|
|---|
| 57 |
|
|---|
| 58 | /*
|
|---|
| 59 | * GetData macro
|
|---|
| 60 | */
|
|---|
| 61 |
|
|---|
| 62 | /*
|
|---|
| 63 | * -- This emitter treats Data Tokens as Thunks by default.
|
|---|
| 64 | * -- Use the sc modifier "nothunks" to override this default.
|
|---|
| 65 | */
|
|---|
| 66 | typedef CWBitmapData* SOMLINK somTP_CWBitmap_DataThunk(void*);
|
|---|
| 67 | #ifdef __IBMC__
|
|---|
| 68 | #pragma linkage(somTP_CWBitmap_DataThunk, system)
|
|---|
| 69 | #endif
|
|---|
| 70 | typedef somTP_CWBitmap_DataThunk *somTD_CWBitmap_DataThunk;
|
|---|
| 71 |
|
|---|
| 72 | #define CWBitmapGetData(somSelf) \
|
|---|
| 73 | (((somTD_CWBitmap_DataThunk)(CWBitmapCClassData.instanceDataToken))(somSelf))
|
|---|
| 74 |
|
|---|
| 75 | /*
|
|---|
| 76 | * Instance variable and staticdata access macros
|
|---|
| 77 | */
|
|---|
| 78 | #ifndef NO_VARIABLE_MACROS
|
|---|
| 79 | #define _hBitmapSmall (somThis->hBitmapSmall)
|
|---|
| 80 | #define _ulSizeSmallBitmap (somThis->ulSizeSmallBitmap)
|
|---|
| 81 | #define _pBmpInfoHeader2 (somThis->pBmpInfoHeader2)
|
|---|
| 82 | #define _chrIOProcName (somThis->chrIOProcName)
|
|---|
| 83 | #define _bNoIOProcAvailable (somThis->bNoIOProcAvailable)
|
|---|
| 84 | #endif
|
|---|
| 85 |
|
|---|
| 86 | /*
|
|---|
| 87 | * Primary Implementation File Support
|
|---|
| 88 | */
|
|---|
| 89 | #if (defined(CWBitmap_Class_Source) || defined(SOM_Module_cwbmp_Source))
|
|---|
| 90 |
|
|---|
| 91 | /*
|
|---|
| 92 | * Trace/Debug macro
|
|---|
| 93 | */
|
|---|
| 94 | #ifndef CWBitmapMethodDebug
|
|---|
| 95 | #define CWBitmapMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 96 | #endif /* CWBitmapMethodDebug */
|
|---|
| 97 |
|
|---|
| 98 | /*
|
|---|
| 99 | * Current class macros for Instance and Meta classes.
|
|---|
| 100 | */
|
|---|
| 101 | #undef SOMMeta
|
|---|
| 102 | #define SOMMeta M_CWBitmapCClassData.parentMtab
|
|---|
| 103 | #undef SOMInstance
|
|---|
| 104 | #define SOMInstance CWBitmapCClassData.parentMtab
|
|---|
| 105 |
|
|---|
| 106 | #ifndef M_CWBitmap_Class_Source
|
|---|
| 107 | #define M_CWBitmap_Class_Source
|
|---|
| 108 | #endif /* M_CWBitmap_Class_Source */
|
|---|
| 109 |
|
|---|
| 110 | /*
|
|---|
| 111 | * Overridden method: wpModifyPopupMenu
|
|---|
| 112 | */
|
|---|
| 113 | #pragma linkage(cwbmp_wpModifyPopupMenu, system)
|
|---|
| 114 | SOM_Scope BOOL SOMLINK cwbmp_wpModifyPopupMenu(CWBitmap *somSelf,
|
|---|
| 115 | HWND hwndMenu,
|
|---|
| 116 | HWND hwndCnr,
|
|---|
| 117 | ULONG iPosition);
|
|---|
| 118 | static char *somMN_CWBitmapwpModifyPopupMenu = "WPObject::wpModifyPopupMenu";
|
|---|
| 119 | static somId somId_CWBitmapwpModifyPopupMenu = &somMN_CWBitmapwpModifyPopupMenu;
|
|---|
| 120 | #ifdef somId_wpModifyPopupMenu
|
|---|
| 121 | #undef somId_wpModifyPopupMenu
|
|---|
| 122 | #else
|
|---|
| 123 | #define somId_wpModifyPopupMenu somId_CWBitmapwpModifyPopupMenu
|
|---|
| 124 | #endif
|
|---|
| 125 | static somMethodProc* CWBitmap_parent_WPBitmap_wpModifyPopupMenu_resolved;
|
|---|
| 126 | #define CWBitmap_parent_WPBitmap_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
|
|---|
| 127 | ((( somTD_WPObject_wpModifyPopupMenu ) \
|
|---|
| 128 | CWBitmap_parent_WPBitmap_wpModifyPopupMenu_resolved) \
|
|---|
| 129 | (somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 130 | #ifndef SOMGD_pmc_WPBitmap_wpModifyPopupMenu
|
|---|
| 131 | #ifdef parent_WPBitmap_wpModifyPopupMenu
|
|---|
| 132 | #undef parent_WPBitmap_wpModifyPopupMenu
|
|---|
| 133 | #define SOMGD_pmc_WPBitmap_wpModifyPopupMenu 1
|
|---|
| 134 | #else
|
|---|
| 135 | #define parent_WPBitmap_wpModifyPopupMenu CWBitmap_parent_WPBitmap_wpModifyPopupMenu
|
|---|
| 136 | #endif /* parent_WPBitmap_wpModifyPopupMenu */
|
|---|
| 137 | #endif /* SOMGD_pmc_WPBitmap_wpModifyPopupMenu */
|
|---|
| 138 | #ifndef parent_wpModifyPopupMenu
|
|---|
| 139 | #define parent_wpModifyPopupMenu CWBitmap_parent_WPBitmap_wpModifyPopupMenu
|
|---|
| 140 | #endif /* parent_wpModifyPopupMenu */
|
|---|
| 141 | #define CWBitmap_parents_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) (\
|
|---|
| 142 | CWBitmap_parent_WPBitmap_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 143 |
|
|---|
| 144 | /*
|
|---|
| 145 | * Overridden method: wpMenuItemSelected
|
|---|
| 146 | */
|
|---|
| 147 | #pragma linkage(cwbmp_wpMenuItemSelected, system)
|
|---|
| 148 | SOM_Scope BOOL SOMLINK cwbmp_wpMenuItemSelected(CWBitmap *somSelf,
|
|---|
| 149 | HWND hwndFrame,
|
|---|
| 150 | ULONG ulMenuId);
|
|---|
| 151 | static char *somMN_CWBitmapwpMenuItemSelected = "WPObject::wpMenuItemSelected";
|
|---|
| 152 | static somId somId_CWBitmapwpMenuItemSelected = &somMN_CWBitmapwpMenuItemSelected;
|
|---|
| 153 | #ifdef somId_wpMenuItemSelected
|
|---|
| 154 | #undef somId_wpMenuItemSelected
|
|---|
| 155 | #else
|
|---|
| 156 | #define somId_wpMenuItemSelected somId_CWBitmapwpMenuItemSelected
|
|---|
| 157 | #endif
|
|---|
| 158 | static somMethodProc* CWBitmap_parent_WPBitmap_wpMenuItemSelected_resolved;
|
|---|
| 159 | #define CWBitmap_parent_WPBitmap_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
|
|---|
| 160 | ((( somTD_WPObject_wpMenuItemSelected ) \
|
|---|
| 161 | CWBitmap_parent_WPBitmap_wpMenuItemSelected_resolved) \
|
|---|
| 162 | (somSelf,hwndFrame,ulMenuId))
|
|---|
| 163 | #ifndef SOMGD_pmc_WPBitmap_wpMenuItemSelected
|
|---|
| 164 | #ifdef parent_WPBitmap_wpMenuItemSelected
|
|---|
| 165 | #undef parent_WPBitmap_wpMenuItemSelected
|
|---|
| 166 | #define SOMGD_pmc_WPBitmap_wpMenuItemSelected 1
|
|---|
| 167 | #else
|
|---|
| 168 | #define parent_WPBitmap_wpMenuItemSelected CWBitmap_parent_WPBitmap_wpMenuItemSelected
|
|---|
| 169 | #endif /* parent_WPBitmap_wpMenuItemSelected */
|
|---|
| 170 | #endif /* SOMGD_pmc_WPBitmap_wpMenuItemSelected */
|
|---|
| 171 | #ifndef parent_wpMenuItemSelected
|
|---|
| 172 | #define parent_wpMenuItemSelected CWBitmap_parent_WPBitmap_wpMenuItemSelected
|
|---|
| 173 | #endif /* parent_wpMenuItemSelected */
|
|---|
| 174 | #define CWBitmap_parents_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) (\
|
|---|
| 175 | CWBitmap_parent_WPBitmap_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId))
|
|---|
| 176 |
|
|---|
| 177 | /*
|
|---|
| 178 | * Overridden method: wpOpen
|
|---|
| 179 | */
|
|---|
| 180 | #pragma linkage(cwbmp_wpOpen, system)
|
|---|
| 181 | SOM_Scope HWND SOMLINK cwbmp_wpOpen(CWBitmap *somSelf,
|
|---|
| 182 | HWND hwndCnr,
|
|---|
| 183 | ULONG ulView,
|
|---|
| 184 | ULONG param);
|
|---|
| 185 | static char *somMN_CWBitmapwpOpen = "WPObject::wpOpen";
|
|---|
| 186 | static somId somId_CWBitmapwpOpen = &somMN_CWBitmapwpOpen;
|
|---|
| 187 | #ifdef somId_wpOpen
|
|---|
| 188 | #undef somId_wpOpen
|
|---|
| 189 | #else
|
|---|
| 190 | #define somId_wpOpen somId_CWBitmapwpOpen
|
|---|
| 191 | #endif
|
|---|
| 192 | static somMethodProc* CWBitmap_parent_WPBitmap_wpOpen_resolved;
|
|---|
| 193 | #define CWBitmap_parent_WPBitmap_wpOpen(somSelf,hwndCnr,ulView,param) \
|
|---|
| 194 | ((( somTD_WPObject_wpOpen ) \
|
|---|
| 195 | CWBitmap_parent_WPBitmap_wpOpen_resolved) \
|
|---|
| 196 | (somSelf,hwndCnr,ulView,param))
|
|---|
| 197 | #ifndef SOMGD_pmc_WPBitmap_wpOpen
|
|---|
| 198 | #ifdef parent_WPBitmap_wpOpen
|
|---|
| 199 | #undef parent_WPBitmap_wpOpen
|
|---|
| 200 | #define SOMGD_pmc_WPBitmap_wpOpen 1
|
|---|
| 201 | #else
|
|---|
| 202 | #define parent_WPBitmap_wpOpen CWBitmap_parent_WPBitmap_wpOpen
|
|---|
| 203 | #endif /* parent_WPBitmap_wpOpen */
|
|---|
| 204 | #endif /* SOMGD_pmc_WPBitmap_wpOpen */
|
|---|
| 205 | #ifndef parent_wpOpen
|
|---|
| 206 | #define parent_wpOpen CWBitmap_parent_WPBitmap_wpOpen
|
|---|
| 207 | #endif /* parent_wpOpen */
|
|---|
| 208 | #define CWBitmap_parents_wpOpen(somSelf,hwndCnr,ulView,param) (\
|
|---|
| 209 | CWBitmap_parent_WPBitmap_wpOpen(somSelf,hwndCnr,ulView,param))
|
|---|
| 210 |
|
|---|
| 211 | /*
|
|---|
| 212 | * Overridden method: wpAddSettingsPages
|
|---|
| 213 | */
|
|---|
| 214 | #pragma linkage(cwbmp_wpAddSettingsPages, system)
|
|---|
| 215 | SOM_Scope BOOL SOMLINK cwbmp_wpAddSettingsPages(CWBitmap *somSelf,
|
|---|
| 216 | HWND hwndNotebook);
|
|---|
| 217 | static char *somMN_CWBitmapwpAddSettingsPages = "WPObject::wpAddSettingsPages";
|
|---|
| 218 | static somId somId_CWBitmapwpAddSettingsPages = &somMN_CWBitmapwpAddSettingsPages;
|
|---|
| 219 | #ifdef somId_wpAddSettingsPages
|
|---|
| 220 | #undef somId_wpAddSettingsPages
|
|---|
| 221 | #else
|
|---|
| 222 | #define somId_wpAddSettingsPages somId_CWBitmapwpAddSettingsPages
|
|---|
| 223 | #endif
|
|---|
| 224 | static somMethodProc* CWBitmap_parent_WPBitmap_wpAddSettingsPages_resolved;
|
|---|
| 225 | #define CWBitmap_parent_WPBitmap_wpAddSettingsPages(somSelf,hwndNotebook) \
|
|---|
| 226 | ((( somTD_WPObject_wpAddSettingsPages ) \
|
|---|
| 227 | CWBitmap_parent_WPBitmap_wpAddSettingsPages_resolved) \
|
|---|
| 228 | (somSelf,hwndNotebook))
|
|---|
| 229 | #ifndef SOMGD_pmc_WPBitmap_wpAddSettingsPages
|
|---|
| 230 | #ifdef parent_WPBitmap_wpAddSettingsPages
|
|---|
| 231 | #undef parent_WPBitmap_wpAddSettingsPages
|
|---|
| 232 | #define SOMGD_pmc_WPBitmap_wpAddSettingsPages 1
|
|---|
| 233 | #else
|
|---|
| 234 | #define parent_WPBitmap_wpAddSettingsPages CWBitmap_parent_WPBitmap_wpAddSettingsPages
|
|---|
| 235 | #endif /* parent_WPBitmap_wpAddSettingsPages */
|
|---|
| 236 | #endif /* SOMGD_pmc_WPBitmap_wpAddSettingsPages */
|
|---|
| 237 | #ifndef parent_wpAddSettingsPages
|
|---|
| 238 | #define parent_wpAddSettingsPages CWBitmap_parent_WPBitmap_wpAddSettingsPages
|
|---|
| 239 | #endif /* parent_wpAddSettingsPages */
|
|---|
| 240 | #define CWBitmap_parents_wpAddSettingsPages(somSelf,hwndNotebook) (\
|
|---|
| 241 | CWBitmap_parent_WPBitmap_wpAddSettingsPages(somSelf,hwndNotebook))
|
|---|
| 242 |
|
|---|
| 243 | /*
|
|---|
| 244 | * Overridden method: wpUnInitData
|
|---|
| 245 | */
|
|---|
| 246 | #pragma linkage(cwbmp_wpUnInitData, system)
|
|---|
| 247 | SOM_Scope void SOMLINK cwbmp_wpUnInitData(CWBitmap *somSelf);
|
|---|
| 248 | static char *somMN_CWBitmapwpUnInitData = "WPObject::wpUnInitData";
|
|---|
| 249 | static somId somId_CWBitmapwpUnInitData = &somMN_CWBitmapwpUnInitData;
|
|---|
| 250 | #ifdef somId_wpUnInitData
|
|---|
| 251 | #undef somId_wpUnInitData
|
|---|
| 252 | #else
|
|---|
| 253 | #define somId_wpUnInitData somId_CWBitmapwpUnInitData
|
|---|
| 254 | #endif
|
|---|
| 255 | static somMethodProc* CWBitmap_parent_WPBitmap_wpUnInitData_resolved;
|
|---|
| 256 | #define CWBitmap_parent_WPBitmap_wpUnInitData(somSelf) \
|
|---|
| 257 | ((( somTD_WPObject_wpUnInitData ) \
|
|---|
| 258 | CWBitmap_parent_WPBitmap_wpUnInitData_resolved) \
|
|---|
| 259 | (somSelf))
|
|---|
| 260 | #ifndef SOMGD_pmc_WPBitmap_wpUnInitData
|
|---|
| 261 | #ifdef parent_WPBitmap_wpUnInitData
|
|---|
| 262 | #undef parent_WPBitmap_wpUnInitData
|
|---|
| 263 | #define SOMGD_pmc_WPBitmap_wpUnInitData 1
|
|---|
| 264 | #else
|
|---|
| 265 | #define parent_WPBitmap_wpUnInitData CWBitmap_parent_WPBitmap_wpUnInitData
|
|---|
| 266 | #endif /* parent_WPBitmap_wpUnInitData */
|
|---|
| 267 | #endif /* SOMGD_pmc_WPBitmap_wpUnInitData */
|
|---|
| 268 | #ifndef parent_wpUnInitData
|
|---|
| 269 | #define parent_wpUnInitData CWBitmap_parent_WPBitmap_wpUnInitData
|
|---|
| 270 | #endif /* parent_wpUnInitData */
|
|---|
| 271 | #define CWBitmap_parents_wpUnInitData(somSelf) (\
|
|---|
| 272 | CWBitmap_parent_WPBitmap_wpUnInitData(somSelf))
|
|---|
| 273 |
|
|---|
| 274 | /*
|
|---|
| 275 | * Overridden method: wpInitData
|
|---|
| 276 | */
|
|---|
| 277 | #pragma linkage(cwbmp_wpInitData, system)
|
|---|
| 278 | SOM_Scope void SOMLINK cwbmp_wpInitData(CWBitmap *somSelf);
|
|---|
| 279 | static char *somMN_CWBitmapwpInitData = "WPObject::wpInitData";
|
|---|
| 280 | static somId somId_CWBitmapwpInitData = &somMN_CWBitmapwpInitData;
|
|---|
| 281 | #ifdef somId_wpInitData
|
|---|
| 282 | #undef somId_wpInitData
|
|---|
| 283 | #else
|
|---|
| 284 | #define somId_wpInitData somId_CWBitmapwpInitData
|
|---|
| 285 | #endif
|
|---|
| 286 | static somMethodProc* CWBitmap_parent_WPBitmap_wpInitData_resolved;
|
|---|
| 287 | #define CWBitmap_parent_WPBitmap_wpInitData(somSelf) \
|
|---|
| 288 | ((( somTD_WPObject_wpInitData ) \
|
|---|
| 289 | CWBitmap_parent_WPBitmap_wpInitData_resolved) \
|
|---|
| 290 | (somSelf))
|
|---|
| 291 | #ifndef SOMGD_pmc_WPBitmap_wpInitData
|
|---|
| 292 | #ifdef parent_WPBitmap_wpInitData
|
|---|
| 293 | #undef parent_WPBitmap_wpInitData
|
|---|
| 294 | #define SOMGD_pmc_WPBitmap_wpInitData 1
|
|---|
| 295 | #else
|
|---|
| 296 | #define parent_WPBitmap_wpInitData CWBitmap_parent_WPBitmap_wpInitData
|
|---|
| 297 | #endif /* parent_WPBitmap_wpInitData */
|
|---|
| 298 | #endif /* SOMGD_pmc_WPBitmap_wpInitData */
|
|---|
| 299 | #ifndef parent_wpInitData
|
|---|
| 300 | #define parent_wpInitData CWBitmap_parent_WPBitmap_wpInitData
|
|---|
| 301 | #endif /* parent_wpInitData */
|
|---|
| 302 | #define CWBitmap_parents_wpInitData(somSelf) (\
|
|---|
| 303 | CWBitmap_parent_WPBitmap_wpInitData(somSelf))
|
|---|
| 304 |
|
|---|
| 305 | /*
|
|---|
| 306 | * Overridden method: wpQueryDetailsData
|
|---|
| 307 | */
|
|---|
| 308 | #pragma linkage(cwbmp_wpQueryDetailsData, system)
|
|---|
| 309 | SOM_Scope ULONG SOMLINK cwbmp_wpQueryDetailsData(CWBitmap *somSelf,
|
|---|
| 310 | PVOID* ppDetailsData,
|
|---|
| 311 | PULONG pcp);
|
|---|
| 312 | static char *somMN_CWBitmapwpQueryDetailsData = "WPObject::wpQueryDetailsData";
|
|---|
| 313 | static somId somId_CWBitmapwpQueryDetailsData = &somMN_CWBitmapwpQueryDetailsData;
|
|---|
| 314 | #ifdef somId_wpQueryDetailsData
|
|---|
| 315 | #undef somId_wpQueryDetailsData
|
|---|
| 316 | #else
|
|---|
| 317 | #define somId_wpQueryDetailsData somId_CWBitmapwpQueryDetailsData
|
|---|
| 318 | #endif
|
|---|
| 319 | static somMethodProc* CWBitmap_parent_WPBitmap_wpQueryDetailsData_resolved;
|
|---|
| 320 | #define CWBitmap_parent_WPBitmap_wpQueryDetailsData(somSelf,ppDetailsData,pcp) \
|
|---|
| 321 | ((( somTD_WPObject_wpQueryDetailsData ) \
|
|---|
| 322 | CWBitmap_parent_WPBitmap_wpQueryDetailsData_resolved) \
|
|---|
| 323 | (somSelf,ppDetailsData,pcp))
|
|---|
| 324 | #ifndef SOMGD_pmc_WPBitmap_wpQueryDetailsData
|
|---|
| 325 | #ifdef parent_WPBitmap_wpQueryDetailsData
|
|---|
| 326 | #undef parent_WPBitmap_wpQueryDetailsData
|
|---|
| 327 | #define SOMGD_pmc_WPBitmap_wpQueryDetailsData 1
|
|---|
| 328 | #else
|
|---|
| 329 | #define parent_WPBitmap_wpQueryDetailsData CWBitmap_parent_WPBitmap_wpQueryDetailsData
|
|---|
| 330 | #endif /* parent_WPBitmap_wpQueryDetailsData */
|
|---|
| 331 | #endif /* SOMGD_pmc_WPBitmap_wpQueryDetailsData */
|
|---|
| 332 | #ifndef parent_wpQueryDetailsData
|
|---|
| 333 | #define parent_wpQueryDetailsData CWBitmap_parent_WPBitmap_wpQueryDetailsData
|
|---|
| 334 | #endif /* parent_wpQueryDetailsData */
|
|---|
| 335 | #define CWBitmap_parents_wpQueryDetailsData(somSelf,ppDetailsData,pcp) (\
|
|---|
| 336 | CWBitmap_parent_WPBitmap_wpQueryDetailsData(somSelf,ppDetailsData,pcp))
|
|---|
| 337 |
|
|---|
| 338 | /*
|
|---|
| 339 | * Initialize the class data structure
|
|---|
| 340 | */
|
|---|
| 341 | SOMEXTERN struct CWBitmapClassDataStructure SOMDLINK CWBitmapClassData = {(SOMAny *) NULL};
|
|---|
| 342 |
|
|---|
| 343 | /*
|
|---|
| 344 | * Define the C class data structure
|
|---|
| 345 | */
|
|---|
| 346 | SOMEXTERN struct CWBitmapCClassDataStructure SOMDLINK CWBitmapCClassData = {(somMethodTabs) NULL};
|
|---|
| 347 |
|
|---|
| 348 | /*
|
|---|
| 349 | * New Method: cwmmAddImageInformationPage
|
|---|
| 350 | */
|
|---|
| 351 | #pragma linkage(cwbmp_cwmmAddImageInformationPage, system)
|
|---|
| 352 | SOM_Scope ULONG SOMLINK cwbmp_cwmmAddImageInformationPage(CWBitmap *somSelf,
|
|---|
| 353 | HWND hwndNotebook);
|
|---|
| 354 | #ifndef somMN_cwmmAddImageInformationPage_defined
|
|---|
| 355 | #define somMN_cwmmAddImageInformationPage_defined
|
|---|
| 356 | static char *somMN_cwmmAddImageInformationPage = "cwmmAddImageInformationPage";
|
|---|
| 357 | static somId somId_cwmmAddImageInformationPage = &somMN_cwmmAddImageInformationPage;
|
|---|
| 358 | #endif /* somMN_cwmmAddImageInformationPage_defined */
|
|---|
| 359 | #ifndef somDS_cwmmAddImageInformationPage_defined
|
|---|
| 360 | #define somDS_cwmmAddImageInformationPage_defined
|
|---|
| 361 | static char *somDS_cwmmAddImageInformationPage = "::CWBitmap::cwmmAddImageInformationPage";
|
|---|
| 362 | static somId somDI_cwmmAddImageInformationPage = &somDS_cwmmAddImageInformationPage;
|
|---|
| 363 | #endif /* somDS_cwmmAddImageInformationPage_defined */
|
|---|
| 364 | #define cwmmAddImageInformationPage_somApRdDefault
|
|---|
| 365 |
|
|---|
| 366 | /*
|
|---|
| 367 | * New Method: cwmmQuerySmallBitmapHandle
|
|---|
| 368 | */
|
|---|
| 369 | #pragma linkage(cwbmp_cwmmQuerySmallBitmapHandle, system)
|
|---|
| 370 | SOM_Scope HBITMAP SOMLINK cwbmp_cwmmQuerySmallBitmapHandle(CWBitmap *somSelf,
|
|---|
| 371 | ULONG ulSize);
|
|---|
| 372 | #ifndef somMN_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 373 | #define somMN_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 374 | static char *somMN_cwmmQuerySmallBitmapHandle = "cwmmQuerySmallBitmapHandle";
|
|---|
| 375 | static somId somId_cwmmQuerySmallBitmapHandle = &somMN_cwmmQuerySmallBitmapHandle;
|
|---|
| 376 | #endif /* somMN_cwmmQuerySmallBitmapHandle_defined */
|
|---|
| 377 | #ifndef somDS_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 378 | #define somDS_cwmmQuerySmallBitmapHandle_defined
|
|---|
| 379 | static char *somDS_cwmmQuerySmallBitmapHandle = "::CWBitmap::cwmmQuerySmallBitmapHandle";
|
|---|
| 380 | static somId somDI_cwmmQuerySmallBitmapHandle = &somDS_cwmmQuerySmallBitmapHandle;
|
|---|
| 381 | #endif /* somDS_cwmmQuerySmallBitmapHandle_defined */
|
|---|
| 382 | #define cwmmQuerySmallBitmapHandle_somApRdDefault
|
|---|
| 383 |
|
|---|
| 384 | /*
|
|---|
| 385 | * New Method: cwmmFreeBitmaps
|
|---|
| 386 | */
|
|---|
| 387 | #pragma linkage(cwbmp_cwmmFreeBitmaps, system)
|
|---|
| 388 | SOM_Scope void SOMLINK cwbmp_cwmmFreeBitmaps(CWBitmap *somSelf);
|
|---|
| 389 | #ifndef somMN_cwmmFreeBitmaps_defined
|
|---|
| 390 | #define somMN_cwmmFreeBitmaps_defined
|
|---|
| 391 | static char *somMN_cwmmFreeBitmaps = "cwmmFreeBitmaps";
|
|---|
| 392 | static somId somId_cwmmFreeBitmaps = &somMN_cwmmFreeBitmaps;
|
|---|
| 393 | #endif /* somMN_cwmmFreeBitmaps_defined */
|
|---|
| 394 | #ifndef somDS_cwmmFreeBitmaps_defined
|
|---|
| 395 | #define somDS_cwmmFreeBitmaps_defined
|
|---|
| 396 | static char *somDS_cwmmFreeBitmaps = "::CWBitmap::cwmmFreeBitmaps";
|
|---|
| 397 | static somId somDI_cwmmFreeBitmaps = &somDS_cwmmFreeBitmaps;
|
|---|
| 398 | #endif /* somDS_cwmmFreeBitmaps_defined */
|
|---|
| 399 | #define cwmmFreeBitmaps_somApRdDefault
|
|---|
| 400 |
|
|---|
| 401 | /*
|
|---|
| 402 | * New Method: cwmmFreeSmallBitmap
|
|---|
| 403 | */
|
|---|
| 404 | #pragma linkage(cwbmp_cwmmFreeSmallBitmap, system)
|
|---|
| 405 | SOM_Scope void SOMLINK cwbmp_cwmmFreeSmallBitmap(CWBitmap *somSelf);
|
|---|
| 406 | #ifndef somMN_cwmmFreeSmallBitmap_defined
|
|---|
| 407 | #define somMN_cwmmFreeSmallBitmap_defined
|
|---|
| 408 | static char *somMN_cwmmFreeSmallBitmap = "cwmmFreeSmallBitmap";
|
|---|
| 409 | static somId somId_cwmmFreeSmallBitmap = &somMN_cwmmFreeSmallBitmap;
|
|---|
| 410 | #endif /* somMN_cwmmFreeSmallBitmap_defined */
|
|---|
| 411 | #ifndef somDS_cwmmFreeSmallBitmap_defined
|
|---|
| 412 | #define somDS_cwmmFreeSmallBitmap_defined
|
|---|
| 413 | static char *somDS_cwmmFreeSmallBitmap = "::CWBitmap::cwmmFreeSmallBitmap";
|
|---|
| 414 | static somId somDI_cwmmFreeSmallBitmap = &somDS_cwmmFreeSmallBitmap;
|
|---|
| 415 | #endif /* somDS_cwmmFreeSmallBitmap_defined */
|
|---|
| 416 | #define cwmmFreeSmallBitmap_somApRdDefault
|
|---|
| 417 |
|
|---|
| 418 | /*
|
|---|
| 419 | * New Method: cwmmQueryBitmapInfoHeader
|
|---|
| 420 | */
|
|---|
| 421 | #pragma linkage(cwbmp_cwmmQueryBitmapInfoHeader, system)
|
|---|
| 422 | SOM_Scope PBYTE SOMLINK cwbmp_cwmmQueryBitmapInfoHeader(CWBitmap *somSelf);
|
|---|
| 423 | #ifndef somMN_cwmmQueryBitmapInfoHeader_defined
|
|---|
| 424 | #define somMN_cwmmQueryBitmapInfoHeader_defined
|
|---|
| 425 | static char *somMN_cwmmQueryBitmapInfoHeader = "cwmmQueryBitmapInfoHeader";
|
|---|
| 426 | static somId somId_cwmmQueryBitmapInfoHeader = &somMN_cwmmQueryBitmapInfoHeader;
|
|---|
| 427 | #endif /* somMN_cwmmQueryBitmapInfoHeader_defined */
|
|---|
| 428 | #ifndef somDS_cwmmQueryBitmapInfoHeader_defined
|
|---|
| 429 | #define somDS_cwmmQueryBitmapInfoHeader_defined
|
|---|
| 430 | static char *somDS_cwmmQueryBitmapInfoHeader = "::CWBitmap::cwmmQueryBitmapInfoHeader";
|
|---|
| 431 | static somId somDI_cwmmQueryBitmapInfoHeader = &somDS_cwmmQueryBitmapInfoHeader;
|
|---|
| 432 | #endif /* somDS_cwmmQueryBitmapInfoHeader_defined */
|
|---|
| 433 | #define cwmmQueryBitmapInfoHeader_somApRdDefault
|
|---|
| 434 |
|
|---|
| 435 | /*
|
|---|
| 436 | * Routines and Structures to create the class object
|
|---|
| 437 | */
|
|---|
| 438 |
|
|---|
| 439 |
|
|---|
| 440 | /*
|
|---|
| 441 | * Declare the Static Methods table.
|
|---|
| 442 | */
|
|---|
| 443 | static somStaticMethod_t CWBitmapSM[] = {
|
|---|
| 444 | { &CWBitmapClassData.cwmmAddImageInformationPage,
|
|---|
| 445 | &somId_cwmmAddImageInformationPage,
|
|---|
| 446 | &somDI_cwmmAddImageInformationPage,
|
|---|
| 447 | (somMethodProc *) cwbmp_cwmmAddImageInformationPage,
|
|---|
| 448 | (somMethodProc *)((void*)-1),
|
|---|
| 449 | #ifdef cwmmAddImageInformationPage_somApRdDefault
|
|---|
| 450 | 0},
|
|---|
| 451 | #else
|
|---|
| 452 | (somMethodProc *) ((void*)&cwmmAddImageInformationPageStubs) },
|
|---|
| 453 | #endif
|
|---|
| 454 | { &CWBitmapClassData.cwmmQuerySmallBitmapHandle,
|
|---|
| 455 | &somId_cwmmQuerySmallBitmapHandle,
|
|---|
| 456 | &somDI_cwmmQuerySmallBitmapHandle,
|
|---|
| 457 | (somMethodProc *) cwbmp_cwmmQuerySmallBitmapHandle,
|
|---|
| 458 | (somMethodProc *)((void*)-1),
|
|---|
| 459 | #ifdef cwmmQuerySmallBitmapHandle_somApRdDefault
|
|---|
| 460 | 0},
|
|---|
| 461 | #else
|
|---|
| 462 | (somMethodProc *) ((void*)&cwmmQuerySmallBitmapHandleStubs) },
|
|---|
| 463 | #endif
|
|---|
| 464 | { &CWBitmapClassData.cwmmFreeBitmaps,
|
|---|
| 465 | &somId_cwmmFreeBitmaps,
|
|---|
| 466 | &somDI_cwmmFreeBitmaps,
|
|---|
| 467 | (somMethodProc *) cwbmp_cwmmFreeBitmaps,
|
|---|
| 468 | (somMethodProc *)((void*)-1),
|
|---|
| 469 | #ifdef cwmmFreeBitmaps_somApRdDefault
|
|---|
| 470 | 0},
|
|---|
| 471 | #else
|
|---|
| 472 | (somMethodProc *) ((void*)&cwmmFreeBitmapsStubs) },
|
|---|
| 473 | #endif
|
|---|
| 474 | { &CWBitmapClassData.cwmmFreeSmallBitmap,
|
|---|
| 475 | &somId_cwmmFreeSmallBitmap,
|
|---|
| 476 | &somDI_cwmmFreeSmallBitmap,
|
|---|
| 477 | (somMethodProc *) cwbmp_cwmmFreeSmallBitmap,
|
|---|
| 478 | (somMethodProc *)((void*)-1),
|
|---|
| 479 | #ifdef cwmmFreeSmallBitmap_somApRdDefault
|
|---|
| 480 | 0},
|
|---|
| 481 | #else
|
|---|
| 482 | (somMethodProc *) ((void*)&cwmmFreeSmallBitmapStubs) },
|
|---|
| 483 | #endif
|
|---|
| 484 | { &CWBitmapClassData.cwmmQueryBitmapInfoHeader,
|
|---|
| 485 | &somId_cwmmQueryBitmapInfoHeader,
|
|---|
| 486 | &somDI_cwmmQueryBitmapInfoHeader,
|
|---|
| 487 | (somMethodProc *) cwbmp_cwmmQueryBitmapInfoHeader,
|
|---|
| 488 | (somMethodProc *)((void*)-1),
|
|---|
| 489 | #ifdef cwmmQueryBitmapInfoHeader_somApRdDefault
|
|---|
| 490 | 0},
|
|---|
| 491 | #else
|
|---|
| 492 | (somMethodProc *) ((void*)&cwmmQueryBitmapInfoHeaderStubs) },
|
|---|
| 493 | #endif
|
|---|
| 494 | };
|
|---|
| 495 |
|
|---|
| 496 |
|
|---|
| 497 | /*
|
|---|
| 498 | * Declare the Override Methods table.
|
|---|
| 499 | */
|
|---|
| 500 | static somOverrideMethod_t CWBitmapOM[] = {
|
|---|
| 501 | { &somId_CWBitmapwpModifyPopupMenu,
|
|---|
| 502 | (somMethodProc *) cwbmp_wpModifyPopupMenu },
|
|---|
| 503 | { &somId_CWBitmapwpMenuItemSelected,
|
|---|
| 504 | (somMethodProc *) cwbmp_wpMenuItemSelected },
|
|---|
| 505 | { &somId_CWBitmapwpOpen,
|
|---|
| 506 | (somMethodProc *) cwbmp_wpOpen },
|
|---|
| 507 | { &somId_CWBitmapwpAddSettingsPages,
|
|---|
| 508 | (somMethodProc *) cwbmp_wpAddSettingsPages },
|
|---|
| 509 | { &somId_CWBitmapwpUnInitData,
|
|---|
| 510 | (somMethodProc *) cwbmp_wpUnInitData },
|
|---|
| 511 | { &somId_CWBitmapwpInitData,
|
|---|
| 512 | (somMethodProc *) cwbmp_wpInitData },
|
|---|
| 513 | { &somId_CWBitmapwpQueryDetailsData,
|
|---|
| 514 | (somMethodProc *) cwbmp_wpQueryDetailsData },
|
|---|
| 515 | };
|
|---|
| 516 |
|
|---|
| 517 |
|
|---|
| 518 | /*
|
|---|
| 519 | * Initializers for class Ids
|
|---|
| 520 | */
|
|---|
| 521 | static char * somCN_CWBitmap = "CWBitmap";
|
|---|
| 522 | #ifndef somEMC_M_CWBitmap_defined
|
|---|
| 523 | #define somEMC_M_CWBitmap_defined
|
|---|
| 524 | static char * somEMC_M_CWBitmap = "M_CWBitmap";
|
|---|
| 525 | #endif
|
|---|
| 526 | static char * somPCN_CWBitmap_WPBitmap = "WPBitmap";
|
|---|
| 527 |
|
|---|
| 528 | static somId somPCCWBitmap[] = {
|
|---|
| 529 | &somPCN_CWBitmap_WPBitmap,
|
|---|
| 530 | };
|
|---|
| 531 |
|
|---|
| 532 | static somStaticClassInfo CWBitmapSCI = {
|
|---|
| 533 | 4, 5, 7, 0, 0, 0,
|
|---|
| 534 | CWBitmap_MajorVersion, CWBitmap_MinorVersion,
|
|---|
| 535 | sizeof(CWBitmapData), CWBitmap_MaxNoMethods, 1,
|
|---|
| 536 | &somCN_CWBitmap,
|
|---|
| 537 | &somEMC_M_CWBitmap, 0,
|
|---|
| 538 | somPCCWBitmap,
|
|---|
| 539 | (somClassDataStructure *) &CWBitmapClassData,
|
|---|
| 540 | (somCClassDataStructure *) &CWBitmapCClassData,
|
|---|
| 541 | CWBitmapSM, CWBitmapOM,
|
|---|
| 542 | (char *) NULL,
|
|---|
| 543 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 544 | (somVarargsFuncs_t *) NULL,
|
|---|
| 545 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 546 | 4, /* type code alignment */
|
|---|
| 547 | -1, /* use parents as directinitclasses */
|
|---|
| 548 | 0, /* no explicit directinitclasses */
|
|---|
| 549 | 0, /* number of general method entries */
|
|---|
| 550 | (somMethods_t *) NULL,
|
|---|
| 551 | 0, /* no public data offset */
|
|---|
| 552 | 0, /* no sci development level check */
|
|---|
| 553 | 0, /* number of SelectInheritedMethods */
|
|---|
| 554 | 0, /* no SelectInheritedMethods */
|
|---|
| 555 | 5, /* number of classdata entries */
|
|---|
| 556 | 0, /* no entry names provided currently */
|
|---|
| 557 | 0, /* number of migrated methods */
|
|---|
| 558 | 0, /* no migrated method implementations */
|
|---|
| 559 | 0, /* number of initializers */
|
|---|
| 560 | 0, /* no initializers */
|
|---|
| 561 | 0, /* used to identify a DTS class */
|
|---|
| 562 | 0, /* used to register dynamically computed info */
|
|---|
| 563 | };
|
|---|
| 564 |
|
|---|
| 565 |
|
|---|
| 566 | /*
|
|---|
| 567 | * Class Creation and Initialization
|
|---|
| 568 | */
|
|---|
| 569 |
|
|---|
| 570 | SOMClass * SOMLINK CWBitmapNewClass (integer4 somtmajorVersion,
|
|---|
| 571 | integer4 somtminorVersion)
|
|---|
| 572 | {
|
|---|
| 573 | SOMClass *result;
|
|---|
| 574 | WPBitmapNewClass(WPBitmap_MajorVersion,WPBitmap_MinorVersion); /* static reference */
|
|---|
| 575 | /* Explicit metaclass, so get it */
|
|---|
| 576 | M_CWBitmapNewClass(M_CWBitmap_MajorVersion,M_CWBitmap_MinorVersion); /* static reference */
|
|---|
| 577 | result = somBuildClass(1,&CWBitmapSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 578 | CWBitmap_parent_WPBitmap_wpQueryDetailsData_resolved =
|
|---|
| 579 | somParentNumResolve(CWBitmapCClassData.parentMtab, 1, WPObjectClassData.wpQueryDetailsData);
|
|---|
| 580 | CWBitmap_parent_WPBitmap_wpInitData_resolved =
|
|---|
| 581 | somParentNumResolve(CWBitmapCClassData.parentMtab, 1, WPObjectClassData.wpInitData);
|
|---|
| 582 | CWBitmap_parent_WPBitmap_wpUnInitData_resolved =
|
|---|
| 583 | somParentNumResolve(CWBitmapCClassData.parentMtab, 1, WPObjectClassData.wpUnInitData);
|
|---|
| 584 | CWBitmap_parent_WPBitmap_wpAddSettingsPages_resolved =
|
|---|
| 585 | somParentNumResolve(CWBitmapCClassData.parentMtab, 1, WPObjectClassData.wpAddSettingsPages);
|
|---|
| 586 | CWBitmap_parent_WPBitmap_wpOpen_resolved =
|
|---|
| 587 | somParentNumResolve(CWBitmapCClassData.parentMtab, 1, WPObjectClassData.wpOpen);
|
|---|
| 588 | CWBitmap_parent_WPBitmap_wpMenuItemSelected_resolved =
|
|---|
| 589 | somParentNumResolve(CWBitmapCClassData.parentMtab, 1, WPObjectClassData.wpMenuItemSelected);
|
|---|
| 590 | CWBitmap_parent_WPBitmap_wpModifyPopupMenu_resolved =
|
|---|
| 591 | somParentNumResolve(CWBitmapCClassData.parentMtab, 1, WPObjectClassData.wpModifyPopupMenu);
|
|---|
| 592 | return result;
|
|---|
| 593 | }
|
|---|
| 594 |
|
|---|
| 595 | /*
|
|---|
| 596 | * Functions for attributes.
|
|---|
| 597 | */
|
|---|
| 598 |
|
|---|
| 599 | #endif /* Primary Implementation Support */
|
|---|
| 600 | #pragma checkout(resume)
|
|---|
| 601 |
|
|---|
| 602 | #endif /* SOM_CWBitmap_ih */
|
|---|
| 603 |
|
|---|
| 604 | /*
|
|---|
| 605 | * -- By default, for classes declared using IDL,
|
|---|
| 606 | * -- this emitter doesn't define redispatch/apply stubs.
|
|---|
| 607 | * -- Instead, it requests that the SOM kernel produce them.
|
|---|
| 608 | * -- To override this default, use the "notc" modifier.
|
|---|
| 609 | */
|
|---|
| 610 |
|
|---|
| 611 | #ifndef SOM_M_CWBitmap_ih
|
|---|
| 612 | #define SOM_M_CWBitmap_ih
|
|---|
| 613 |
|
|---|
| 614 | #pragma checkout(suspend)
|
|---|
| 615 |
|
|---|
| 616 | #include <cwbmp.h>
|
|---|
| 617 |
|
|---|
| 618 | /*
|
|---|
| 619 | * Set the scope of methods functions
|
|---|
| 620 | */
|
|---|
| 621 | #ifndef SOM_Scope
|
|---|
| 622 | #ifdef __cplusplus
|
|---|
| 623 | #define SOM_Scope extern "C"
|
|---|
| 624 | #else
|
|---|
| 625 | #define SOM_Scope extern
|
|---|
| 626 | #endif /* __cplusplus */
|
|---|
| 627 | #endif /* SOM_Scope */
|
|---|
| 628 |
|
|---|
| 629 | #ifndef SOM_CurrentClass
|
|---|
| 630 | #define SOM_CurrentClass M_CWBitmapCClassData.parentMtab
|
|---|
| 631 | #endif /* SOM_CurrentClass */
|
|---|
| 632 |
|
|---|
| 633 | #define M_CWBitmap_MaxNoMethods 0
|
|---|
| 634 |
|
|---|
| 635 | /*
|
|---|
| 636 | * -- Instance data
|
|---|
| 637 | */
|
|---|
| 638 | typedef void M_CWBitmapData;
|
|---|
| 639 |
|
|---|
| 640 | /*
|
|---|
| 641 | * This class introduces no instance data, so no GetData macro is provided
|
|---|
| 642 | */
|
|---|
| 643 |
|
|---|
| 644 | /*
|
|---|
| 645 | * Primary Implementation File Support
|
|---|
| 646 | */
|
|---|
| 647 | #if (defined(CWBitmap_Class_Source) || defined(M_CWBitmap_Class_Source) || defined(SOM_Module_cwbmp_Source))
|
|---|
| 648 |
|
|---|
| 649 | /*
|
|---|
| 650 | * Trace/Debug macro
|
|---|
| 651 | */
|
|---|
| 652 | #ifndef M_CWBitmapMethodDebug
|
|---|
| 653 | #define M_CWBitmapMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 654 | #endif /* M_CWBitmapMethodDebug */
|
|---|
| 655 |
|
|---|
| 656 | /*
|
|---|
| 657 | * Current class macros for Instance and Meta classes.
|
|---|
| 658 | */
|
|---|
| 659 |
|
|---|
| 660 | /*
|
|---|
| 661 | * Overridden method: wpclsQueryDefaultView
|
|---|
| 662 | */
|
|---|
| 663 | #pragma linkage(cwbmpM_wpclsQueryDefaultView, system)
|
|---|
| 664 | SOM_Scope ULONG SOMLINK cwbmpM_wpclsQueryDefaultView(M_CWBitmap *somSelf);
|
|---|
| 665 | static char *somMN_M_CWBitmapwpclsQueryDefaultView = "M_WPObject::wpclsQueryDefaultView";
|
|---|
| 666 | static somId somId_M_CWBitmapwpclsQueryDefaultView = &somMN_M_CWBitmapwpclsQueryDefaultView;
|
|---|
| 667 | #ifdef somId_wpclsQueryDefaultView
|
|---|
| 668 | #undef somId_wpclsQueryDefaultView
|
|---|
| 669 | #else
|
|---|
| 670 | #define somId_wpclsQueryDefaultView somId_M_CWBitmapwpclsQueryDefaultView
|
|---|
| 671 | #endif
|
|---|
| 672 | static somMethodProc* M_CWBitmap_parent_M_WPBitmap_wpclsQueryDefaultView_resolved;
|
|---|
| 673 | #define M_CWBitmap_parent_M_WPBitmap_wpclsQueryDefaultView(somSelf) \
|
|---|
| 674 | ((( somTD_M_WPObject_wpclsQueryDefaultView ) \
|
|---|
| 675 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryDefaultView_resolved) \
|
|---|
| 676 | (somSelf))
|
|---|
| 677 | #ifndef SOMGD_pmc_M_WPBitmap_wpclsQueryDefaultView
|
|---|
| 678 | #ifdef parent_M_WPBitmap_wpclsQueryDefaultView
|
|---|
| 679 | #undef parent_M_WPBitmap_wpclsQueryDefaultView
|
|---|
| 680 | #define SOMGD_pmc_M_WPBitmap_wpclsQueryDefaultView 1
|
|---|
| 681 | #else
|
|---|
| 682 | #define parent_M_WPBitmap_wpclsQueryDefaultView M_CWBitmap_parent_M_WPBitmap_wpclsQueryDefaultView
|
|---|
| 683 | #endif /* parent_M_WPBitmap_wpclsQueryDefaultView */
|
|---|
| 684 | #endif /* SOMGD_pmc_M_WPBitmap_wpclsQueryDefaultView */
|
|---|
| 685 | #ifndef parent_wpclsQueryDefaultView
|
|---|
| 686 | #define parent_wpclsQueryDefaultView M_CWBitmap_parent_M_WPBitmap_wpclsQueryDefaultView
|
|---|
| 687 | #endif /* parent_wpclsQueryDefaultView */
|
|---|
| 688 | #define M_CWBitmap_parents_wpclsQueryDefaultView(somSelf) (\
|
|---|
| 689 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryDefaultView(somSelf))
|
|---|
| 690 |
|
|---|
| 691 | /*
|
|---|
| 692 | * Overridden method: wpclsQueryIconData
|
|---|
| 693 | */
|
|---|
| 694 | #pragma linkage(cwbmpM_wpclsQueryIconData, system)
|
|---|
| 695 | SOM_Scope ULONG SOMLINK cwbmpM_wpclsQueryIconData(M_CWBitmap *somSelf,
|
|---|
| 696 | PICONINFO pIconInfo);
|
|---|
| 697 | static char *somMN_M_CWBitmapwpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
|
|---|
| 698 | static somId somId_M_CWBitmapwpclsQueryIconData = &somMN_M_CWBitmapwpclsQueryIconData;
|
|---|
| 699 | #ifdef somId_wpclsQueryIconData
|
|---|
| 700 | #undef somId_wpclsQueryIconData
|
|---|
| 701 | #else
|
|---|
| 702 | #define somId_wpclsQueryIconData somId_M_CWBitmapwpclsQueryIconData
|
|---|
| 703 | #endif
|
|---|
| 704 | static somMethodProc* M_CWBitmap_parent_M_WPBitmap_wpclsQueryIconData_resolved;
|
|---|
| 705 | #define M_CWBitmap_parent_M_WPBitmap_wpclsQueryIconData(somSelf,pIconInfo) \
|
|---|
| 706 | ((( somTD_M_WPObject_wpclsQueryIconData ) \
|
|---|
| 707 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryIconData_resolved) \
|
|---|
| 708 | (somSelf,pIconInfo))
|
|---|
| 709 | #ifndef SOMGD_pmc_M_WPBitmap_wpclsQueryIconData
|
|---|
| 710 | #ifdef parent_M_WPBitmap_wpclsQueryIconData
|
|---|
| 711 | #undef parent_M_WPBitmap_wpclsQueryIconData
|
|---|
| 712 | #define SOMGD_pmc_M_WPBitmap_wpclsQueryIconData 1
|
|---|
| 713 | #else
|
|---|
| 714 | #define parent_M_WPBitmap_wpclsQueryIconData M_CWBitmap_parent_M_WPBitmap_wpclsQueryIconData
|
|---|
| 715 | #endif /* parent_M_WPBitmap_wpclsQueryIconData */
|
|---|
| 716 | #endif /* SOMGD_pmc_M_WPBitmap_wpclsQueryIconData */
|
|---|
| 717 | #ifndef parent_wpclsQueryIconData
|
|---|
| 718 | #define parent_wpclsQueryIconData M_CWBitmap_parent_M_WPBitmap_wpclsQueryIconData
|
|---|
| 719 | #endif /* parent_wpclsQueryIconData */
|
|---|
| 720 | #define M_CWBitmap_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
|
|---|
| 721 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryIconData(somSelf,pIconInfo))
|
|---|
| 722 |
|
|---|
| 723 | /*
|
|---|
| 724 | * Overridden method: wpclsQueryDetailsInfo
|
|---|
| 725 | */
|
|---|
| 726 | #pragma linkage(cwbmpM_wpclsQueryDetailsInfo, system)
|
|---|
| 727 | SOM_Scope ULONG SOMLINK cwbmpM_wpclsQueryDetailsInfo(M_CWBitmap *somSelf,
|
|---|
| 728 | PCLASSFIELDINFO* ppClassFieldInfo,
|
|---|
| 729 | PULONG pSize);
|
|---|
| 730 | static char *somMN_M_CWBitmapwpclsQueryDetailsInfo = "M_WPObject::wpclsQueryDetailsInfo";
|
|---|
| 731 | static somId somId_M_CWBitmapwpclsQueryDetailsInfo = &somMN_M_CWBitmapwpclsQueryDetailsInfo;
|
|---|
| 732 | #ifdef somId_wpclsQueryDetailsInfo
|
|---|
| 733 | #undef somId_wpclsQueryDetailsInfo
|
|---|
| 734 | #else
|
|---|
| 735 | #define somId_wpclsQueryDetailsInfo somId_M_CWBitmapwpclsQueryDetailsInfo
|
|---|
| 736 | #endif
|
|---|
| 737 | static somMethodProc* M_CWBitmap_parent_M_WPBitmap_wpclsQueryDetailsInfo_resolved;
|
|---|
| 738 | #define M_CWBitmap_parent_M_WPBitmap_wpclsQueryDetailsInfo(somSelf,ppClassFieldInfo,pSize) \
|
|---|
| 739 | ((( somTD_M_WPObject_wpclsQueryDetailsInfo ) \
|
|---|
| 740 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryDetailsInfo_resolved) \
|
|---|
| 741 | (somSelf,ppClassFieldInfo,pSize))
|
|---|
| 742 | #ifndef SOMGD_pmc_M_WPBitmap_wpclsQueryDetailsInfo
|
|---|
| 743 | #ifdef parent_M_WPBitmap_wpclsQueryDetailsInfo
|
|---|
| 744 | #undef parent_M_WPBitmap_wpclsQueryDetailsInfo
|
|---|
| 745 | #define SOMGD_pmc_M_WPBitmap_wpclsQueryDetailsInfo 1
|
|---|
| 746 | #else
|
|---|
| 747 | #define parent_M_WPBitmap_wpclsQueryDetailsInfo M_CWBitmap_parent_M_WPBitmap_wpclsQueryDetailsInfo
|
|---|
| 748 | #endif /* parent_M_WPBitmap_wpclsQueryDetailsInfo */
|
|---|
| 749 | #endif /* SOMGD_pmc_M_WPBitmap_wpclsQueryDetailsInfo */
|
|---|
| 750 | #ifndef parent_wpclsQueryDetailsInfo
|
|---|
| 751 | #define parent_wpclsQueryDetailsInfo M_CWBitmap_parent_M_WPBitmap_wpclsQueryDetailsInfo
|
|---|
| 752 | #endif /* parent_wpclsQueryDetailsInfo */
|
|---|
| 753 | #define M_CWBitmap_parents_wpclsQueryDetailsInfo(somSelf,ppClassFieldInfo,pSize) (\
|
|---|
| 754 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryDetailsInfo(somSelf,ppClassFieldInfo,pSize))
|
|---|
| 755 |
|
|---|
| 756 | /*
|
|---|
| 757 | * Overridden method: wpclsInitData
|
|---|
| 758 | */
|
|---|
| 759 | #pragma linkage(cwbmpM_wpclsInitData, system)
|
|---|
| 760 | SOM_Scope void SOMLINK cwbmpM_wpclsInitData(M_CWBitmap *somSelf);
|
|---|
| 761 | static char *somMN_M_CWBitmapwpclsInitData = "M_WPObject::wpclsInitData";
|
|---|
| 762 | static somId somId_M_CWBitmapwpclsInitData = &somMN_M_CWBitmapwpclsInitData;
|
|---|
| 763 | #ifdef somId_wpclsInitData
|
|---|
| 764 | #undef somId_wpclsInitData
|
|---|
| 765 | #else
|
|---|
| 766 | #define somId_wpclsInitData somId_M_CWBitmapwpclsInitData
|
|---|
| 767 | #endif
|
|---|
| 768 | static somMethodProc* M_CWBitmap_parent_M_WPBitmap_wpclsInitData_resolved;
|
|---|
| 769 | #define M_CWBitmap_parent_M_WPBitmap_wpclsInitData(somSelf) \
|
|---|
| 770 | ((( somTD_M_WPObject_wpclsInitData ) \
|
|---|
| 771 | M_CWBitmap_parent_M_WPBitmap_wpclsInitData_resolved) \
|
|---|
| 772 | (somSelf))
|
|---|
| 773 | #ifndef SOMGD_pmc_M_WPBitmap_wpclsInitData
|
|---|
| 774 | #ifdef parent_M_WPBitmap_wpclsInitData
|
|---|
| 775 | #undef parent_M_WPBitmap_wpclsInitData
|
|---|
| 776 | #define SOMGD_pmc_M_WPBitmap_wpclsInitData 1
|
|---|
| 777 | #else
|
|---|
| 778 | #define parent_M_WPBitmap_wpclsInitData M_CWBitmap_parent_M_WPBitmap_wpclsInitData
|
|---|
| 779 | #endif /* parent_M_WPBitmap_wpclsInitData */
|
|---|
| 780 | #endif /* SOMGD_pmc_M_WPBitmap_wpclsInitData */
|
|---|
| 781 | #ifndef parent_wpclsInitData
|
|---|
| 782 | #define parent_wpclsInitData M_CWBitmap_parent_M_WPBitmap_wpclsInitData
|
|---|
| 783 | #endif /* parent_wpclsInitData */
|
|---|
| 784 | #define M_CWBitmap_parents_wpclsInitData(somSelf) (\
|
|---|
| 785 | M_CWBitmap_parent_M_WPBitmap_wpclsInitData(somSelf))
|
|---|
| 786 |
|
|---|
| 787 | /*
|
|---|
| 788 | * Initialize the class data structure
|
|---|
| 789 | */
|
|---|
| 790 | SOMEXTERN struct M_CWBitmapClassDataStructure SOMDLINK M_CWBitmapClassData = {(SOMAny *) NULL};
|
|---|
| 791 |
|
|---|
| 792 | /*
|
|---|
| 793 | * Define the C class data structure
|
|---|
| 794 | */
|
|---|
| 795 | SOMEXTERN struct M_CWBitmapCClassDataStructure SOMDLINK M_CWBitmapCClassData = {(somMethodTabs) NULL};
|
|---|
| 796 |
|
|---|
| 797 | /*
|
|---|
| 798 | * Routines and Structures to create the class object
|
|---|
| 799 | */
|
|---|
| 800 |
|
|---|
| 801 |
|
|---|
| 802 | /*
|
|---|
| 803 | * Declare the Override Methods table.
|
|---|
| 804 | */
|
|---|
| 805 | static somOverrideMethod_t M_CWBitmapOM[] = {
|
|---|
| 806 | { &somId_M_CWBitmapwpclsQueryDefaultView,
|
|---|
| 807 | (somMethodProc *) cwbmpM_wpclsQueryDefaultView },
|
|---|
| 808 | { &somId_M_CWBitmapwpclsQueryIconData,
|
|---|
| 809 | (somMethodProc *) cwbmpM_wpclsQueryIconData },
|
|---|
| 810 | { &somId_M_CWBitmapwpclsQueryDetailsInfo,
|
|---|
| 811 | (somMethodProc *) cwbmpM_wpclsQueryDetailsInfo },
|
|---|
| 812 | { &somId_M_CWBitmapwpclsInitData,
|
|---|
| 813 | (somMethodProc *) cwbmpM_wpclsInitData },
|
|---|
| 814 | };
|
|---|
| 815 |
|
|---|
| 816 |
|
|---|
| 817 | /*
|
|---|
| 818 | * Initializers for class Ids
|
|---|
| 819 | */
|
|---|
| 820 | static char * somCN_M_CWBitmap = "M_CWBitmap";
|
|---|
| 821 | static char * somPCN_M_CWBitmap_M_WPBitmap = "M_WPBitmap";
|
|---|
| 822 |
|
|---|
| 823 | static somId somPCM_CWBitmap[] = {
|
|---|
| 824 | &somPCN_M_CWBitmap_M_WPBitmap,
|
|---|
| 825 | };
|
|---|
| 826 |
|
|---|
| 827 | static somStaticClassInfo M_CWBitmapSCI = {
|
|---|
| 828 | 4, 0, 4, 0, 0, 0,
|
|---|
| 829 | M_CWBitmap_MajorVersion, M_CWBitmap_MinorVersion,
|
|---|
| 830 | 0, M_CWBitmap_MaxNoMethods, 1,
|
|---|
| 831 | &somCN_M_CWBitmap,
|
|---|
| 832 | (somId) NULL, 1,
|
|---|
| 833 | somPCM_CWBitmap,
|
|---|
| 834 | (somClassDataStructure *) &M_CWBitmapClassData,
|
|---|
| 835 | (somCClassDataStructure *) &M_CWBitmapCClassData,
|
|---|
| 836 | (somStaticMethod_t *) NULL, M_CWBitmapOM,
|
|---|
| 837 | (char *) NULL,
|
|---|
| 838 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 839 | (somVarargsFuncs_t *) NULL,
|
|---|
| 840 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 841 | 0, /* type code alignment */
|
|---|
| 842 | -1, /* use parents as directinitclasses */
|
|---|
| 843 | 0, /* no explicit directinitclasses */
|
|---|
| 844 | 0, /* number of general method entries */
|
|---|
| 845 | (somMethods_t *) NULL,
|
|---|
| 846 | 0, /* no public data offset */
|
|---|
| 847 | 0, /* no sci development level check */
|
|---|
| 848 | 0, /* number of SelectInheritedMethods */
|
|---|
| 849 | 0, /* no SelectInheritedMethods */
|
|---|
| 850 | 0, /* number of classdata entries */
|
|---|
| 851 | 0, /* no entry names provided currently */
|
|---|
| 852 | 0, /* number of migrated methods */
|
|---|
| 853 | 0, /* no migrated method implementations */
|
|---|
| 854 | 0, /* number of initializers */
|
|---|
| 855 | 0, /* no initializers */
|
|---|
| 856 | 0, /* used to identify a DTS class */
|
|---|
| 857 | 0, /* used to register dynamically computed info */
|
|---|
| 858 | };
|
|---|
| 859 |
|
|---|
| 860 |
|
|---|
| 861 | /*
|
|---|
| 862 | * Class Creation and Initialization
|
|---|
| 863 | */
|
|---|
| 864 |
|
|---|
| 865 | SOMClass * SOMLINK M_CWBitmapNewClass (integer4 somtmajorVersion,
|
|---|
| 866 | integer4 somtminorVersion)
|
|---|
| 867 | {
|
|---|
| 868 | SOMClass *result;
|
|---|
| 869 | M_WPBitmapNewClass(M_WPBitmap_MajorVersion,M_WPBitmap_MinorVersion); /* static reference */
|
|---|
| 870 | result = somBuildClass(1,&M_CWBitmapSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 871 | M_CWBitmap_parent_M_WPBitmap_wpclsInitData_resolved =
|
|---|
| 872 | somParentNumResolve(M_CWBitmapCClassData.parentMtab, 1, M_WPObjectClassData.wpclsInitData);
|
|---|
| 873 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryDetailsInfo_resolved =
|
|---|
| 874 | somParentNumResolve(M_CWBitmapCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDetailsInfo);
|
|---|
| 875 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryIconData_resolved =
|
|---|
| 876 | somParentNumResolve(M_CWBitmapCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
|
|---|
| 877 | M_CWBitmap_parent_M_WPBitmap_wpclsQueryDefaultView_resolved =
|
|---|
| 878 | somParentNumResolve(M_CWBitmapCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultView);
|
|---|
| 879 | return result;
|
|---|
| 880 | }
|
|---|
| 881 |
|
|---|
| 882 | /*
|
|---|
| 883 | * Functions for attributes.
|
|---|
| 884 | */
|
|---|
| 885 |
|
|---|
| 886 | #endif /* Primary Implementation Support */
|
|---|
| 887 | #pragma checkout(resume)
|
|---|
| 888 |
|
|---|
| 889 | #endif /* SOM_M_CWBitmap_ih */
|
|---|