| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | * This file was generated by the SOM Compiler.
|
|---|
| 4 | * FileName: include\cwmmdataf.ih.
|
|---|
| 5 | * Generated using:
|
|---|
| 6 | * SOM Precompiler somipc: 2.29.1.7
|
|---|
| 7 | * SOM Emitter emitih: 2.42
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | *
|
|---|
| 12 | * cwmmdataf.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_CWMMDataFile_ih
|
|---|
| 24 | #define SOM_CWMMDataFile_ih
|
|---|
| 25 |
|
|---|
| 26 | #pragma checkout(suspend)
|
|---|
| 27 |
|
|---|
| 28 | #include <cwmmdataf.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 CWMMDataFileCClassData.parentMtab
|
|---|
| 43 | #endif /* SOM_CurrentClass */
|
|---|
| 44 |
|
|---|
| 45 | #define CWMMDataFile_MaxNoMethods 3
|
|---|
| 46 |
|
|---|
| 47 | /*
|
|---|
| 48 | * -- Instance data
|
|---|
| 49 | */
|
|---|
| 50 | typedef struct {
|
|---|
| 51 | HWND hwndObjectPlay;
|
|---|
| 52 | ULONG ulPreviousView;
|
|---|
| 53 | PFNWP pfnwpObjectProc;
|
|---|
| 54 | char chrRecordTitle[260];
|
|---|
| 55 | PSZ pOrgTitle;
|
|---|
| 56 | } CWMMDataFileData;
|
|---|
| 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 CWMMDataFileData* SOMLINK somTP_CWMMDataFile_DataThunk(void*);
|
|---|
| 67 | #ifdef __IBMC__
|
|---|
| 68 | #pragma linkage(somTP_CWMMDataFile_DataThunk, system)
|
|---|
| 69 | #endif
|
|---|
| 70 | typedef somTP_CWMMDataFile_DataThunk *somTD_CWMMDataFile_DataThunk;
|
|---|
| 71 |
|
|---|
| 72 | #define CWMMDataFileGetData(somSelf) \
|
|---|
| 73 | (((somTD_CWMMDataFile_DataThunk)(CWMMDataFileCClassData.instanceDataToken))(somSelf))
|
|---|
| 74 |
|
|---|
| 75 | /*
|
|---|
| 76 | * Instance variable and staticdata access macros
|
|---|
| 77 | */
|
|---|
| 78 | #ifndef NO_VARIABLE_MACROS
|
|---|
| 79 | #define _hwndObjectPlay (somThis->hwndObjectPlay)
|
|---|
| 80 | #define _ulPreviousView (somThis->ulPreviousView)
|
|---|
| 81 | #define _pfnwpObjectProc (somThis->pfnwpObjectProc)
|
|---|
| 82 | #define _chrRecordTitle (somThis->chrRecordTitle)
|
|---|
| 83 | #define _pOrgTitle (somThis->pOrgTitle)
|
|---|
| 84 | #endif
|
|---|
| 85 |
|
|---|
| 86 | /*
|
|---|
| 87 | * Primary Implementation File Support
|
|---|
| 88 | */
|
|---|
| 89 | #if (defined(CWMMDataFile_Class_Source) || defined(SOM_Module_cwmmdataf_Source))
|
|---|
| 90 |
|
|---|
| 91 | /*
|
|---|
| 92 | * Trace/Debug macro
|
|---|
| 93 | */
|
|---|
| 94 | #ifndef CWMMDataFileMethodDebug
|
|---|
| 95 | #define CWMMDataFileMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 96 | #endif /* CWMMDataFileMethodDebug */
|
|---|
| 97 |
|
|---|
| 98 | /*
|
|---|
| 99 | * Current class macros for Instance and Meta classes.
|
|---|
| 100 | */
|
|---|
| 101 | #undef SOMMeta
|
|---|
| 102 | #define SOMMeta M_CWMMDataFileCClassData.parentMtab
|
|---|
| 103 | #undef SOMInstance
|
|---|
| 104 | #define SOMInstance CWMMDataFileCClassData.parentMtab
|
|---|
| 105 |
|
|---|
| 106 | #ifndef M_CWMMDataFile_Class_Source
|
|---|
| 107 | #define M_CWMMDataFile_Class_Source
|
|---|
| 108 | #endif /* M_CWMMDataFile_Class_Source */
|
|---|
| 109 |
|
|---|
| 110 | /*
|
|---|
| 111 | * Overridden method: wpFilterPopupMenu
|
|---|
| 112 | */
|
|---|
| 113 | #pragma linkage(cwmmdatafile_wpFilterPopupMenu, system)
|
|---|
| 114 | SOM_Scope ULONG SOMLINK cwmmdatafile_wpFilterPopupMenu(CWMMDataFile *somSelf,
|
|---|
| 115 | ULONG ulFlags,
|
|---|
| 116 | HWND hwndCnr,
|
|---|
| 117 | BOOL fMultiSelect);
|
|---|
| 118 | static char *somMN_CWMMDataFilewpFilterPopupMenu = "WPObject::wpFilterPopupMenu";
|
|---|
| 119 | static somId somId_CWMMDataFilewpFilterPopupMenu = &somMN_CWMMDataFilewpFilterPopupMenu;
|
|---|
| 120 | #ifdef somId_wpFilterPopupMenu
|
|---|
| 121 | #undef somId_wpFilterPopupMenu
|
|---|
| 122 | #else
|
|---|
| 123 | #define somId_wpFilterPopupMenu somId_CWMMDataFilewpFilterPopupMenu
|
|---|
| 124 | #endif
|
|---|
| 125 | static somMethodProc* CWMMDataFile_parent_WPDataFile_wpFilterPopupMenu_resolved;
|
|---|
| 126 | #define CWMMDataFile_parent_WPDataFile_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
|
|---|
| 127 | ((( somTD_WPObject_wpFilterPopupMenu ) \
|
|---|
| 128 | CWMMDataFile_parent_WPDataFile_wpFilterPopupMenu_resolved) \
|
|---|
| 129 | (somSelf,ulFlags,hwndCnr,fMultiSelect))
|
|---|
| 130 | #ifndef SOMGD_pmc_WPDataFile_wpFilterPopupMenu
|
|---|
| 131 | #ifdef parent_WPDataFile_wpFilterPopupMenu
|
|---|
| 132 | #undef parent_WPDataFile_wpFilterPopupMenu
|
|---|
| 133 | #define SOMGD_pmc_WPDataFile_wpFilterPopupMenu 1
|
|---|
| 134 | #else
|
|---|
| 135 | #define parent_WPDataFile_wpFilterPopupMenu CWMMDataFile_parent_WPDataFile_wpFilterPopupMenu
|
|---|
| 136 | #endif /* parent_WPDataFile_wpFilterPopupMenu */
|
|---|
| 137 | #endif /* SOMGD_pmc_WPDataFile_wpFilterPopupMenu */
|
|---|
| 138 | #ifndef parent_wpFilterPopupMenu
|
|---|
| 139 | #define parent_wpFilterPopupMenu CWMMDataFile_parent_WPDataFile_wpFilterPopupMenu
|
|---|
| 140 | #endif /* parent_wpFilterPopupMenu */
|
|---|
| 141 | #define CWMMDataFile_parents_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) (\
|
|---|
| 142 | CWMMDataFile_parent_WPDataFile_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect))
|
|---|
| 143 |
|
|---|
| 144 | /*
|
|---|
| 145 | * Overridden method: wpAddSettingsPages
|
|---|
| 146 | */
|
|---|
| 147 | #pragma linkage(cwmmdatafile_wpAddSettingsPages, system)
|
|---|
| 148 | SOM_Scope BOOL SOMLINK cwmmdatafile_wpAddSettingsPages(CWMMDataFile *somSelf,
|
|---|
| 149 | HWND hwndNotebook);
|
|---|
| 150 | static char *somMN_CWMMDataFilewpAddSettingsPages = "WPObject::wpAddSettingsPages";
|
|---|
| 151 | static somId somId_CWMMDataFilewpAddSettingsPages = &somMN_CWMMDataFilewpAddSettingsPages;
|
|---|
| 152 | #ifdef somId_wpAddSettingsPages
|
|---|
| 153 | #undef somId_wpAddSettingsPages
|
|---|
| 154 | #else
|
|---|
| 155 | #define somId_wpAddSettingsPages somId_CWMMDataFilewpAddSettingsPages
|
|---|
| 156 | #endif
|
|---|
| 157 | static somMethodProc* CWMMDataFile_parent_WPDataFile_wpAddSettingsPages_resolved;
|
|---|
| 158 | #define CWMMDataFile_parent_WPDataFile_wpAddSettingsPages(somSelf,hwndNotebook) \
|
|---|
| 159 | ((( somTD_WPObject_wpAddSettingsPages ) \
|
|---|
| 160 | CWMMDataFile_parent_WPDataFile_wpAddSettingsPages_resolved) \
|
|---|
| 161 | (somSelf,hwndNotebook))
|
|---|
| 162 | #ifndef SOMGD_pmc_WPDataFile_wpAddSettingsPages
|
|---|
| 163 | #ifdef parent_WPDataFile_wpAddSettingsPages
|
|---|
| 164 | #undef parent_WPDataFile_wpAddSettingsPages
|
|---|
| 165 | #define SOMGD_pmc_WPDataFile_wpAddSettingsPages 1
|
|---|
| 166 | #else
|
|---|
| 167 | #define parent_WPDataFile_wpAddSettingsPages CWMMDataFile_parent_WPDataFile_wpAddSettingsPages
|
|---|
| 168 | #endif /* parent_WPDataFile_wpAddSettingsPages */
|
|---|
| 169 | #endif /* SOMGD_pmc_WPDataFile_wpAddSettingsPages */
|
|---|
| 170 | #ifndef parent_wpAddSettingsPages
|
|---|
| 171 | #define parent_wpAddSettingsPages CWMMDataFile_parent_WPDataFile_wpAddSettingsPages
|
|---|
| 172 | #endif /* parent_wpAddSettingsPages */
|
|---|
| 173 | #define CWMMDataFile_parents_wpAddSettingsPages(somSelf,hwndNotebook) (\
|
|---|
| 174 | CWMMDataFile_parent_WPDataFile_wpAddSettingsPages(somSelf,hwndNotebook))
|
|---|
| 175 |
|
|---|
| 176 | /*
|
|---|
| 177 | * Overridden method: wpModifyPopupMenu
|
|---|
| 178 | */
|
|---|
| 179 | #pragma linkage(cwmmdatafile_wpModifyPopupMenu, system)
|
|---|
| 180 | SOM_Scope BOOL SOMLINK cwmmdatafile_wpModifyPopupMenu(CWMMDataFile *somSelf,
|
|---|
| 181 | HWND hwndMenu,
|
|---|
| 182 | HWND hwndCnr,
|
|---|
| 183 | ULONG iPosition);
|
|---|
| 184 | static char *somMN_CWMMDataFilewpModifyPopupMenu = "WPObject::wpModifyPopupMenu";
|
|---|
| 185 | static somId somId_CWMMDataFilewpModifyPopupMenu = &somMN_CWMMDataFilewpModifyPopupMenu;
|
|---|
| 186 | #ifdef somId_wpModifyPopupMenu
|
|---|
| 187 | #undef somId_wpModifyPopupMenu
|
|---|
| 188 | #else
|
|---|
| 189 | #define somId_wpModifyPopupMenu somId_CWMMDataFilewpModifyPopupMenu
|
|---|
| 190 | #endif
|
|---|
| 191 | static somMethodProc* CWMMDataFile_parent_WPDataFile_wpModifyPopupMenu_resolved;
|
|---|
| 192 | #define CWMMDataFile_parent_WPDataFile_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
|
|---|
| 193 | ((( somTD_WPObject_wpModifyPopupMenu ) \
|
|---|
| 194 | CWMMDataFile_parent_WPDataFile_wpModifyPopupMenu_resolved) \
|
|---|
| 195 | (somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 196 | #ifndef SOMGD_pmc_WPDataFile_wpModifyPopupMenu
|
|---|
| 197 | #ifdef parent_WPDataFile_wpModifyPopupMenu
|
|---|
| 198 | #undef parent_WPDataFile_wpModifyPopupMenu
|
|---|
| 199 | #define SOMGD_pmc_WPDataFile_wpModifyPopupMenu 1
|
|---|
| 200 | #else
|
|---|
| 201 | #define parent_WPDataFile_wpModifyPopupMenu CWMMDataFile_parent_WPDataFile_wpModifyPopupMenu
|
|---|
| 202 | #endif /* parent_WPDataFile_wpModifyPopupMenu */
|
|---|
| 203 | #endif /* SOMGD_pmc_WPDataFile_wpModifyPopupMenu */
|
|---|
| 204 | #ifndef parent_wpModifyPopupMenu
|
|---|
| 205 | #define parent_wpModifyPopupMenu CWMMDataFile_parent_WPDataFile_wpModifyPopupMenu
|
|---|
| 206 | #endif /* parent_wpModifyPopupMenu */
|
|---|
| 207 | #define CWMMDataFile_parents_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) (\
|
|---|
| 208 | CWMMDataFile_parent_WPDataFile_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 209 |
|
|---|
| 210 | /*
|
|---|
| 211 | * Overridden method: wpSetTitle
|
|---|
| 212 | */
|
|---|
| 213 | #pragma linkage(cwmmdatafile_wpSetTitle, system)
|
|---|
| 214 | SOM_Scope BOOL SOMLINK cwmmdatafile_wpSetTitle(CWMMDataFile *somSelf,
|
|---|
| 215 | PSZ pszNewTitle);
|
|---|
| 216 | static char *somMN_CWMMDataFilewpSetTitle = "WPObject::wpSetTitle";
|
|---|
| 217 | static somId somId_CWMMDataFilewpSetTitle = &somMN_CWMMDataFilewpSetTitle;
|
|---|
| 218 | #ifdef somId_wpSetTitle
|
|---|
| 219 | #undef somId_wpSetTitle
|
|---|
| 220 | #else
|
|---|
| 221 | #define somId_wpSetTitle somId_CWMMDataFilewpSetTitle
|
|---|
| 222 | #endif
|
|---|
| 223 | static somMethodProc* CWMMDataFile_parent_WPDataFile_wpSetTitle_resolved;
|
|---|
| 224 | #define CWMMDataFile_parent_WPDataFile_wpSetTitle(somSelf,pszNewTitle) \
|
|---|
| 225 | ((( somTD_WPObject_wpSetTitle ) \
|
|---|
| 226 | CWMMDataFile_parent_WPDataFile_wpSetTitle_resolved) \
|
|---|
| 227 | (somSelf,pszNewTitle))
|
|---|
| 228 | #ifndef SOMGD_pmc_WPDataFile_wpSetTitle
|
|---|
| 229 | #ifdef parent_WPDataFile_wpSetTitle
|
|---|
| 230 | #undef parent_WPDataFile_wpSetTitle
|
|---|
| 231 | #define SOMGD_pmc_WPDataFile_wpSetTitle 1
|
|---|
| 232 | #else
|
|---|
| 233 | #define parent_WPDataFile_wpSetTitle CWMMDataFile_parent_WPDataFile_wpSetTitle
|
|---|
| 234 | #endif /* parent_WPDataFile_wpSetTitle */
|
|---|
| 235 | #endif /* SOMGD_pmc_WPDataFile_wpSetTitle */
|
|---|
| 236 | #ifndef parent_wpSetTitle
|
|---|
| 237 | #define parent_wpSetTitle CWMMDataFile_parent_WPDataFile_wpSetTitle
|
|---|
| 238 | #endif /* parent_wpSetTitle */
|
|---|
| 239 | #define CWMMDataFile_parents_wpSetTitle(somSelf,pszNewTitle) (\
|
|---|
| 240 | CWMMDataFile_parent_WPDataFile_wpSetTitle(somSelf,pszNewTitle))
|
|---|
| 241 |
|
|---|
| 242 | /*
|
|---|
| 243 | * Overridden method: wpQueryTitle
|
|---|
| 244 | */
|
|---|
| 245 | #pragma linkage(cwmmdatafile_wpQueryTitle, system)
|
|---|
| 246 | SOM_Scope PSZ SOMLINK cwmmdatafile_wpQueryTitle(CWMMDataFile *somSelf);
|
|---|
| 247 | static char *somMN_CWMMDataFilewpQueryTitle = "WPObject::wpQueryTitle";
|
|---|
| 248 | static somId somId_CWMMDataFilewpQueryTitle = &somMN_CWMMDataFilewpQueryTitle;
|
|---|
| 249 | #ifdef somId_wpQueryTitle
|
|---|
| 250 | #undef somId_wpQueryTitle
|
|---|
| 251 | #else
|
|---|
| 252 | #define somId_wpQueryTitle somId_CWMMDataFilewpQueryTitle
|
|---|
| 253 | #endif
|
|---|
| 254 | static somMethodProc* CWMMDataFile_parent_WPDataFile_wpQueryTitle_resolved;
|
|---|
| 255 | #define CWMMDataFile_parent_WPDataFile_wpQueryTitle(somSelf) \
|
|---|
| 256 | ((( somTD_WPObject_wpQueryTitle ) \
|
|---|
| 257 | CWMMDataFile_parent_WPDataFile_wpQueryTitle_resolved) \
|
|---|
| 258 | (somSelf))
|
|---|
| 259 | #ifndef SOMGD_pmc_WPDataFile_wpQueryTitle
|
|---|
| 260 | #ifdef parent_WPDataFile_wpQueryTitle
|
|---|
| 261 | #undef parent_WPDataFile_wpQueryTitle
|
|---|
| 262 | #define SOMGD_pmc_WPDataFile_wpQueryTitle 1
|
|---|
| 263 | #else
|
|---|
| 264 | #define parent_WPDataFile_wpQueryTitle CWMMDataFile_parent_WPDataFile_wpQueryTitle
|
|---|
| 265 | #endif /* parent_WPDataFile_wpQueryTitle */
|
|---|
| 266 | #endif /* SOMGD_pmc_WPDataFile_wpQueryTitle */
|
|---|
| 267 | #ifndef parent_wpQueryTitle
|
|---|
| 268 | #define parent_wpQueryTitle CWMMDataFile_parent_WPDataFile_wpQueryTitle
|
|---|
| 269 | #endif /* parent_wpQueryTitle */
|
|---|
| 270 | #define CWMMDataFile_parents_wpQueryTitle(somSelf) (\
|
|---|
| 271 | CWMMDataFile_parent_WPDataFile_wpQueryTitle(somSelf))
|
|---|
| 272 |
|
|---|
| 273 | /*
|
|---|
| 274 | * Initialize the class data structure
|
|---|
| 275 | */
|
|---|
| 276 | SOMEXTERN struct CWMMDataFileClassDataStructure SOMDLINK CWMMDataFileClassData = {(SOMAny *) NULL};
|
|---|
| 277 |
|
|---|
| 278 | /*
|
|---|
| 279 | * Define the C class data structure
|
|---|
| 280 | */
|
|---|
| 281 | SOMEXTERN struct CWMMDataFileCClassDataStructure SOMDLINK CWMMDataFileCClassData = {(somMethodTabs) NULL};
|
|---|
| 282 |
|
|---|
| 283 | /*
|
|---|
| 284 | * New Method: cwmmSetObjWindowProc
|
|---|
| 285 | */
|
|---|
| 286 | #pragma linkage(cwmmdatafile_cwmmSetObjWindowProc, system)
|
|---|
| 287 | SOM_Scope PFNWP SOMLINK cwmmdatafile_cwmmSetObjWindowProc(CWMMDataFile *somSelf,
|
|---|
| 288 | PFNWP pObjectProc);
|
|---|
| 289 | #ifndef somMN_cwmmSetObjWindowProc_defined
|
|---|
| 290 | #define somMN_cwmmSetObjWindowProc_defined
|
|---|
| 291 | static char *somMN_cwmmSetObjWindowProc = "cwmmSetObjWindowProc";
|
|---|
| 292 | static somId somId_cwmmSetObjWindowProc = &somMN_cwmmSetObjWindowProc;
|
|---|
| 293 | #endif /* somMN_cwmmSetObjWindowProc_defined */
|
|---|
| 294 | #ifndef somDS_cwmmSetObjWindowProc_defined
|
|---|
| 295 | #define somDS_cwmmSetObjWindowProc_defined
|
|---|
| 296 | static char *somDS_cwmmSetObjWindowProc = "::CWMMDataFile::cwmmSetObjWindowProc";
|
|---|
| 297 | static somId somDI_cwmmSetObjWindowProc = &somDS_cwmmSetObjWindowProc;
|
|---|
| 298 | #endif /* somDS_cwmmSetObjWindowProc_defined */
|
|---|
| 299 | #define cwmmSetObjWindowProc_somApRdDefault
|
|---|
| 300 |
|
|---|
| 301 | /*
|
|---|
| 302 | * New Method: cwmmQueryObjWindowProc
|
|---|
| 303 | */
|
|---|
| 304 | #pragma linkage(cwmmdatafile_cwmmQueryObjWindowProc, system)
|
|---|
| 305 | SOM_Scope PFNWP SOMLINK cwmmdatafile_cwmmQueryObjWindowProc(CWMMDataFile *somSelf);
|
|---|
| 306 | #ifndef somMN_cwmmQueryObjWindowProc_defined
|
|---|
| 307 | #define somMN_cwmmQueryObjWindowProc_defined
|
|---|
| 308 | static char *somMN_cwmmQueryObjWindowProc = "cwmmQueryObjWindowProc";
|
|---|
| 309 | static somId somId_cwmmQueryObjWindowProc = &somMN_cwmmQueryObjWindowProc;
|
|---|
| 310 | #endif /* somMN_cwmmQueryObjWindowProc_defined */
|
|---|
| 311 | #ifndef somDS_cwmmQueryObjWindowProc_defined
|
|---|
| 312 | #define somDS_cwmmQueryObjWindowProc_defined
|
|---|
| 313 | static char *somDS_cwmmQueryObjWindowProc = "::CWMMDataFile::cwmmQueryObjWindowProc";
|
|---|
| 314 | static somId somDI_cwmmQueryObjWindowProc = &somDS_cwmmQueryObjWindowProc;
|
|---|
| 315 | #endif /* somDS_cwmmQueryObjWindowProc_defined */
|
|---|
| 316 | #define cwmmQueryObjWindowProc_somApRdDefault
|
|---|
| 317 |
|
|---|
| 318 | /*
|
|---|
| 319 | * New Method: cwmmSetRecordTitles
|
|---|
| 320 | */
|
|---|
| 321 | #pragma linkage(cwmmdatafile_cwmmSetRecordTitles, system)
|
|---|
| 322 | SOM_Scope BOOL SOMLINK cwmmdatafile_cwmmSetRecordTitles(CWMMDataFile *somSelf,
|
|---|
| 323 | PSZ pTitle,
|
|---|
| 324 | BOOL bAddToTitle);
|
|---|
| 325 | #ifndef somMN_cwmmSetRecordTitles_defined
|
|---|
| 326 | #define somMN_cwmmSetRecordTitles_defined
|
|---|
| 327 | static char *somMN_cwmmSetRecordTitles = "cwmmSetRecordTitles";
|
|---|
| 328 | static somId somId_cwmmSetRecordTitles = &somMN_cwmmSetRecordTitles;
|
|---|
| 329 | #endif /* somMN_cwmmSetRecordTitles_defined */
|
|---|
| 330 | #ifndef somDS_cwmmSetRecordTitles_defined
|
|---|
| 331 | #define somDS_cwmmSetRecordTitles_defined
|
|---|
| 332 | static char *somDS_cwmmSetRecordTitles = "::CWMMDataFile::cwmmSetRecordTitles";
|
|---|
| 333 | static somId somDI_cwmmSetRecordTitles = &somDS_cwmmSetRecordTitles;
|
|---|
| 334 | #endif /* somDS_cwmmSetRecordTitles_defined */
|
|---|
| 335 | #define cwmmSetRecordTitles_somApRdDefault
|
|---|
| 336 |
|
|---|
| 337 | /*
|
|---|
| 338 | * Routines and Structures to create the class object
|
|---|
| 339 | */
|
|---|
| 340 |
|
|---|
| 341 |
|
|---|
| 342 | /*
|
|---|
| 343 | * Declare the Static Methods table.
|
|---|
| 344 | */
|
|---|
| 345 | static somStaticMethod_t CWMMDataFileSM[] = {
|
|---|
| 346 | { &CWMMDataFileClassData.cwmmSetObjWindowProc,
|
|---|
| 347 | &somId_cwmmSetObjWindowProc,
|
|---|
| 348 | &somDI_cwmmSetObjWindowProc,
|
|---|
| 349 | (somMethodProc *) cwmmdatafile_cwmmSetObjWindowProc,
|
|---|
| 350 | (somMethodProc *)((void*)-1),
|
|---|
| 351 | #ifdef cwmmSetObjWindowProc_somApRdDefault
|
|---|
| 352 | 0},
|
|---|
| 353 | #else
|
|---|
| 354 | (somMethodProc *) ((void*)&cwmmSetObjWindowProcStubs) },
|
|---|
| 355 | #endif
|
|---|
| 356 | { &CWMMDataFileClassData.cwmmQueryObjWindowProc,
|
|---|
| 357 | &somId_cwmmQueryObjWindowProc,
|
|---|
| 358 | &somDI_cwmmQueryObjWindowProc,
|
|---|
| 359 | (somMethodProc *) cwmmdatafile_cwmmQueryObjWindowProc,
|
|---|
| 360 | (somMethodProc *)((void*)-1),
|
|---|
| 361 | #ifdef cwmmQueryObjWindowProc_somApRdDefault
|
|---|
| 362 | 0},
|
|---|
| 363 | #else
|
|---|
| 364 | (somMethodProc *) ((void*)&cwmmQueryObjWindowProcStubs) },
|
|---|
| 365 | #endif
|
|---|
| 366 | { &CWMMDataFileClassData.cwmmSetRecordTitles,
|
|---|
| 367 | &somId_cwmmSetRecordTitles,
|
|---|
| 368 | &somDI_cwmmSetRecordTitles,
|
|---|
| 369 | (somMethodProc *) cwmmdatafile_cwmmSetRecordTitles,
|
|---|
| 370 | (somMethodProc *)((void*)-1),
|
|---|
| 371 | #ifdef cwmmSetRecordTitles_somApRdDefault
|
|---|
| 372 | 0},
|
|---|
| 373 | #else
|
|---|
| 374 | (somMethodProc *) ((void*)&cwmmSetRecordTitlesStubs) },
|
|---|
| 375 | #endif
|
|---|
| 376 | };
|
|---|
| 377 |
|
|---|
| 378 |
|
|---|
| 379 | /*
|
|---|
| 380 | * Declare the Override Methods table.
|
|---|
| 381 | */
|
|---|
| 382 | static somOverrideMethod_t CWMMDataFileOM[] = {
|
|---|
| 383 | { &somId_CWMMDataFilewpFilterPopupMenu,
|
|---|
| 384 | (somMethodProc *) cwmmdatafile_wpFilterPopupMenu },
|
|---|
| 385 | { &somId_CWMMDataFilewpAddSettingsPages,
|
|---|
| 386 | (somMethodProc *) cwmmdatafile_wpAddSettingsPages },
|
|---|
| 387 | { &somId_CWMMDataFilewpModifyPopupMenu,
|
|---|
| 388 | (somMethodProc *) cwmmdatafile_wpModifyPopupMenu },
|
|---|
| 389 | { &somId_CWMMDataFilewpSetTitle,
|
|---|
| 390 | (somMethodProc *) cwmmdatafile_wpSetTitle },
|
|---|
| 391 | { &somId_CWMMDataFilewpQueryTitle,
|
|---|
| 392 | (somMethodProc *) cwmmdatafile_wpQueryTitle },
|
|---|
| 393 | };
|
|---|
| 394 |
|
|---|
| 395 |
|
|---|
| 396 | /*
|
|---|
| 397 | * Initializers for class Ids
|
|---|
| 398 | */
|
|---|
| 399 | static char * somCN_CWMMDataFile = "CWMMDataFile";
|
|---|
| 400 | #ifndef somEMC_M_CWMMDataFile_defined
|
|---|
| 401 | #define somEMC_M_CWMMDataFile_defined
|
|---|
| 402 | static char * somEMC_M_CWMMDataFile = "M_CWMMDataFile";
|
|---|
| 403 | #endif
|
|---|
| 404 | static char * somPCN_CWMMDataFile_WPDataFile = "WPDataFile";
|
|---|
| 405 |
|
|---|
| 406 | static somId somPCCWMMDataFile[] = {
|
|---|
| 407 | &somPCN_CWMMDataFile_WPDataFile,
|
|---|
| 408 | };
|
|---|
| 409 |
|
|---|
| 410 | static somStaticClassInfo CWMMDataFileSCI = {
|
|---|
| 411 | 4, 3, 5, 0, 0, 0,
|
|---|
| 412 | CWMMDataFile_MajorVersion, CWMMDataFile_MinorVersion,
|
|---|
| 413 | sizeof(CWMMDataFileData), CWMMDataFile_MaxNoMethods, 1,
|
|---|
| 414 | &somCN_CWMMDataFile,
|
|---|
| 415 | &somEMC_M_CWMMDataFile, 0,
|
|---|
| 416 | somPCCWMMDataFile,
|
|---|
| 417 | (somClassDataStructure *) &CWMMDataFileClassData,
|
|---|
| 418 | (somCClassDataStructure *) &CWMMDataFileCClassData,
|
|---|
| 419 | CWMMDataFileSM, CWMMDataFileOM,
|
|---|
| 420 | (char *) NULL,
|
|---|
| 421 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 422 | (somVarargsFuncs_t *) NULL,
|
|---|
| 423 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 424 | 4, /* type code alignment */
|
|---|
| 425 | -1, /* use parents as directinitclasses */
|
|---|
| 426 | 0, /* no explicit directinitclasses */
|
|---|
| 427 | 0, /* number of general method entries */
|
|---|
| 428 | (somMethods_t *) NULL,
|
|---|
| 429 | 0, /* no public data offset */
|
|---|
| 430 | 0, /* no sci development level check */
|
|---|
| 431 | 0, /* number of SelectInheritedMethods */
|
|---|
| 432 | 0, /* no SelectInheritedMethods */
|
|---|
| 433 | 3, /* number of classdata entries */
|
|---|
| 434 | 0, /* no entry names provided currently */
|
|---|
| 435 | 0, /* number of migrated methods */
|
|---|
| 436 | 0, /* no migrated method implementations */
|
|---|
| 437 | 0, /* number of initializers */
|
|---|
| 438 | 0, /* no initializers */
|
|---|
| 439 | 0, /* used to identify a DTS class */
|
|---|
| 440 | 0, /* used to register dynamically computed info */
|
|---|
| 441 | };
|
|---|
| 442 |
|
|---|
| 443 |
|
|---|
| 444 | /*
|
|---|
| 445 | * Class Creation and Initialization
|
|---|
| 446 | */
|
|---|
| 447 |
|
|---|
| 448 | SOMClass * SOMLINK CWMMDataFileNewClass (integer4 somtmajorVersion,
|
|---|
| 449 | integer4 somtminorVersion)
|
|---|
| 450 | {
|
|---|
| 451 | SOMClass *result;
|
|---|
| 452 | WPDataFileNewClass(WPDataFile_MajorVersion,WPDataFile_MinorVersion); /* static reference */
|
|---|
| 453 | /* Explicit metaclass, so get it */
|
|---|
| 454 | M_CWMMDataFileNewClass(M_CWMMDataFile_MajorVersion,M_CWMMDataFile_MinorVersion); /* static reference */
|
|---|
| 455 | result = somBuildClass(1,&CWMMDataFileSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 456 | CWMMDataFile_parent_WPDataFile_wpQueryTitle_resolved =
|
|---|
| 457 | somParentNumResolve(CWMMDataFileCClassData.parentMtab, 1, WPObjectClassData.wpQueryTitle);
|
|---|
| 458 | CWMMDataFile_parent_WPDataFile_wpSetTitle_resolved =
|
|---|
| 459 | somParentNumResolve(CWMMDataFileCClassData.parentMtab, 1, WPObjectClassData.wpSetTitle);
|
|---|
| 460 | CWMMDataFile_parent_WPDataFile_wpModifyPopupMenu_resolved =
|
|---|
| 461 | somParentNumResolve(CWMMDataFileCClassData.parentMtab, 1, WPObjectClassData.wpModifyPopupMenu);
|
|---|
| 462 | CWMMDataFile_parent_WPDataFile_wpAddSettingsPages_resolved =
|
|---|
| 463 | somParentNumResolve(CWMMDataFileCClassData.parentMtab, 1, WPObjectClassData.wpAddSettingsPages);
|
|---|
| 464 | CWMMDataFile_parent_WPDataFile_wpFilterPopupMenu_resolved =
|
|---|
| 465 | somParentNumResolve(CWMMDataFileCClassData.parentMtab, 1, WPObjectClassData.wpFilterPopupMenu);
|
|---|
| 466 | return result;
|
|---|
| 467 | }
|
|---|
| 468 |
|
|---|
| 469 | /*
|
|---|
| 470 | * Functions for attributes.
|
|---|
| 471 | */
|
|---|
| 472 |
|
|---|
| 473 | #endif /* Primary Implementation Support */
|
|---|
| 474 | #pragma checkout(resume)
|
|---|
| 475 |
|
|---|
| 476 | #endif /* SOM_CWMMDataFile_ih */
|
|---|
| 477 |
|
|---|
| 478 | /*
|
|---|
| 479 | * -- By default, for classes declared using IDL,
|
|---|
| 480 | * -- this emitter doesn't define redispatch/apply stubs.
|
|---|
| 481 | * -- Instead, it requests that the SOM kernel produce them.
|
|---|
| 482 | * -- To override this default, use the "notc" modifier.
|
|---|
| 483 | */
|
|---|
| 484 |
|
|---|
| 485 | #ifndef SOM_M_CWMMDataFile_ih
|
|---|
| 486 | #define SOM_M_CWMMDataFile_ih
|
|---|
| 487 |
|
|---|
| 488 | #pragma checkout(suspend)
|
|---|
| 489 |
|
|---|
| 490 | #include <cwmmdataf.h>
|
|---|
| 491 |
|
|---|
| 492 | /*
|
|---|
| 493 | * Set the scope of methods functions
|
|---|
| 494 | */
|
|---|
| 495 | #ifndef SOM_Scope
|
|---|
| 496 | #ifdef __cplusplus
|
|---|
| 497 | #define SOM_Scope extern "C"
|
|---|
| 498 | #else
|
|---|
| 499 | #define SOM_Scope extern
|
|---|
| 500 | #endif /* __cplusplus */
|
|---|
| 501 | #endif /* SOM_Scope */
|
|---|
| 502 |
|
|---|
| 503 | #ifndef SOM_CurrentClass
|
|---|
| 504 | #define SOM_CurrentClass M_CWMMDataFileCClassData.parentMtab
|
|---|
| 505 | #endif /* SOM_CurrentClass */
|
|---|
| 506 |
|
|---|
| 507 | #define M_CWMMDataFile_MaxNoMethods 0
|
|---|
| 508 |
|
|---|
| 509 | /*
|
|---|
| 510 | * -- Instance data
|
|---|
| 511 | */
|
|---|
| 512 | typedef struct {
|
|---|
| 513 | HWND hwndAudioWorker;
|
|---|
| 514 | HWND hwndStatus;
|
|---|
| 515 | BOOL bNoExtendedIconTitles;
|
|---|
| 516 | } M_CWMMDataFileData;
|
|---|
| 517 |
|
|---|
| 518 | /*
|
|---|
| 519 | * GetData macro
|
|---|
| 520 | */
|
|---|
| 521 |
|
|---|
| 522 | /*
|
|---|
| 523 | * -- This emitter treats Data Tokens as Thunks by default.
|
|---|
| 524 | * -- Use the sc modifier "nothunks" to override this default.
|
|---|
| 525 | */
|
|---|
| 526 | typedef M_CWMMDataFileData* SOMLINK somTP_M_CWMMDataFile_DataThunk(void*);
|
|---|
| 527 | #ifdef __IBMC__
|
|---|
| 528 | #pragma linkage(somTP_M_CWMMDataFile_DataThunk, system)
|
|---|
| 529 | #endif
|
|---|
| 530 | typedef somTP_M_CWMMDataFile_DataThunk *somTD_M_CWMMDataFile_DataThunk;
|
|---|
| 531 |
|
|---|
| 532 | #define M_CWMMDataFileGetData(somSelf) \
|
|---|
| 533 | (((somTD_M_CWMMDataFile_DataThunk)(M_CWMMDataFileCClassData.instanceDataToken))(somSelf))
|
|---|
| 534 |
|
|---|
| 535 | /*
|
|---|
| 536 | * Instance variable and staticdata access macros
|
|---|
| 537 | */
|
|---|
| 538 | #ifndef NO_VARIABLE_MACROS
|
|---|
| 539 | #define _hwndAudioWorker (somThis->hwndAudioWorker)
|
|---|
| 540 | #define _hwndStatus (somThis->hwndStatus)
|
|---|
| 541 | #define _bNoExtendedIconTitles (somThis->bNoExtendedIconTitles)
|
|---|
| 542 | #endif
|
|---|
| 543 |
|
|---|
| 544 | /*
|
|---|
| 545 | * Primary Implementation File Support
|
|---|
| 546 | */
|
|---|
| 547 | #if (defined(CWMMDataFile_Class_Source) || defined(M_CWMMDataFile_Class_Source) || defined(SOM_Module_cwmmdataf_Source))
|
|---|
| 548 |
|
|---|
| 549 | /*
|
|---|
| 550 | * Trace/Debug macro
|
|---|
| 551 | */
|
|---|
| 552 | #ifndef M_CWMMDataFileMethodDebug
|
|---|
| 553 | #define M_CWMMDataFileMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 554 | #endif /* M_CWMMDataFileMethodDebug */
|
|---|
| 555 |
|
|---|
| 556 | /*
|
|---|
| 557 | * Current class macros for Instance and Meta classes.
|
|---|
| 558 | */
|
|---|
| 559 |
|
|---|
| 560 | /*
|
|---|
| 561 | * Overridden method: wpclsQueryTitle
|
|---|
| 562 | */
|
|---|
| 563 | #pragma linkage(cwmmdatafileM_wpclsQueryTitle, system)
|
|---|
| 564 | SOM_Scope PSZ SOMLINK cwmmdatafileM_wpclsQueryTitle(M_CWMMDataFile *somSelf);
|
|---|
| 565 | static char *somMN_M_CWMMDataFilewpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
|
|---|
| 566 | static somId somId_M_CWMMDataFilewpclsQueryTitle = &somMN_M_CWMMDataFilewpclsQueryTitle;
|
|---|
| 567 | #ifdef somId_wpclsQueryTitle
|
|---|
| 568 | #undef somId_wpclsQueryTitle
|
|---|
| 569 | #else
|
|---|
| 570 | #define somId_wpclsQueryTitle somId_M_CWMMDataFilewpclsQueryTitle
|
|---|
| 571 | #endif
|
|---|
| 572 | static somMethodProc* M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryTitle_resolved;
|
|---|
| 573 | #define M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryTitle(somSelf) \
|
|---|
| 574 | ((( somTD_M_WPObject_wpclsQueryTitle ) \
|
|---|
| 575 | M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryTitle_resolved) \
|
|---|
| 576 | (somSelf))
|
|---|
| 577 | #ifndef SOMGD_pmc_M_WPDataFile_wpclsQueryTitle
|
|---|
| 578 | #ifdef parent_M_WPDataFile_wpclsQueryTitle
|
|---|
| 579 | #undef parent_M_WPDataFile_wpclsQueryTitle
|
|---|
| 580 | #define SOMGD_pmc_M_WPDataFile_wpclsQueryTitle 1
|
|---|
| 581 | #else
|
|---|
| 582 | #define parent_M_WPDataFile_wpclsQueryTitle M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryTitle
|
|---|
| 583 | #endif /* parent_M_WPDataFile_wpclsQueryTitle */
|
|---|
| 584 | #endif /* SOMGD_pmc_M_WPDataFile_wpclsQueryTitle */
|
|---|
| 585 | #ifndef parent_wpclsQueryTitle
|
|---|
| 586 | #define parent_wpclsQueryTitle M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryTitle
|
|---|
| 587 | #endif /* parent_wpclsQueryTitle */
|
|---|
| 588 | #define M_CWMMDataFile_parents_wpclsQueryTitle(somSelf) (\
|
|---|
| 589 | M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryTitle(somSelf))
|
|---|
| 590 |
|
|---|
| 591 | /*
|
|---|
| 592 | * Overridden method: wpclsQueryIconData
|
|---|
| 593 | */
|
|---|
| 594 | #pragma linkage(cwmmdatafileM_wpclsQueryIconData, system)
|
|---|
| 595 | SOM_Scope ULONG SOMLINK cwmmdatafileM_wpclsQueryIconData(M_CWMMDataFile *somSelf,
|
|---|
| 596 | PICONINFO pIconInfo);
|
|---|
| 597 | static char *somMN_M_CWMMDataFilewpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
|
|---|
| 598 | static somId somId_M_CWMMDataFilewpclsQueryIconData = &somMN_M_CWMMDataFilewpclsQueryIconData;
|
|---|
| 599 | #ifdef somId_wpclsQueryIconData
|
|---|
| 600 | #undef somId_wpclsQueryIconData
|
|---|
| 601 | #else
|
|---|
| 602 | #define somId_wpclsQueryIconData somId_M_CWMMDataFilewpclsQueryIconData
|
|---|
| 603 | #endif
|
|---|
| 604 | static somMethodProc* M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryIconData_resolved;
|
|---|
| 605 | #define M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryIconData(somSelf,pIconInfo) \
|
|---|
| 606 | ((( somTD_M_WPObject_wpclsQueryIconData ) \
|
|---|
| 607 | M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryIconData_resolved) \
|
|---|
| 608 | (somSelf,pIconInfo))
|
|---|
| 609 | #ifndef SOMGD_pmc_M_WPDataFile_wpclsQueryIconData
|
|---|
| 610 | #ifdef parent_M_WPDataFile_wpclsQueryIconData
|
|---|
| 611 | #undef parent_M_WPDataFile_wpclsQueryIconData
|
|---|
| 612 | #define SOMGD_pmc_M_WPDataFile_wpclsQueryIconData 1
|
|---|
| 613 | #else
|
|---|
| 614 | #define parent_M_WPDataFile_wpclsQueryIconData M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryIconData
|
|---|
| 615 | #endif /* parent_M_WPDataFile_wpclsQueryIconData */
|
|---|
| 616 | #endif /* SOMGD_pmc_M_WPDataFile_wpclsQueryIconData */
|
|---|
| 617 | #ifndef parent_wpclsQueryIconData
|
|---|
| 618 | #define parent_wpclsQueryIconData M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryIconData
|
|---|
| 619 | #endif /* parent_wpclsQueryIconData */
|
|---|
| 620 | #define M_CWMMDataFile_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
|
|---|
| 621 | M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryIconData(somSelf,pIconInfo))
|
|---|
| 622 |
|
|---|
| 623 | /*
|
|---|
| 624 | * Overridden method: wpclsInitData
|
|---|
| 625 | */
|
|---|
| 626 | #pragma linkage(cwmmdatafileM_wpclsInitData, system)
|
|---|
| 627 | SOM_Scope void SOMLINK cwmmdatafileM_wpclsInitData(M_CWMMDataFile *somSelf);
|
|---|
| 628 | static char *somMN_M_CWMMDataFilewpclsInitData = "M_WPObject::wpclsInitData";
|
|---|
| 629 | static somId somId_M_CWMMDataFilewpclsInitData = &somMN_M_CWMMDataFilewpclsInitData;
|
|---|
| 630 | #ifdef somId_wpclsInitData
|
|---|
| 631 | #undef somId_wpclsInitData
|
|---|
| 632 | #else
|
|---|
| 633 | #define somId_wpclsInitData somId_M_CWMMDataFilewpclsInitData
|
|---|
| 634 | #endif
|
|---|
| 635 | static somMethodProc* M_CWMMDataFile_parent_M_WPDataFile_wpclsInitData_resolved;
|
|---|
| 636 | #define M_CWMMDataFile_parent_M_WPDataFile_wpclsInitData(somSelf) \
|
|---|
| 637 | ((( somTD_M_WPObject_wpclsInitData ) \
|
|---|
| 638 | M_CWMMDataFile_parent_M_WPDataFile_wpclsInitData_resolved) \
|
|---|
| 639 | (somSelf))
|
|---|
| 640 | #ifndef SOMGD_pmc_M_WPDataFile_wpclsInitData
|
|---|
| 641 | #ifdef parent_M_WPDataFile_wpclsInitData
|
|---|
| 642 | #undef parent_M_WPDataFile_wpclsInitData
|
|---|
| 643 | #define SOMGD_pmc_M_WPDataFile_wpclsInitData 1
|
|---|
| 644 | #else
|
|---|
| 645 | #define parent_M_WPDataFile_wpclsInitData M_CWMMDataFile_parent_M_WPDataFile_wpclsInitData
|
|---|
| 646 | #endif /* parent_M_WPDataFile_wpclsInitData */
|
|---|
| 647 | #endif /* SOMGD_pmc_M_WPDataFile_wpclsInitData */
|
|---|
| 648 | #ifndef parent_wpclsInitData
|
|---|
| 649 | #define parent_wpclsInitData M_CWMMDataFile_parent_M_WPDataFile_wpclsInitData
|
|---|
| 650 | #endif /* parent_wpclsInitData */
|
|---|
| 651 | #define M_CWMMDataFile_parents_wpclsInitData(somSelf) (\
|
|---|
| 652 | M_CWMMDataFile_parent_M_WPDataFile_wpclsInitData(somSelf))
|
|---|
| 653 |
|
|---|
| 654 | /*
|
|---|
| 655 | * Overridden method: wpclsUnInitData
|
|---|
| 656 | */
|
|---|
| 657 | #pragma linkage(cwmmdatafileM_wpclsUnInitData, system)
|
|---|
| 658 | SOM_Scope void SOMLINK cwmmdatafileM_wpclsUnInitData(M_CWMMDataFile *somSelf);
|
|---|
| 659 | static char *somMN_M_CWMMDataFilewpclsUnInitData = "M_WPObject::wpclsUnInitData";
|
|---|
| 660 | static somId somId_M_CWMMDataFilewpclsUnInitData = &somMN_M_CWMMDataFilewpclsUnInitData;
|
|---|
| 661 | #ifdef somId_wpclsUnInitData
|
|---|
| 662 | #undef somId_wpclsUnInitData
|
|---|
| 663 | #else
|
|---|
| 664 | #define somId_wpclsUnInitData somId_M_CWMMDataFilewpclsUnInitData
|
|---|
| 665 | #endif
|
|---|
| 666 | static somMethodProc* M_CWMMDataFile_parent_M_WPDataFile_wpclsUnInitData_resolved;
|
|---|
| 667 | #define M_CWMMDataFile_parent_M_WPDataFile_wpclsUnInitData(somSelf) \
|
|---|
| 668 | ((( somTD_M_WPObject_wpclsUnInitData ) \
|
|---|
| 669 | M_CWMMDataFile_parent_M_WPDataFile_wpclsUnInitData_resolved) \
|
|---|
| 670 | (somSelf))
|
|---|
| 671 | #ifndef SOMGD_pmc_M_WPDataFile_wpclsUnInitData
|
|---|
| 672 | #ifdef parent_M_WPDataFile_wpclsUnInitData
|
|---|
| 673 | #undef parent_M_WPDataFile_wpclsUnInitData
|
|---|
| 674 | #define SOMGD_pmc_M_WPDataFile_wpclsUnInitData 1
|
|---|
| 675 | #else
|
|---|
| 676 | #define parent_M_WPDataFile_wpclsUnInitData M_CWMMDataFile_parent_M_WPDataFile_wpclsUnInitData
|
|---|
| 677 | #endif /* parent_M_WPDataFile_wpclsUnInitData */
|
|---|
| 678 | #endif /* SOMGD_pmc_M_WPDataFile_wpclsUnInitData */
|
|---|
| 679 | #ifndef parent_wpclsUnInitData
|
|---|
| 680 | #define parent_wpclsUnInitData M_CWMMDataFile_parent_M_WPDataFile_wpclsUnInitData
|
|---|
| 681 | #endif /* parent_wpclsUnInitData */
|
|---|
| 682 | #define M_CWMMDataFile_parents_wpclsUnInitData(somSelf) (\
|
|---|
| 683 | M_CWMMDataFile_parent_M_WPDataFile_wpclsUnInitData(somSelf))
|
|---|
| 684 |
|
|---|
| 685 | /*
|
|---|
| 686 | * Initialize the class data structure
|
|---|
| 687 | */
|
|---|
| 688 | SOMEXTERN struct M_CWMMDataFileClassDataStructure SOMDLINK M_CWMMDataFileClassData = {(SOMAny *) NULL};
|
|---|
| 689 |
|
|---|
| 690 | /*
|
|---|
| 691 | * Define the C class data structure
|
|---|
| 692 | */
|
|---|
| 693 | SOMEXTERN struct M_CWMMDataFileCClassDataStructure SOMDLINK M_CWMMDataFileCClassData = {(somMethodTabs) NULL};
|
|---|
| 694 |
|
|---|
| 695 | /*
|
|---|
| 696 | * Routines and Structures to create the class object
|
|---|
| 697 | */
|
|---|
| 698 |
|
|---|
| 699 |
|
|---|
| 700 | /*
|
|---|
| 701 | * Declare the Override Methods table.
|
|---|
| 702 | */
|
|---|
| 703 | static somOverrideMethod_t M_CWMMDataFileOM[] = {
|
|---|
| 704 | { &somId_M_CWMMDataFilewpclsQueryTitle,
|
|---|
| 705 | (somMethodProc *) cwmmdatafileM_wpclsQueryTitle },
|
|---|
| 706 | { &somId_M_CWMMDataFilewpclsQueryIconData,
|
|---|
| 707 | (somMethodProc *) cwmmdatafileM_wpclsQueryIconData },
|
|---|
| 708 | { &somId_M_CWMMDataFilewpclsInitData,
|
|---|
| 709 | (somMethodProc *) cwmmdatafileM_wpclsInitData },
|
|---|
| 710 | { &somId_M_CWMMDataFilewpclsUnInitData,
|
|---|
| 711 | (somMethodProc *) cwmmdatafileM_wpclsUnInitData },
|
|---|
| 712 | };
|
|---|
| 713 |
|
|---|
| 714 |
|
|---|
| 715 | /*
|
|---|
| 716 | * Initializers for class Ids
|
|---|
| 717 | */
|
|---|
| 718 | static char * somCN_M_CWMMDataFile = "M_CWMMDataFile";
|
|---|
| 719 | static char * somPCN_M_CWMMDataFile_M_WPDataFile = "M_WPDataFile";
|
|---|
| 720 |
|
|---|
| 721 | static somId somPCM_CWMMDataFile[] = {
|
|---|
| 722 | &somPCN_M_CWMMDataFile_M_WPDataFile,
|
|---|
| 723 | };
|
|---|
| 724 |
|
|---|
| 725 | static somStaticClassInfo M_CWMMDataFileSCI = {
|
|---|
| 726 | 4, 0, 4, 0, 0, 0,
|
|---|
| 727 | M_CWMMDataFile_MajorVersion, M_CWMMDataFile_MinorVersion,
|
|---|
| 728 | sizeof(M_CWMMDataFileData), M_CWMMDataFile_MaxNoMethods, 1,
|
|---|
| 729 | &somCN_M_CWMMDataFile,
|
|---|
| 730 | (somId) NULL, 1,
|
|---|
| 731 | somPCM_CWMMDataFile,
|
|---|
| 732 | (somClassDataStructure *) &M_CWMMDataFileClassData,
|
|---|
| 733 | (somCClassDataStructure *) &M_CWMMDataFileCClassData,
|
|---|
| 734 | (somStaticMethod_t *) NULL, M_CWMMDataFileOM,
|
|---|
| 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 | 0, /* 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 M_CWMMDataFileNewClass (integer4 somtmajorVersion,
|
|---|
| 764 | integer4 somtminorVersion)
|
|---|
| 765 | {
|
|---|
| 766 | SOMClass *result;
|
|---|
| 767 | M_WPDataFileNewClass(M_WPDataFile_MajorVersion,M_WPDataFile_MinorVersion); /* static reference */
|
|---|
| 768 | result = somBuildClass(1,&M_CWMMDataFileSCI, somtmajorVersion, somtminorVersion);
|
|---|
| 769 | M_CWMMDataFile_parent_M_WPDataFile_wpclsUnInitData_resolved =
|
|---|
| 770 | somParentNumResolve(M_CWMMDataFileCClassData.parentMtab, 1, M_WPObjectClassData.wpclsUnInitData);
|
|---|
| 771 | M_CWMMDataFile_parent_M_WPDataFile_wpclsInitData_resolved =
|
|---|
| 772 | somParentNumResolve(M_CWMMDataFileCClassData.parentMtab, 1, M_WPObjectClassData.wpclsInitData);
|
|---|
| 773 | M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryIconData_resolved =
|
|---|
| 774 | somParentNumResolve(M_CWMMDataFileCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
|
|---|
| 775 | M_CWMMDataFile_parent_M_WPDataFile_wpclsQueryTitle_resolved =
|
|---|
| 776 | somParentNumResolve(M_CWMMDataFileCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
|
|---|
| 777 | return result;
|
|---|
| 778 | }
|
|---|
| 779 |
|
|---|
| 780 | /*
|
|---|
| 781 | * Functions for attributes.
|
|---|
| 782 | */
|
|---|
| 783 |
|
|---|
| 784 | #endif /* Primary Implementation Support */
|
|---|
| 785 | #pragma checkout(resume)
|
|---|
| 786 |
|
|---|
| 787 | #endif /* SOM_M_CWMMDataFile_ih */
|
|---|