| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | * This file was generated by the SOM Compiler.
|
|---|
| 4 | * FileName: include\cwmidi.ih.
|
|---|
| 5 | * Generated using:
|
|---|
| 6 | * SOM Precompiler somipc: 2.29.1.7
|
|---|
| 7 | * SOM Emitter emitih: 2.42
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | *
|
|---|
| 12 | * cwmidi.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_CWMIDI_ih
|
|---|
| 24 | #define SOM_CWMIDI_ih
|
|---|
| 25 |
|
|---|
| 26 | #pragma checkout(suspend)
|
|---|
| 27 |
|
|---|
| 28 | #include <cwmidi.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 CWMIDICClassData.parentMtab
|
|---|
| 43 | #endif /* SOM_CurrentClass */
|
|---|
| 44 |
|
|---|
| 45 | #define CWMIDI_MaxNoMethods 0
|
|---|
| 46 |
|
|---|
| 47 | /*
|
|---|
| 48 | * -- Instance data
|
|---|
| 49 | */
|
|---|
| 50 | typedef void CWMIDIData;
|
|---|
| 51 |
|
|---|
| 52 | /*
|
|---|
| 53 | * This class introduces no instance data, so no GetData macro is provided
|
|---|
| 54 | */
|
|---|
| 55 |
|
|---|
| 56 | /*
|
|---|
| 57 | * Primary Implementation File Support
|
|---|
| 58 | */
|
|---|
| 59 | #if (defined(CWMIDI_Class_Source) || defined(SOM_Module_cwmidi_Source))
|
|---|
| 60 |
|
|---|
| 61 | /*
|
|---|
| 62 | * Trace/Debug macro
|
|---|
| 63 | */
|
|---|
| 64 | #ifndef CWMIDIMethodDebug
|
|---|
| 65 | #define CWMIDIMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 66 | #endif /* CWMIDIMethodDebug */
|
|---|
| 67 |
|
|---|
| 68 | /*
|
|---|
| 69 | * Current class macros for Instance and Meta classes.
|
|---|
| 70 | */
|
|---|
| 71 | #undef SOMMeta
|
|---|
| 72 | #define SOMMeta M_CWMIDICClassData.parentMtab
|
|---|
| 73 | #undef SOMInstance
|
|---|
| 74 | #define SOMInstance CWMIDICClassData.parentMtab
|
|---|
| 75 |
|
|---|
| 76 | #ifndef M_CWMIDI_Class_Source
|
|---|
| 77 | #define M_CWMIDI_Class_Source
|
|---|
| 78 | #endif /* M_CWMIDI_Class_Source */
|
|---|
| 79 |
|
|---|
| 80 | /*
|
|---|
| 81 | * Overridden method: wpModifyPopupMenu
|
|---|
| 82 | */
|
|---|
| 83 | #pragma linkage(cwmidi_wpModifyPopupMenu, system)
|
|---|
| 84 | SOM_Scope BOOL SOMLINK cwmidi_wpModifyPopupMenu(CWMIDI *somSelf,
|
|---|
| 85 | HWND hwndMenu,
|
|---|
| 86 | HWND hwndCnr,
|
|---|
| 87 | ULONG iPosition);
|
|---|
| 88 | static char *somMN_CWMIDIwpModifyPopupMenu = "WPObject::wpModifyPopupMenu";
|
|---|
| 89 | static somId somId_CWMIDIwpModifyPopupMenu = &somMN_CWMIDIwpModifyPopupMenu;
|
|---|
| 90 | #ifdef somId_wpModifyPopupMenu
|
|---|
| 91 | #undef somId_wpModifyPopupMenu
|
|---|
| 92 | #else
|
|---|
| 93 | #define somId_wpModifyPopupMenu somId_CWMIDIwpModifyPopupMenu
|
|---|
| 94 | #endif
|
|---|
| 95 | static somMethodProc* CWMIDI_parent_CWAudio_wpModifyPopupMenu_resolved;
|
|---|
| 96 | #define CWMIDI_parent_CWAudio_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
|
|---|
| 97 | ((( somTD_WPObject_wpModifyPopupMenu ) \
|
|---|
| 98 | CWMIDI_parent_CWAudio_wpModifyPopupMenu_resolved) \
|
|---|
| 99 | (somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 100 | #ifndef SOMGD_pmc_CWAudio_wpModifyPopupMenu
|
|---|
| 101 | #ifdef parent_CWAudio_wpModifyPopupMenu
|
|---|
| 102 | #undef parent_CWAudio_wpModifyPopupMenu
|
|---|
| 103 | #define SOMGD_pmc_CWAudio_wpModifyPopupMenu 1
|
|---|
| 104 | #else
|
|---|
| 105 | #define parent_CWAudio_wpModifyPopupMenu CWMIDI_parent_CWAudio_wpModifyPopupMenu
|
|---|
| 106 | #endif /* parent_CWAudio_wpModifyPopupMenu */
|
|---|
| 107 | #endif /* SOMGD_pmc_CWAudio_wpModifyPopupMenu */
|
|---|
| 108 | #ifndef parent_wpModifyPopupMenu
|
|---|
| 109 | #define parent_wpModifyPopupMenu CWMIDI_parent_CWAudio_wpModifyPopupMenu
|
|---|
| 110 | #endif /* parent_wpModifyPopupMenu */
|
|---|
| 111 | #define CWMIDI_parents_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) (\
|
|---|
| 112 | CWMIDI_parent_CWAudio_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition))
|
|---|
| 113 |
|
|---|
| 114 | /*
|
|---|
| 115 | * Overridden method: cwmmAddWaveInformationPage
|
|---|
| 116 | */
|
|---|
| 117 | #pragma linkage(cwmidi_cwmmAddWaveInformationPage, system)
|
|---|
| 118 | SOM_Scope ULONG SOMLINK cwmidi_cwmmAddWaveInformationPage(CWMIDI *somSelf,
|
|---|
| 119 | HWND hwndNotebook);
|
|---|
| 120 | static char *somMN_CWMIDIcwmmAddWaveInformationPage = "CWAudio::cwmmAddWaveInformationPage";
|
|---|
| 121 | static somId somId_CWMIDIcwmmAddWaveInformationPage = &somMN_CWMIDIcwmmAddWaveInformationPage;
|
|---|
| 122 | #ifdef somId_cwmmAddWaveInformationPage
|
|---|
| 123 | #undef somId_cwmmAddWaveInformationPage
|
|---|
| 124 | #else
|
|---|
| 125 | #define somId_cwmmAddWaveInformationPage somId_CWMIDIcwmmAddWaveInformationPage
|
|---|
| 126 | #endif
|
|---|
| 127 | static somMethodProc* CWMIDI_parent_CWAudio_cwmmAddWaveInformationPage_resolved;
|
|---|
| 128 | #define CWMIDI_parent_CWAudio_cwmmAddWaveInformationPage(somSelf,hwndNotebook) \
|
|---|
| 129 | ((( somTD_CWAudio_cwmmAddWaveInformationPage ) \
|
|---|
| 130 | CWMIDI_parent_CWAudio_cwmmAddWaveInformationPage_resolved) \
|
|---|
| 131 | (somSelf,hwndNotebook))
|
|---|
| 132 | #ifndef SOMGD_pmc_CWAudio_cwmmAddWaveInformationPage
|
|---|
| 133 | #ifdef parent_CWAudio_cwmmAddWaveInformationPage
|
|---|
| 134 | #undef parent_CWAudio_cwmmAddWaveInformationPage
|
|---|
| 135 | #define SOMGD_pmc_CWAudio_cwmmAddWaveInformationPage 1
|
|---|
| 136 | #else
|
|---|
| 137 | #define parent_CWAudio_cwmmAddWaveInformationPage CWMIDI_parent_CWAudio_cwmmAddWaveInformationPage
|
|---|
| 138 | #endif /* parent_CWAudio_cwmmAddWaveInformationPage */
|
|---|
| 139 | #endif /* SOMGD_pmc_CWAudio_cwmmAddWaveInformationPage */
|
|---|
| 140 | #ifndef parent_cwmmAddWaveInformationPage
|
|---|
| 141 | #define parent_cwmmAddWaveInformationPage CWMIDI_parent_CWAudio_cwmmAddWaveInformationPage
|
|---|
| 142 | #endif /* parent_cwmmAddWaveInformationPage */
|
|---|
| 143 | #define CWMIDI_parents_cwmmAddWaveInformationPage(somSelf,hwndNotebook) (\
|
|---|
| 144 | CWMIDI_parent_CWAudio_cwmmAddWaveInformationPage(somSelf,hwndNotebook))
|
|---|
| 145 |
|
|---|
| 146 | /*
|
|---|
| 147 | * Initialize the class data structure
|
|---|
| 148 | */
|
|---|
| 149 | SOMEXTERN struct CWMIDIClassDataStructure SOMDLINK CWMIDIClassData = {(SOMAny *) NULL};
|
|---|
| 150 |
|
|---|
| 151 | /*
|
|---|
| 152 | * Define the C class data structure
|
|---|
| 153 | */
|
|---|
| 154 | SOMEXTERN struct CWMIDICClassDataStructure SOMDLINK CWMIDICClassData = {(somMethodTabs) NULL};
|
|---|
| 155 |
|
|---|
| 156 | /*
|
|---|
| 157 | * Routines and Structures to create the class object
|
|---|
| 158 | */
|
|---|
| 159 |
|
|---|
| 160 |
|
|---|
| 161 | /*
|
|---|
| 162 | * Declare the Override Methods table.
|
|---|
| 163 | */
|
|---|
| 164 | static somOverrideMethod_t CWMIDIOM[] = {
|
|---|
| 165 | { &somId_CWMIDIwpModifyPopupMenu,
|
|---|
| 166 | (somMethodProc *) cwmidi_wpModifyPopupMenu },
|
|---|
| 167 | { &somId_CWMIDIcwmmAddWaveInformationPage,
|
|---|
| 168 | (somMethodProc *) cwmidi_cwmmAddWaveInformationPage },
|
|---|
| 169 | };
|
|---|
| 170 |
|
|---|
| 171 |
|
|---|
| 172 | /*
|
|---|
| 173 | * Initializers for class Ids
|
|---|
| 174 | */
|
|---|
| 175 | static char * somCN_CWMIDI = "CWMIDI";
|
|---|
| 176 | #ifndef somEMC_M_CWMIDI_defined
|
|---|
| 177 | #define somEMC_M_CWMIDI_defined
|
|---|
| 178 | static char * somEMC_M_CWMIDI = "M_CWMIDI";
|
|---|
| 179 | #endif
|
|---|
| 180 | static char * somPCN_CWMIDI_CWAudio = "CWAudio";
|
|---|
| 181 |
|
|---|
| 182 | static somId somPCCWMIDI[] = {
|
|---|
| 183 | &somPCN_CWMIDI_CWAudio,
|
|---|
| 184 | };
|
|---|
| 185 |
|
|---|
| 186 | static somStaticClassInfo CWMIDISCI = {
|
|---|
| 187 | 4, 0, 2, 0, 0, 0,
|
|---|
| 188 | CWMIDI_MajorVersion, CWMIDI_MinorVersion,
|
|---|
| 189 | 0, CWMIDI_MaxNoMethods, 1,
|
|---|
| 190 | &somCN_CWMIDI,
|
|---|
| 191 | &somEMC_M_CWMIDI, 0,
|
|---|
| 192 | somPCCWMIDI,
|
|---|
| 193 | (somClassDataStructure *) &CWMIDIClassData,
|
|---|
| 194 | (somCClassDataStructure *) &CWMIDICClassData,
|
|---|
| 195 | (somStaticMethod_t *) NULL, CWMIDIOM,
|
|---|
| 196 | (char *) NULL,
|
|---|
| 197 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 198 | (somVarargsFuncs_t *) NULL,
|
|---|
| 199 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 200 | 0, /* type code alignment */
|
|---|
| 201 | -1, /* use parents as directinitclasses */
|
|---|
| 202 | 0, /* no explicit directinitclasses */
|
|---|
| 203 | 0, /* number of general method entries */
|
|---|
| 204 | (somMethods_t *) NULL,
|
|---|
| 205 | 0, /* no public data offset */
|
|---|
| 206 | 0, /* no sci development level check */
|
|---|
| 207 | 0, /* number of SelectInheritedMethods */
|
|---|
| 208 | 0, /* no SelectInheritedMethods */
|
|---|
| 209 | 0, /* number of classdata entries */
|
|---|
| 210 | 0, /* no entry names provided currently */
|
|---|
| 211 | 0, /* number of migrated methods */
|
|---|
| 212 | 0, /* no migrated method implementations */
|
|---|
| 213 | 0, /* number of initializers */
|
|---|
| 214 | 0, /* no initializers */
|
|---|
| 215 | 0, /* used to identify a DTS class */
|
|---|
| 216 | 0, /* used to register dynamically computed info */
|
|---|
| 217 | };
|
|---|
| 218 |
|
|---|
| 219 |
|
|---|
| 220 | /*
|
|---|
| 221 | * Class Creation and Initialization
|
|---|
| 222 | */
|
|---|
| 223 |
|
|---|
| 224 | SOMClass * SOMLINK CWMIDINewClass (integer4 somtmajorVersion,
|
|---|
| 225 | integer4 somtminorVersion)
|
|---|
| 226 | {
|
|---|
| 227 | SOMClass *result;
|
|---|
| 228 | CWAudioNewClass(CWAudio_MajorVersion,CWAudio_MinorVersion); /* static reference */
|
|---|
| 229 | /* Explicit metaclass, so get it */
|
|---|
| 230 | M_CWMIDINewClass(M_CWMIDI_MajorVersion,M_CWMIDI_MinorVersion); /* static reference */
|
|---|
| 231 | result = somBuildClass(1,&CWMIDISCI, somtmajorVersion, somtminorVersion);
|
|---|
| 232 | CWMIDI_parent_CWAudio_cwmmAddWaveInformationPage_resolved =
|
|---|
| 233 | somParentNumResolve(CWMIDICClassData.parentMtab, 1, CWAudioClassData.cwmmAddWaveInformationPage);
|
|---|
| 234 | CWMIDI_parent_CWAudio_wpModifyPopupMenu_resolved =
|
|---|
| 235 | somParentNumResolve(CWMIDICClassData.parentMtab, 1, WPObjectClassData.wpModifyPopupMenu);
|
|---|
| 236 | return result;
|
|---|
| 237 | }
|
|---|
| 238 |
|
|---|
| 239 | /*
|
|---|
| 240 | * Functions for attributes.
|
|---|
| 241 | */
|
|---|
| 242 |
|
|---|
| 243 | #endif /* Primary Implementation Support */
|
|---|
| 244 | #pragma checkout(resume)
|
|---|
| 245 |
|
|---|
| 246 | #endif /* SOM_CWMIDI_ih */
|
|---|
| 247 |
|
|---|
| 248 | /*
|
|---|
| 249 | * -- By default, for classes declared using IDL,
|
|---|
| 250 | * -- this emitter doesn't define redispatch/apply stubs.
|
|---|
| 251 | * -- Instead, it requests that the SOM kernel produce them.
|
|---|
| 252 | * -- To override this default, use the "notc" modifier.
|
|---|
| 253 | */
|
|---|
| 254 |
|
|---|
| 255 | #ifndef SOM_M_CWMIDI_ih
|
|---|
| 256 | #define SOM_M_CWMIDI_ih
|
|---|
| 257 |
|
|---|
| 258 | #pragma checkout(suspend)
|
|---|
| 259 |
|
|---|
| 260 | #include <cwmidi.h>
|
|---|
| 261 |
|
|---|
| 262 | /*
|
|---|
| 263 | * Set the scope of methods functions
|
|---|
| 264 | */
|
|---|
| 265 | #ifndef SOM_Scope
|
|---|
| 266 | #ifdef __cplusplus
|
|---|
| 267 | #define SOM_Scope extern "C"
|
|---|
| 268 | #else
|
|---|
| 269 | #define SOM_Scope extern
|
|---|
| 270 | #endif /* __cplusplus */
|
|---|
| 271 | #endif /* SOM_Scope */
|
|---|
| 272 |
|
|---|
| 273 | #ifndef SOM_CurrentClass
|
|---|
| 274 | #define SOM_CurrentClass M_CWMIDICClassData.parentMtab
|
|---|
| 275 | #endif /* SOM_CurrentClass */
|
|---|
| 276 |
|
|---|
| 277 | #define M_CWMIDI_MaxNoMethods 0
|
|---|
| 278 |
|
|---|
| 279 | /*
|
|---|
| 280 | * -- Instance data
|
|---|
| 281 | */
|
|---|
| 282 | typedef void M_CWMIDIData;
|
|---|
| 283 |
|
|---|
| 284 | /*
|
|---|
| 285 | * This class introduces no instance data, so no GetData macro is provided
|
|---|
| 286 | */
|
|---|
| 287 |
|
|---|
| 288 | /*
|
|---|
| 289 | * Primary Implementation File Support
|
|---|
| 290 | */
|
|---|
| 291 | #if (defined(CWMIDI_Class_Source) || defined(M_CWMIDI_Class_Source) || defined(SOM_Module_cwmidi_Source))
|
|---|
| 292 |
|
|---|
| 293 | /*
|
|---|
| 294 | * Trace/Debug macro
|
|---|
| 295 | */
|
|---|
| 296 | #ifndef M_CWMIDIMethodDebug
|
|---|
| 297 | #define M_CWMIDIMethodDebug(c,m) SOMMethodDebug(c,m)
|
|---|
| 298 | #endif /* M_CWMIDIMethodDebug */
|
|---|
| 299 |
|
|---|
| 300 | /*
|
|---|
| 301 | * Current class macros for Instance and Meta classes.
|
|---|
| 302 | */
|
|---|
| 303 |
|
|---|
| 304 | /*
|
|---|
| 305 | * Overridden method: wpclsQueryInstanceType
|
|---|
| 306 | */
|
|---|
| 307 | #pragma linkage(cwmidiM_wpclsQueryInstanceType, system)
|
|---|
| 308 | SOM_Scope PSZ SOMLINK cwmidiM_wpclsQueryInstanceType(M_CWMIDI *somSelf);
|
|---|
| 309 | static char *somMN_M_CWMIDIwpclsQueryInstanceType = "M_WPFileSystem::wpclsQueryInstanceType";
|
|---|
| 310 | static somId somId_M_CWMIDIwpclsQueryInstanceType = &somMN_M_CWMIDIwpclsQueryInstanceType;
|
|---|
| 311 | #ifdef somId_wpclsQueryInstanceType
|
|---|
| 312 | #undef somId_wpclsQueryInstanceType
|
|---|
| 313 | #else
|
|---|
| 314 | #define somId_wpclsQueryInstanceType somId_M_CWMIDIwpclsQueryInstanceType
|
|---|
| 315 | #endif
|
|---|
| 316 | static somMethodProc* M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceType_resolved;
|
|---|
| 317 | #define M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceType(somSelf) \
|
|---|
| 318 | ((( somTD_M_WPFileSystem_wpclsQueryInstanceType ) \
|
|---|
| 319 | M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceType_resolved) \
|
|---|
| 320 | (somSelf))
|
|---|
| 321 | #ifndef SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType
|
|---|
| 322 | #ifdef parent_M_CWAudio_wpclsQueryInstanceType
|
|---|
| 323 | #undef parent_M_CWAudio_wpclsQueryInstanceType
|
|---|
| 324 | #define SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType 1
|
|---|
| 325 | #else
|
|---|
| 326 | #define parent_M_CWAudio_wpclsQueryInstanceType M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceType
|
|---|
| 327 | #endif /* parent_M_CWAudio_wpclsQueryInstanceType */
|
|---|
| 328 | #endif /* SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType */
|
|---|
| 329 | #ifndef parent_wpclsQueryInstanceType
|
|---|
| 330 | #define parent_wpclsQueryInstanceType M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceType
|
|---|
| 331 | #endif /* parent_wpclsQueryInstanceType */
|
|---|
| 332 | #define M_CWMIDI_parents_wpclsQueryInstanceType(somSelf) (\
|
|---|
| 333 | M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceType(somSelf))
|
|---|
| 334 |
|
|---|
| 335 | /*
|
|---|
| 336 | * Overridden method: wpclsQueryInstanceFilter
|
|---|
| 337 | */
|
|---|
| 338 | #pragma linkage(cwmidiM_wpclsQueryInstanceFilter, system)
|
|---|
| 339 | SOM_Scope PSZ SOMLINK cwmidiM_wpclsQueryInstanceFilter(M_CWMIDI *somSelf);
|
|---|
| 340 | static char *somMN_M_CWMIDIwpclsQueryInstanceFilter = "M_WPFileSystem::wpclsQueryInstanceFilter";
|
|---|
| 341 | static somId somId_M_CWMIDIwpclsQueryInstanceFilter = &somMN_M_CWMIDIwpclsQueryInstanceFilter;
|
|---|
| 342 | #ifdef somId_wpclsQueryInstanceFilter
|
|---|
| 343 | #undef somId_wpclsQueryInstanceFilter
|
|---|
| 344 | #else
|
|---|
| 345 | #define somId_wpclsQueryInstanceFilter somId_M_CWMIDIwpclsQueryInstanceFilter
|
|---|
| 346 | #endif
|
|---|
| 347 | static somMethodProc* M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceFilter_resolved;
|
|---|
| 348 | #define M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceFilter(somSelf) \
|
|---|
| 349 | ((( somTD_M_WPFileSystem_wpclsQueryInstanceFilter ) \
|
|---|
| 350 | M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceFilter_resolved) \
|
|---|
| 351 | (somSelf))
|
|---|
| 352 | #ifndef SOMGD_pmc_M_CWAudio_wpclsQueryInstanceFilter
|
|---|
| 353 | #ifdef parent_M_CWAudio_wpclsQueryInstanceFilter
|
|---|
| 354 | #undef parent_M_CWAudio_wpclsQueryInstanceFilter
|
|---|
| 355 | #define SOMGD_pmc_M_CWAudio_wpclsQueryInstanceFilter 1
|
|---|
| 356 | #else
|
|---|
| 357 | #define parent_M_CWAudio_wpclsQueryInstanceFilter M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceFilter
|
|---|
| 358 | #endif /* parent_M_CWAudio_wpclsQueryInstanceFilter */
|
|---|
| 359 | #endif /* SOMGD_pmc_M_CWAudio_wpclsQueryInstanceFilter */
|
|---|
| 360 | #ifndef parent_wpclsQueryInstanceFilter
|
|---|
| 361 | #define parent_wpclsQueryInstanceFilter M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceFilter
|
|---|
| 362 | #endif /* parent_wpclsQueryInstanceFilter */
|
|---|
| 363 | #define M_CWMIDI_parents_wpclsQueryInstanceFilter(somSelf) (\
|
|---|
| 364 | M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceFilter(somSelf))
|
|---|
| 365 |
|
|---|
| 366 | /*
|
|---|
| 367 | * Overridden method: wpclsQueryDefaultHelp
|
|---|
| 368 | */
|
|---|
| 369 | #pragma linkage(cwmidiM_wpclsQueryDefaultHelp, system)
|
|---|
| 370 | SOM_Scope BOOL SOMLINK cwmidiM_wpclsQueryDefaultHelp(M_CWMIDI *somSelf,
|
|---|
| 371 | PULONG pHelpPanelId,
|
|---|
| 372 | PSZ pszHelpLibrary);
|
|---|
| 373 | static char *somMN_M_CWMIDIwpclsQueryDefaultHelp = "M_WPObject::wpclsQueryDefaultHelp";
|
|---|
| 374 | static somId somId_M_CWMIDIwpclsQueryDefaultHelp = &somMN_M_CWMIDIwpclsQueryDefaultHelp;
|
|---|
| 375 | #ifdef somId_wpclsQueryDefaultHelp
|
|---|
| 376 | #undef somId_wpclsQueryDefaultHelp
|
|---|
| 377 | #else
|
|---|
| 378 | #define somId_wpclsQueryDefaultHelp somId_M_CWMIDIwpclsQueryDefaultHelp
|
|---|
| 379 | #endif
|
|---|
| 380 | static somMethodProc* M_CWMIDI_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved;
|
|---|
| 381 | #define M_CWMIDI_parent_M_CWAudio_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
|
|---|
| 382 | ((( somTD_M_WPObject_wpclsQueryDefaultHelp ) \
|
|---|
| 383 | M_CWMIDI_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved) \
|
|---|
| 384 | (somSelf,pHelpPanelId,pszHelpLibrary))
|
|---|
| 385 | #ifndef SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp
|
|---|
| 386 | #ifdef parent_M_CWAudio_wpclsQueryDefaultHelp
|
|---|
| 387 | #undef parent_M_CWAudio_wpclsQueryDefaultHelp
|
|---|
| 388 | #define SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp 1
|
|---|
| 389 | #else
|
|---|
| 390 | #define parent_M_CWAudio_wpclsQueryDefaultHelp M_CWMIDI_parent_M_CWAudio_wpclsQueryDefaultHelp
|
|---|
| 391 | #endif /* parent_M_CWAudio_wpclsQueryDefaultHelp */
|
|---|
| 392 | #endif /* SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp */
|
|---|
| 393 | #ifndef parent_wpclsQueryDefaultHelp
|
|---|
| 394 | #define parent_wpclsQueryDefaultHelp M_CWMIDI_parent_M_CWAudio_wpclsQueryDefaultHelp
|
|---|
| 395 | #endif /* parent_wpclsQueryDefaultHelp */
|
|---|
| 396 | #define M_CWMIDI_parents_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) (\
|
|---|
| 397 | M_CWMIDI_parent_M_CWAudio_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary))
|
|---|
| 398 |
|
|---|
| 399 | /*
|
|---|
| 400 | * Overridden method: wpclsQueryTitle
|
|---|
| 401 | */
|
|---|
| 402 | #pragma linkage(cwmidiM_wpclsQueryTitle, system)
|
|---|
| 403 | SOM_Scope PSZ SOMLINK cwmidiM_wpclsQueryTitle(M_CWMIDI *somSelf);
|
|---|
| 404 | static char *somMN_M_CWMIDIwpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
|
|---|
| 405 | static somId somId_M_CWMIDIwpclsQueryTitle = &somMN_M_CWMIDIwpclsQueryTitle;
|
|---|
| 406 | #ifdef somId_wpclsQueryTitle
|
|---|
| 407 | #undef somId_wpclsQueryTitle
|
|---|
| 408 | #else
|
|---|
| 409 | #define somId_wpclsQueryTitle somId_M_CWMIDIwpclsQueryTitle
|
|---|
| 410 | #endif
|
|---|
| 411 | static somMethodProc* M_CWMIDI_parent_M_CWAudio_wpclsQueryTitle_resolved;
|
|---|
| 412 | #define M_CWMIDI_parent_M_CWAudio_wpclsQueryTitle(somSelf) \
|
|---|
| 413 | ((( somTD_M_WPObject_wpclsQueryTitle ) \
|
|---|
| 414 | M_CWMIDI_parent_M_CWAudio_wpclsQueryTitle_resolved) \
|
|---|
| 415 | (somSelf))
|
|---|
| 416 | #ifndef SOMGD_pmc_M_CWAudio_wpclsQueryTitle
|
|---|
| 417 | #ifdef parent_M_CWAudio_wpclsQueryTitle
|
|---|
| 418 | #undef parent_M_CWAudio_wpclsQueryTitle
|
|---|
| 419 | #define SOMGD_pmc_M_CWAudio_wpclsQueryTitle 1
|
|---|
| 420 | #else
|
|---|
| 421 | #define parent_M_CWAudio_wpclsQueryTitle M_CWMIDI_parent_M_CWAudio_wpclsQueryTitle
|
|---|
| 422 | #endif /* parent_M_CWAudio_wpclsQueryTitle */
|
|---|
| 423 | #endif /* SOMGD_pmc_M_CWAudio_wpclsQueryTitle */
|
|---|
| 424 | #ifndef parent_wpclsQueryTitle
|
|---|
| 425 | #define parent_wpclsQueryTitle M_CWMIDI_parent_M_CWAudio_wpclsQueryTitle
|
|---|
| 426 | #endif /* parent_wpclsQueryTitle */
|
|---|
| 427 | #define M_CWMIDI_parents_wpclsQueryTitle(somSelf) (\
|
|---|
| 428 | M_CWMIDI_parent_M_CWAudio_wpclsQueryTitle(somSelf))
|
|---|
| 429 |
|
|---|
| 430 | /*
|
|---|
| 431 | * Overridden method: wpclsQueryIconData
|
|---|
| 432 | */
|
|---|
| 433 | #pragma linkage(cwmidiM_wpclsQueryIconData, system)
|
|---|
| 434 | SOM_Scope ULONG SOMLINK cwmidiM_wpclsQueryIconData(M_CWMIDI *somSelf,
|
|---|
| 435 | PICONINFO pIconInfo);
|
|---|
| 436 | static char *somMN_M_CWMIDIwpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
|
|---|
| 437 | static somId somId_M_CWMIDIwpclsQueryIconData = &somMN_M_CWMIDIwpclsQueryIconData;
|
|---|
| 438 | #ifdef somId_wpclsQueryIconData
|
|---|
| 439 | #undef somId_wpclsQueryIconData
|
|---|
| 440 | #else
|
|---|
| 441 | #define somId_wpclsQueryIconData somId_M_CWMIDIwpclsQueryIconData
|
|---|
| 442 | #endif
|
|---|
| 443 | static somMethodProc* M_CWMIDI_parent_M_CWAudio_wpclsQueryIconData_resolved;
|
|---|
| 444 | #define M_CWMIDI_parent_M_CWAudio_wpclsQueryIconData(somSelf,pIconInfo) \
|
|---|
| 445 | ((( somTD_M_WPObject_wpclsQueryIconData ) \
|
|---|
| 446 | M_CWMIDI_parent_M_CWAudio_wpclsQueryIconData_resolved) \
|
|---|
| 447 | (somSelf,pIconInfo))
|
|---|
| 448 | #ifndef SOMGD_pmc_M_CWAudio_wpclsQueryIconData
|
|---|
| 449 | #ifdef parent_M_CWAudio_wpclsQueryIconData
|
|---|
| 450 | #undef parent_M_CWAudio_wpclsQueryIconData
|
|---|
| 451 | #define SOMGD_pmc_M_CWAudio_wpclsQueryIconData 1
|
|---|
| 452 | #else
|
|---|
| 453 | #define parent_M_CWAudio_wpclsQueryIconData M_CWMIDI_parent_M_CWAudio_wpclsQueryIconData
|
|---|
| 454 | #endif /* parent_M_CWAudio_wpclsQueryIconData */
|
|---|
| 455 | #endif /* SOMGD_pmc_M_CWAudio_wpclsQueryIconData */
|
|---|
| 456 | #ifndef parent_wpclsQueryIconData
|
|---|
| 457 | #define parent_wpclsQueryIconData M_CWMIDI_parent_M_CWAudio_wpclsQueryIconData
|
|---|
| 458 | #endif /* parent_wpclsQueryIconData */
|
|---|
| 459 | #define M_CWMIDI_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
|
|---|
| 460 | M_CWMIDI_parent_M_CWAudio_wpclsQueryIconData(somSelf,pIconInfo))
|
|---|
| 461 |
|
|---|
| 462 | /*
|
|---|
| 463 | * Initialize the class data structure
|
|---|
| 464 | */
|
|---|
| 465 | SOMEXTERN struct M_CWMIDIClassDataStructure SOMDLINK M_CWMIDIClassData = {(SOMAny *) NULL};
|
|---|
| 466 |
|
|---|
| 467 | /*
|
|---|
| 468 | * Define the C class data structure
|
|---|
| 469 | */
|
|---|
| 470 | SOMEXTERN struct M_CWMIDICClassDataStructure SOMDLINK M_CWMIDICClassData = {(somMethodTabs) NULL};
|
|---|
| 471 |
|
|---|
| 472 | /*
|
|---|
| 473 | * Routines and Structures to create the class object
|
|---|
| 474 | */
|
|---|
| 475 |
|
|---|
| 476 |
|
|---|
| 477 | /*
|
|---|
| 478 | * Declare the Override Methods table.
|
|---|
| 479 | */
|
|---|
| 480 | static somOverrideMethod_t M_CWMIDIOM[] = {
|
|---|
| 481 | { &somId_M_CWMIDIwpclsQueryInstanceType,
|
|---|
| 482 | (somMethodProc *) cwmidiM_wpclsQueryInstanceType },
|
|---|
| 483 | { &somId_M_CWMIDIwpclsQueryInstanceFilter,
|
|---|
| 484 | (somMethodProc *) cwmidiM_wpclsQueryInstanceFilter },
|
|---|
| 485 | { &somId_M_CWMIDIwpclsQueryDefaultHelp,
|
|---|
| 486 | (somMethodProc *) cwmidiM_wpclsQueryDefaultHelp },
|
|---|
| 487 | { &somId_M_CWMIDIwpclsQueryTitle,
|
|---|
| 488 | (somMethodProc *) cwmidiM_wpclsQueryTitle },
|
|---|
| 489 | { &somId_M_CWMIDIwpclsQueryIconData,
|
|---|
| 490 | (somMethodProc *) cwmidiM_wpclsQueryIconData },
|
|---|
| 491 | };
|
|---|
| 492 |
|
|---|
| 493 |
|
|---|
| 494 | /*
|
|---|
| 495 | * Initializers for class Ids
|
|---|
| 496 | */
|
|---|
| 497 | static char * somCN_M_CWMIDI = "M_CWMIDI";
|
|---|
| 498 | static char * somPCN_M_CWMIDI_M_CWAudio = "M_CWAudio";
|
|---|
| 499 |
|
|---|
| 500 | static somId somPCM_CWMIDI[] = {
|
|---|
| 501 | &somPCN_M_CWMIDI_M_CWAudio,
|
|---|
| 502 | };
|
|---|
| 503 |
|
|---|
| 504 | static somStaticClassInfo M_CWMIDISCI = {
|
|---|
| 505 | 4, 0, 5, 0, 0, 0,
|
|---|
| 506 | M_CWMIDI_MajorVersion, M_CWMIDI_MinorVersion,
|
|---|
| 507 | 0, M_CWMIDI_MaxNoMethods, 1,
|
|---|
| 508 | &somCN_M_CWMIDI,
|
|---|
| 509 | (somId) NULL, 1,
|
|---|
| 510 | somPCM_CWMIDI,
|
|---|
| 511 | (somClassDataStructure *) &M_CWMIDIClassData,
|
|---|
| 512 | (somCClassDataStructure *) &M_CWMIDICClassData,
|
|---|
| 513 | (somStaticMethod_t *) NULL, M_CWMIDIOM,
|
|---|
| 514 | (char *) NULL,
|
|---|
| 515 | (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
|
|---|
| 516 | (somVarargsFuncs_t *) NULL,
|
|---|
| 517 | (somTP_somClassInitFunc *) NULL,
|
|---|
| 518 | 0, /* type code alignment */
|
|---|
| 519 | -1, /* use parents as directinitclasses */
|
|---|
| 520 | 0, /* no explicit directinitclasses */
|
|---|
| 521 | 0, /* number of general method entries */
|
|---|
| 522 | (somMethods_t *) NULL,
|
|---|
| 523 | 0, /* no public data offset */
|
|---|
| 524 | 0, /* no sci development level check */
|
|---|
| 525 | 0, /* number of SelectInheritedMethods */
|
|---|
| 526 | 0, /* no SelectInheritedMethods */
|
|---|
| 527 | 0, /* number of classdata entries */
|
|---|
| 528 | 0, /* no entry names provided currently */
|
|---|
| 529 | 0, /* number of migrated methods */
|
|---|
| 530 | 0, /* no migrated method implementations */
|
|---|
| 531 | 0, /* number of initializers */
|
|---|
| 532 | 0, /* no initializers */
|
|---|
| 533 | 0, /* used to identify a DTS class */
|
|---|
| 534 | 0, /* used to register dynamically computed info */
|
|---|
| 535 | };
|
|---|
| 536 |
|
|---|
| 537 |
|
|---|
| 538 | /*
|
|---|
| 539 | * Class Creation and Initialization
|
|---|
| 540 | */
|
|---|
| 541 |
|
|---|
| 542 | SOMClass * SOMLINK M_CWMIDINewClass (integer4 somtmajorVersion,
|
|---|
| 543 | integer4 somtminorVersion)
|
|---|
| 544 | {
|
|---|
| 545 | SOMClass *result;
|
|---|
| 546 | M_CWAudioNewClass(M_CWAudio_MajorVersion,M_CWAudio_MinorVersion); /* static reference */
|
|---|
| 547 | result = somBuildClass(1,&M_CWMIDISCI, somtmajorVersion, somtminorVersion);
|
|---|
| 548 | M_CWMIDI_parent_M_CWAudio_wpclsQueryIconData_resolved =
|
|---|
| 549 | somParentNumResolve(M_CWMIDICClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
|
|---|
| 550 | M_CWMIDI_parent_M_CWAudio_wpclsQueryTitle_resolved =
|
|---|
| 551 | somParentNumResolve(M_CWMIDICClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
|
|---|
| 552 | M_CWMIDI_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved =
|
|---|
| 553 | somParentNumResolve(M_CWMIDICClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultHelp);
|
|---|
| 554 | M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceFilter_resolved =
|
|---|
| 555 | somParentNumResolve(M_CWMIDICClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceFilter);
|
|---|
| 556 | M_CWMIDI_parent_M_CWAudio_wpclsQueryInstanceType_resolved =
|
|---|
| 557 | somParentNumResolve(M_CWMIDICClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceType);
|
|---|
| 558 | return result;
|
|---|
| 559 | }
|
|---|
| 560 |
|
|---|
| 561 | /*
|
|---|
| 562 | * Functions for attributes.
|
|---|
| 563 | */
|
|---|
| 564 |
|
|---|
| 565 | #endif /* Primary Implementation Support */
|
|---|
| 566 | #pragma checkout(resume)
|
|---|
| 567 |
|
|---|
| 568 | #endif /* SOM_M_CWMIDI_ih */
|
|---|