source: branches/v2.9/classes_chris_names/include/cwastream.ih

Last change on this file was 2, checked in by stevenhl, 8 years ago

Import sources from cwmm-full.zip dated 2005-03-21

File size: 25.9 KB
Line 
1
2/*
3 * This file was generated by the SOM Compiler.
4 * FileName: include\cwastream.ih.
5 * Generated using:
6 * SOM Precompiler somipc: 2.29.1.7
7 * SOM Emitter emitih: 2.42
8 */
9
10/*
11 *
12 * cwaudiostream.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_CWAudioStream_ih
24#define SOM_CWAudioStream_ih
25
26#pragma checkout(suspend)
27
28#include <cwastream.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 CWAudioStreamCClassData.parentMtab
43#endif /* SOM_CurrentClass */
44
45#define CWAudioStream_MaxNoMethods 1
46
47/*
48 * -- Instance data
49 */
50typedef void CWAudioStreamData;
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(CWAudioStream_Class_Source) || defined(SOM_Module_cwastream_Source))
60
61/*
62 * Trace/Debug macro
63 */
64#ifndef CWAudioStreamMethodDebug
65 #define CWAudioStreamMethodDebug(c,m) SOMMethodDebug(c,m)
66#endif /* CWAudioStreamMethodDebug */
67
68/*
69 * Current class macros for Instance and Meta classes.
70 */
71#undef SOMMeta
72#define SOMMeta M_CWAudioStreamCClassData.parentMtab
73#undef SOMInstance
74#define SOMInstance CWAudioStreamCClassData.parentMtab
75
76#ifndef M_CWAudioStream_Class_Source
77 #define M_CWAudioStream_Class_Source
78#endif /* M_CWAudioStream_Class_Source */
79
80/*
81 * Overridden method: wpModifyPopupMenu
82 */
83#pragma linkage(cwastream_wpModifyPopupMenu, system)
84SOM_Scope BOOL SOMLINK cwastream_wpModifyPopupMenu(CWAudioStream *somSelf,
85 HWND hwndMenu,
86 HWND hwndCnr,
87 ULONG iPosition);
88static char *somMN_CWAudioStreamwpModifyPopupMenu = "WPObject::wpModifyPopupMenu";
89static somId somId_CWAudioStreamwpModifyPopupMenu = &somMN_CWAudioStreamwpModifyPopupMenu;
90#ifdef somId_wpModifyPopupMenu
91#undef somId_wpModifyPopupMenu
92#else
93#define somId_wpModifyPopupMenu somId_CWAudioStreamwpModifyPopupMenu
94#endif
95static somMethodProc* CWAudioStream_parent_CWAudio_wpModifyPopupMenu_resolved;
96#define CWAudioStream_parent_CWAudio_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
97 ((( somTD_WPObject_wpModifyPopupMenu ) \
98 CWAudioStream_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 CWAudioStream_parent_CWAudio_wpModifyPopupMenu
106 #endif /* parent_CWAudio_wpModifyPopupMenu */
107#endif /* SOMGD_pmc_CWAudio_wpModifyPopupMenu */
108#ifndef parent_wpModifyPopupMenu
109 #define parent_wpModifyPopupMenu CWAudioStream_parent_CWAudio_wpModifyPopupMenu
110#endif /* parent_wpModifyPopupMenu */
111#define CWAudioStream_parents_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) (\
112 CWAudioStream_parent_CWAudio_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition))
113
114/*
115 * Overridden method: wpAddSettingsPages
116 */
117#pragma linkage(cwastream_wpAddSettingsPages, system)
118SOM_Scope BOOL SOMLINK cwastream_wpAddSettingsPages(CWAudioStream *somSelf,
119 HWND hwndNotebook);
120static char *somMN_CWAudioStreamwpAddSettingsPages = "WPObject::wpAddSettingsPages";
121static somId somId_CWAudioStreamwpAddSettingsPages = &somMN_CWAudioStreamwpAddSettingsPages;
122#ifdef somId_wpAddSettingsPages
123#undef somId_wpAddSettingsPages
124#else
125#define somId_wpAddSettingsPages somId_CWAudioStreamwpAddSettingsPages
126#endif
127static somMethodProc* CWAudioStream_parent_CWAudio_wpAddSettingsPages_resolved;
128#define CWAudioStream_parent_CWAudio_wpAddSettingsPages(somSelf,hwndNotebook) \
129 ((( somTD_WPObject_wpAddSettingsPages ) \
130 CWAudioStream_parent_CWAudio_wpAddSettingsPages_resolved) \
131 (somSelf,hwndNotebook))
132#ifndef SOMGD_pmc_CWAudio_wpAddSettingsPages
133 #ifdef parent_CWAudio_wpAddSettingsPages
134 #undef parent_CWAudio_wpAddSettingsPages
135 #define SOMGD_pmc_CWAudio_wpAddSettingsPages 1
136 #else
137 #define parent_CWAudio_wpAddSettingsPages CWAudioStream_parent_CWAudio_wpAddSettingsPages
138 #endif /* parent_CWAudio_wpAddSettingsPages */
139#endif /* SOMGD_pmc_CWAudio_wpAddSettingsPages */
140#ifndef parent_wpAddSettingsPages
141 #define parent_wpAddSettingsPages CWAudioStream_parent_CWAudio_wpAddSettingsPages
142#endif /* parent_wpAddSettingsPages */
143#define CWAudioStream_parents_wpAddSettingsPages(somSelf,hwndNotebook) (\
144 CWAudioStream_parent_CWAudio_wpAddSettingsPages(somSelf,hwndNotebook))
145
146/*
147 * Overridden method: wpInitData
148 */
149#pragma linkage(cwastream_wpInitData, system)
150SOM_Scope void SOMLINK cwastream_wpInitData(CWAudioStream *somSelf);
151static char *somMN_CWAudioStreamwpInitData = "WPObject::wpInitData";
152static somId somId_CWAudioStreamwpInitData = &somMN_CWAudioStreamwpInitData;
153#ifdef somId_wpInitData
154#undef somId_wpInitData
155#else
156#define somId_wpInitData somId_CWAudioStreamwpInitData
157#endif
158static somMethodProc* CWAudioStream_parent_CWAudio_wpInitData_resolved;
159#define CWAudioStream_parent_CWAudio_wpInitData(somSelf) \
160 ((( somTD_WPObject_wpInitData ) \
161 CWAudioStream_parent_CWAudio_wpInitData_resolved) \
162 (somSelf))
163#ifndef SOMGD_pmc_CWAudio_wpInitData
164 #ifdef parent_CWAudio_wpInitData
165 #undef parent_CWAudio_wpInitData
166 #define SOMGD_pmc_CWAudio_wpInitData 1
167 #else
168 #define parent_CWAudio_wpInitData CWAudioStream_parent_CWAudio_wpInitData
169 #endif /* parent_CWAudio_wpInitData */
170#endif /* SOMGD_pmc_CWAudio_wpInitData */
171#ifndef parent_wpInitData
172 #define parent_wpInitData CWAudioStream_parent_CWAudio_wpInitData
173#endif /* parent_wpInitData */
174#define CWAudioStream_parents_wpInitData(somSelf) (\
175 CWAudioStream_parent_CWAudio_wpInitData(somSelf))
176
177/*
178 * Overridden method: cwmmAddWaveInformationPage
179 */
180#pragma linkage(cwastream_cwmmAddWaveInformationPage, system)
181SOM_Scope ULONG SOMLINK cwastream_cwmmAddWaveInformationPage(CWAudioStream *somSelf,
182 HWND hwndNotebook);
183static char *somMN_CWAudioStreamcwmmAddWaveInformationPage = "CWAudio::cwmmAddWaveInformationPage";
184static somId somId_CWAudioStreamcwmmAddWaveInformationPage = &somMN_CWAudioStreamcwmmAddWaveInformationPage;
185#ifdef somId_cwmmAddWaveInformationPage
186#undef somId_cwmmAddWaveInformationPage
187#else
188#define somId_cwmmAddWaveInformationPage somId_CWAudioStreamcwmmAddWaveInformationPage
189#endif
190static somMethodProc* CWAudioStream_parent_CWAudio_cwmmAddWaveInformationPage_resolved;
191#define CWAudioStream_parent_CWAudio_cwmmAddWaveInformationPage(somSelf,hwndNotebook) \
192 ((( somTD_CWAudio_cwmmAddWaveInformationPage ) \
193 CWAudioStream_parent_CWAudio_cwmmAddWaveInformationPage_resolved) \
194 (somSelf,hwndNotebook))
195#ifndef SOMGD_pmc_CWAudio_cwmmAddWaveInformationPage
196 #ifdef parent_CWAudio_cwmmAddWaveInformationPage
197 #undef parent_CWAudio_cwmmAddWaveInformationPage
198 #define SOMGD_pmc_CWAudio_cwmmAddWaveInformationPage 1
199 #else
200 #define parent_CWAudio_cwmmAddWaveInformationPage CWAudioStream_parent_CWAudio_cwmmAddWaveInformationPage
201 #endif /* parent_CWAudio_cwmmAddWaveInformationPage */
202#endif /* SOMGD_pmc_CWAudio_cwmmAddWaveInformationPage */
203#ifndef parent_cwmmAddWaveInformationPage
204 #define parent_cwmmAddWaveInformationPage CWAudioStream_parent_CWAudio_cwmmAddWaveInformationPage
205#endif /* parent_cwmmAddWaveInformationPage */
206#define CWAudioStream_parents_cwmmAddWaveInformationPage(somSelf,hwndNotebook) (\
207 CWAudioStream_parent_CWAudio_cwmmAddWaveInformationPage(somSelf,hwndNotebook))
208
209/*
210 * Overridden method: cwmmAddTrackNamePage
211 */
212#pragma linkage(cwastream_cwmmAddTrackNamePage, system)
213SOM_Scope ULONG SOMLINK cwastream_cwmmAddTrackNamePage(CWAudioStream *somSelf,
214 HWND hwndNotebook);
215static char *somMN_CWAudioStreamcwmmAddTrackNamePage = "CWAudio::cwmmAddTrackNamePage";
216static somId somId_CWAudioStreamcwmmAddTrackNamePage = &somMN_CWAudioStreamcwmmAddTrackNamePage;
217#ifdef somId_cwmmAddTrackNamePage
218#undef somId_cwmmAddTrackNamePage
219#else
220#define somId_cwmmAddTrackNamePage somId_CWAudioStreamcwmmAddTrackNamePage
221#endif
222static somMethodProc* CWAudioStream_parent_CWAudio_cwmmAddTrackNamePage_resolved;
223#define CWAudioStream_parent_CWAudio_cwmmAddTrackNamePage(somSelf,hwndNotebook) \
224 ((( somTD_CWAudio_cwmmAddTrackNamePage ) \
225 CWAudioStream_parent_CWAudio_cwmmAddTrackNamePage_resolved) \
226 (somSelf,hwndNotebook))
227#ifndef SOMGD_pmc_CWAudio_cwmmAddTrackNamePage
228 #ifdef parent_CWAudio_cwmmAddTrackNamePage
229 #undef parent_CWAudio_cwmmAddTrackNamePage
230 #define SOMGD_pmc_CWAudio_cwmmAddTrackNamePage 1
231 #else
232 #define parent_CWAudio_cwmmAddTrackNamePage CWAudioStream_parent_CWAudio_cwmmAddTrackNamePage
233 #endif /* parent_CWAudio_cwmmAddTrackNamePage */
234#endif /* SOMGD_pmc_CWAudio_cwmmAddTrackNamePage */
235#ifndef parent_cwmmAddTrackNamePage
236 #define parent_cwmmAddTrackNamePage CWAudioStream_parent_CWAudio_cwmmAddTrackNamePage
237#endif /* parent_cwmmAddTrackNamePage */
238#define CWAudioStream_parents_cwmmAddTrackNamePage(somSelf,hwndNotebook) (\
239 CWAudioStream_parent_CWAudio_cwmmAddTrackNamePage(somSelf,hwndNotebook))
240
241/*
242 * Initialize the class data structure
243 */
244SOMEXTERN struct CWAudioStreamClassDataStructure SOMDLINK CWAudioStreamClassData = {(SOMAny *) NULL};
245
246/*
247 * Define the C class data structure
248 */
249SOMEXTERN struct CWAudioStreamCClassDataStructure SOMDLINK CWAudioStreamCClassData = {(somMethodTabs) NULL};
250
251/*
252 * New Method: cwmmAddURLPage
253 */
254#pragma linkage(cwastream_cwmmAddURLPage, system)
255SOM_Scope ULONG SOMLINK cwastream_cwmmAddURLPage(CWAudioStream *somSelf,
256 HWND hwndNotebook);
257#ifndef somMN_cwmmAddURLPage_defined
258#define somMN_cwmmAddURLPage_defined
259static char *somMN_cwmmAddURLPage = "cwmmAddURLPage";
260static somId somId_cwmmAddURLPage = &somMN_cwmmAddURLPage;
261#endif /* somMN_cwmmAddURLPage_defined */
262#ifndef somDS_cwmmAddURLPage_defined
263#define somDS_cwmmAddURLPage_defined
264static char *somDS_cwmmAddURLPage = "::CWAudioStream::cwmmAddURLPage";
265static somId somDI_cwmmAddURLPage = &somDS_cwmmAddURLPage;
266#endif /* somDS_cwmmAddURLPage_defined */
267#define cwmmAddURLPage_somApRdDefault
268
269/*
270 * Routines and Structures to create the class object
271 */
272
273
274/*
275 * Declare the Static Methods table.
276 */
277static somStaticMethod_t CWAudioStreamSM[] = {
278 { &CWAudioStreamClassData.cwmmAddURLPage,
279 &somId_cwmmAddURLPage,
280 &somDI_cwmmAddURLPage,
281 (somMethodProc *) cwastream_cwmmAddURLPage,
282 (somMethodProc *)((void*)-1),
283#ifdef cwmmAddURLPage_somApRdDefault
284 0},
285#else
286 (somMethodProc *) ((void*)&cwmmAddURLPageStubs) },
287#endif
288};
289
290
291/*
292 * Declare the Override Methods table.
293 */
294static somOverrideMethod_t CWAudioStreamOM[] = {
295 { &somId_CWAudioStreamwpModifyPopupMenu,
296 (somMethodProc *) cwastream_wpModifyPopupMenu },
297 { &somId_CWAudioStreamwpAddSettingsPages,
298 (somMethodProc *) cwastream_wpAddSettingsPages },
299 { &somId_CWAudioStreamwpInitData,
300 (somMethodProc *) cwastream_wpInitData },
301 { &somId_CWAudioStreamcwmmAddWaveInformationPage,
302 (somMethodProc *) cwastream_cwmmAddWaveInformationPage },
303 { &somId_CWAudioStreamcwmmAddTrackNamePage,
304 (somMethodProc *) cwastream_cwmmAddTrackNamePage },
305};
306
307
308/*
309 * Initializers for class Ids
310 */
311static char * somCN_CWAudioStream = "CWAudioStream";
312#ifndef somEMC_M_CWAudioStream_defined
313#define somEMC_M_CWAudioStream_defined
314static char * somEMC_M_CWAudioStream = "M_CWAudioStream";
315#endif
316static char * somPCN_CWAudioStream_CWAudio = "CWAudio";
317
318static somId somPCCWAudioStream[] = {
319 &somPCN_CWAudioStream_CWAudio,
320};
321
322static somStaticClassInfo CWAudioStreamSCI = {
323 4, 1, 5, 0, 0, 0,
324 CWAudioStream_MajorVersion, CWAudioStream_MinorVersion,
325 0, CWAudioStream_MaxNoMethods, 1,
326 &somCN_CWAudioStream,
327 &somEMC_M_CWAudioStream, 0,
328 somPCCWAudioStream,
329 (somClassDataStructure *) &CWAudioStreamClassData,
330 (somCClassDataStructure *) &CWAudioStreamCClassData,
331 CWAudioStreamSM, CWAudioStreamOM,
332 (char *) NULL,
333 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
334 (somVarargsFuncs_t *) NULL,
335 (somTP_somClassInitFunc *) NULL,
336 0, /* type code alignment */
337 -1, /* use parents as directinitclasses */
338 0, /* no explicit directinitclasses */
339 0, /* number of general method entries */
340 (somMethods_t *) NULL,
341 0, /* no public data offset */
342 0, /* no sci development level check */
343 0, /* number of SelectInheritedMethods */
344 0, /* no SelectInheritedMethods */
345 1, /* number of classdata entries */
346 0, /* no entry names provided currently */
347 0, /* number of migrated methods */
348 0, /* no migrated method implementations */
349 0, /* number of initializers */
350 0, /* no initializers */
351 0, /* used to identify a DTS class */
352 0, /* used to register dynamically computed info */
353};
354
355
356/*
357 * Class Creation and Initialization
358 */
359
360SOMClass * SOMLINK CWAudioStreamNewClass (integer4 somtmajorVersion,
361 integer4 somtminorVersion)
362{
363 SOMClass *result;
364 CWAudioNewClass(CWAudio_MajorVersion,CWAudio_MinorVersion); /* static reference */
365 /* Explicit metaclass, so get it */
366 M_CWAudioStreamNewClass(M_CWAudioStream_MajorVersion,M_CWAudioStream_MinorVersion); /* static reference */
367 result = somBuildClass(1,&CWAudioStreamSCI, somtmajorVersion, somtminorVersion);
368 CWAudioStream_parent_CWAudio_cwmmAddTrackNamePage_resolved =
369 somParentNumResolve(CWAudioStreamCClassData.parentMtab, 1, CWAudioClassData.cwmmAddTrackNamePage);
370 CWAudioStream_parent_CWAudio_cwmmAddWaveInformationPage_resolved =
371 somParentNumResolve(CWAudioStreamCClassData.parentMtab, 1, CWAudioClassData.cwmmAddWaveInformationPage);
372 CWAudioStream_parent_CWAudio_wpInitData_resolved =
373 somParentNumResolve(CWAudioStreamCClassData.parentMtab, 1, WPObjectClassData.wpInitData);
374 CWAudioStream_parent_CWAudio_wpAddSettingsPages_resolved =
375 somParentNumResolve(CWAudioStreamCClassData.parentMtab, 1, WPObjectClassData.wpAddSettingsPages);
376 CWAudioStream_parent_CWAudio_wpModifyPopupMenu_resolved =
377 somParentNumResolve(CWAudioStreamCClassData.parentMtab, 1, WPObjectClassData.wpModifyPopupMenu);
378 return result;
379}
380
381/*
382 * Functions for attributes.
383 */
384
385#endif /* Primary Implementation Support */
386#pragma checkout(resume)
387
388#endif /* SOM_CWAudioStream_ih */
389
390/*
391 * -- By default, for classes declared using IDL,
392 * -- this emitter doesn't define redispatch/apply stubs.
393 * -- Instead, it requests that the SOM kernel produce them.
394 * -- To override this default, use the "notc" modifier.
395 */
396
397#ifndef SOM_M_CWAudioStream_ih
398#define SOM_M_CWAudioStream_ih
399
400#pragma checkout(suspend)
401
402#include <cwastream.h>
403
404/*
405 * Set the scope of methods functions
406 */
407#ifndef SOM_Scope
408#ifdef __cplusplus
409 #define SOM_Scope extern "C"
410#else
411 #define SOM_Scope extern
412#endif /* __cplusplus */
413#endif /* SOM_Scope */
414
415#ifndef SOM_CurrentClass
416 #define SOM_CurrentClass M_CWAudioStreamCClassData.parentMtab
417#endif /* SOM_CurrentClass */
418
419#define M_CWAudioStream_MaxNoMethods 0
420
421/*
422 * -- Instance data
423 */
424typedef void M_CWAudioStreamData;
425
426/*
427 * This class introduces no instance data, so no GetData macro is provided
428 */
429
430/*
431 * Primary Implementation File Support
432 */
433#if (defined(CWAudioStream_Class_Source) || defined(M_CWAudioStream_Class_Source) || defined(SOM_Module_cwastream_Source))
434
435/*
436 * Trace/Debug macro
437 */
438#ifndef M_CWAudioStreamMethodDebug
439 #define M_CWAudioStreamMethodDebug(c,m) SOMMethodDebug(c,m)
440#endif /* M_CWAudioStreamMethodDebug */
441
442/*
443 * Current class macros for Instance and Meta classes.
444 */
445
446/*
447 * Overridden method: wpclsQueryInstanceType
448 */
449#pragma linkage(cwastreamM_wpclsQueryInstanceType, system)
450SOM_Scope PSZ SOMLINK cwastreamM_wpclsQueryInstanceType(M_CWAudioStream *somSelf);
451static char *somMN_M_CWAudioStreamwpclsQueryInstanceType = "M_WPFileSystem::wpclsQueryInstanceType";
452static somId somId_M_CWAudioStreamwpclsQueryInstanceType = &somMN_M_CWAudioStreamwpclsQueryInstanceType;
453#ifdef somId_wpclsQueryInstanceType
454#undef somId_wpclsQueryInstanceType
455#else
456#define somId_wpclsQueryInstanceType somId_M_CWAudioStreamwpclsQueryInstanceType
457#endif
458static somMethodProc* M_CWAudioStream_parent_M_CWAudio_wpclsQueryInstanceType_resolved;
459#define M_CWAudioStream_parent_M_CWAudio_wpclsQueryInstanceType(somSelf) \
460 ((( somTD_M_WPFileSystem_wpclsQueryInstanceType ) \
461 M_CWAudioStream_parent_M_CWAudio_wpclsQueryInstanceType_resolved) \
462 (somSelf))
463#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType
464 #ifdef parent_M_CWAudio_wpclsQueryInstanceType
465 #undef parent_M_CWAudio_wpclsQueryInstanceType
466 #define SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType 1
467 #else
468 #define parent_M_CWAudio_wpclsQueryInstanceType M_CWAudioStream_parent_M_CWAudio_wpclsQueryInstanceType
469 #endif /* parent_M_CWAudio_wpclsQueryInstanceType */
470#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType */
471#ifndef parent_wpclsQueryInstanceType
472 #define parent_wpclsQueryInstanceType M_CWAudioStream_parent_M_CWAudio_wpclsQueryInstanceType
473#endif /* parent_wpclsQueryInstanceType */
474#define M_CWAudioStream_parents_wpclsQueryInstanceType(somSelf) (\
475 M_CWAudioStream_parent_M_CWAudio_wpclsQueryInstanceType(somSelf))
476
477/*
478 * Overridden method: wpclsQueryDefaultHelp
479 */
480#pragma linkage(cwastreamM_wpclsQueryDefaultHelp, system)
481SOM_Scope BOOL SOMLINK cwastreamM_wpclsQueryDefaultHelp(M_CWAudioStream *somSelf,
482 PULONG pHelpPanelId,
483 PSZ pszHelpLibrary);
484static char *somMN_M_CWAudioStreamwpclsQueryDefaultHelp = "M_WPObject::wpclsQueryDefaultHelp";
485static somId somId_M_CWAudioStreamwpclsQueryDefaultHelp = &somMN_M_CWAudioStreamwpclsQueryDefaultHelp;
486#ifdef somId_wpclsQueryDefaultHelp
487#undef somId_wpclsQueryDefaultHelp
488#else
489#define somId_wpclsQueryDefaultHelp somId_M_CWAudioStreamwpclsQueryDefaultHelp
490#endif
491static somMethodProc* M_CWAudioStream_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved;
492#define M_CWAudioStream_parent_M_CWAudio_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
493 ((( somTD_M_WPObject_wpclsQueryDefaultHelp ) \
494 M_CWAudioStream_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved) \
495 (somSelf,pHelpPanelId,pszHelpLibrary))
496#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp
497 #ifdef parent_M_CWAudio_wpclsQueryDefaultHelp
498 #undef parent_M_CWAudio_wpclsQueryDefaultHelp
499 #define SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp 1
500 #else
501 #define parent_M_CWAudio_wpclsQueryDefaultHelp M_CWAudioStream_parent_M_CWAudio_wpclsQueryDefaultHelp
502 #endif /* parent_M_CWAudio_wpclsQueryDefaultHelp */
503#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp */
504#ifndef parent_wpclsQueryDefaultHelp
505 #define parent_wpclsQueryDefaultHelp M_CWAudioStream_parent_M_CWAudio_wpclsQueryDefaultHelp
506#endif /* parent_wpclsQueryDefaultHelp */
507#define M_CWAudioStream_parents_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) (\
508 M_CWAudioStream_parent_M_CWAudio_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary))
509
510/*
511 * Overridden method: wpclsQueryTitle
512 */
513#pragma linkage(cwastreamM_wpclsQueryTitle, system)
514SOM_Scope PSZ SOMLINK cwastreamM_wpclsQueryTitle(M_CWAudioStream *somSelf);
515static char *somMN_M_CWAudioStreamwpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
516static somId somId_M_CWAudioStreamwpclsQueryTitle = &somMN_M_CWAudioStreamwpclsQueryTitle;
517#ifdef somId_wpclsQueryTitle
518#undef somId_wpclsQueryTitle
519#else
520#define somId_wpclsQueryTitle somId_M_CWAudioStreamwpclsQueryTitle
521#endif
522static somMethodProc* M_CWAudioStream_parent_M_CWAudio_wpclsQueryTitle_resolved;
523#define M_CWAudioStream_parent_M_CWAudio_wpclsQueryTitle(somSelf) \
524 ((( somTD_M_WPObject_wpclsQueryTitle ) \
525 M_CWAudioStream_parent_M_CWAudio_wpclsQueryTitle_resolved) \
526 (somSelf))
527#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryTitle
528 #ifdef parent_M_CWAudio_wpclsQueryTitle
529 #undef parent_M_CWAudio_wpclsQueryTitle
530 #define SOMGD_pmc_M_CWAudio_wpclsQueryTitle 1
531 #else
532 #define parent_M_CWAudio_wpclsQueryTitle M_CWAudioStream_parent_M_CWAudio_wpclsQueryTitle
533 #endif /* parent_M_CWAudio_wpclsQueryTitle */
534#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryTitle */
535#ifndef parent_wpclsQueryTitle
536 #define parent_wpclsQueryTitle M_CWAudioStream_parent_M_CWAudio_wpclsQueryTitle
537#endif /* parent_wpclsQueryTitle */
538#define M_CWAudioStream_parents_wpclsQueryTitle(somSelf) (\
539 M_CWAudioStream_parent_M_CWAudio_wpclsQueryTitle(somSelf))
540
541/*
542 * Overridden method: wpclsQueryIconData
543 */
544#pragma linkage(cwastreamM_wpclsQueryIconData, system)
545SOM_Scope ULONG SOMLINK cwastreamM_wpclsQueryIconData(M_CWAudioStream *somSelf,
546 PICONINFO pIconInfo);
547static char *somMN_M_CWAudioStreamwpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
548static somId somId_M_CWAudioStreamwpclsQueryIconData = &somMN_M_CWAudioStreamwpclsQueryIconData;
549#ifdef somId_wpclsQueryIconData
550#undef somId_wpclsQueryIconData
551#else
552#define somId_wpclsQueryIconData somId_M_CWAudioStreamwpclsQueryIconData
553#endif
554static somMethodProc* M_CWAudioStream_parent_M_CWAudio_wpclsQueryIconData_resolved;
555#define M_CWAudioStream_parent_M_CWAudio_wpclsQueryIconData(somSelf,pIconInfo) \
556 ((( somTD_M_WPObject_wpclsQueryIconData ) \
557 M_CWAudioStream_parent_M_CWAudio_wpclsQueryIconData_resolved) \
558 (somSelf,pIconInfo))
559#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryIconData
560 #ifdef parent_M_CWAudio_wpclsQueryIconData
561 #undef parent_M_CWAudio_wpclsQueryIconData
562 #define SOMGD_pmc_M_CWAudio_wpclsQueryIconData 1
563 #else
564 #define parent_M_CWAudio_wpclsQueryIconData M_CWAudioStream_parent_M_CWAudio_wpclsQueryIconData
565 #endif /* parent_M_CWAudio_wpclsQueryIconData */
566#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryIconData */
567#ifndef parent_wpclsQueryIconData
568 #define parent_wpclsQueryIconData M_CWAudioStream_parent_M_CWAudio_wpclsQueryIconData
569#endif /* parent_wpclsQueryIconData */
570#define M_CWAudioStream_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
571 M_CWAudioStream_parent_M_CWAudio_wpclsQueryIconData(somSelf,pIconInfo))
572
573/*
574 * Initialize the class data structure
575 */
576SOMEXTERN struct M_CWAudioStreamClassDataStructure SOMDLINK M_CWAudioStreamClassData = {(SOMAny *) NULL};
577
578/*
579 * Define the C class data structure
580 */
581SOMEXTERN struct M_CWAudioStreamCClassDataStructure SOMDLINK M_CWAudioStreamCClassData = {(somMethodTabs) NULL};
582
583/*
584 * Routines and Structures to create the class object
585 */
586
587
588/*
589 * Declare the Override Methods table.
590 */
591static somOverrideMethod_t M_CWAudioStreamOM[] = {
592 { &somId_M_CWAudioStreamwpclsQueryInstanceType,
593 (somMethodProc *) cwastreamM_wpclsQueryInstanceType },
594 { &somId_M_CWAudioStreamwpclsQueryDefaultHelp,
595 (somMethodProc *) cwastreamM_wpclsQueryDefaultHelp },
596 { &somId_M_CWAudioStreamwpclsQueryTitle,
597 (somMethodProc *) cwastreamM_wpclsQueryTitle },
598 { &somId_M_CWAudioStreamwpclsQueryIconData,
599 (somMethodProc *) cwastreamM_wpclsQueryIconData },
600};
601
602
603/*
604 * Initializers for class Ids
605 */
606static char * somCN_M_CWAudioStream = "M_CWAudioStream";
607static char * somPCN_M_CWAudioStream_M_CWAudio = "M_CWAudio";
608
609static somId somPCM_CWAudioStream[] = {
610 &somPCN_M_CWAudioStream_M_CWAudio,
611};
612
613static somStaticClassInfo M_CWAudioStreamSCI = {
614 4, 0, 4, 0, 0, 0,
615 M_CWAudioStream_MajorVersion, M_CWAudioStream_MinorVersion,
616 0, M_CWAudioStream_MaxNoMethods, 1,
617 &somCN_M_CWAudioStream,
618 (somId) NULL, 1,
619 somPCM_CWAudioStream,
620 (somClassDataStructure *) &M_CWAudioStreamClassData,
621 (somCClassDataStructure *) &M_CWAudioStreamCClassData,
622 (somStaticMethod_t *) NULL, M_CWAudioStreamOM,
623 (char *) NULL,
624 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
625 (somVarargsFuncs_t *) NULL,
626 (somTP_somClassInitFunc *) NULL,
627 0, /* type code alignment */
628 -1, /* use parents as directinitclasses */
629 0, /* no explicit directinitclasses */
630 0, /* number of general method entries */
631 (somMethods_t *) NULL,
632 0, /* no public data offset */
633 0, /* no sci development level check */
634 0, /* number of SelectInheritedMethods */
635 0, /* no SelectInheritedMethods */
636 0, /* number of classdata entries */
637 0, /* no entry names provided currently */
638 0, /* number of migrated methods */
639 0, /* no migrated method implementations */
640 0, /* number of initializers */
641 0, /* no initializers */
642 0, /* used to identify a DTS class */
643 0, /* used to register dynamically computed info */
644};
645
646
647/*
648 * Class Creation and Initialization
649 */
650
651SOMClass * SOMLINK M_CWAudioStreamNewClass (integer4 somtmajorVersion,
652 integer4 somtminorVersion)
653{
654 SOMClass *result;
655 M_CWAudioNewClass(M_CWAudio_MajorVersion,M_CWAudio_MinorVersion); /* static reference */
656 result = somBuildClass(1,&M_CWAudioStreamSCI, somtmajorVersion, somtminorVersion);
657 M_CWAudioStream_parent_M_CWAudio_wpclsQueryIconData_resolved =
658 somParentNumResolve(M_CWAudioStreamCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
659 M_CWAudioStream_parent_M_CWAudio_wpclsQueryTitle_resolved =
660 somParentNumResolve(M_CWAudioStreamCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
661 M_CWAudioStream_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved =
662 somParentNumResolve(M_CWAudioStreamCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultHelp);
663 M_CWAudioStream_parent_M_CWAudio_wpclsQueryInstanceType_resolved =
664 somParentNumResolve(M_CWAudioStreamCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceType);
665 return result;
666}
667
668/*
669 * Functions for attributes.
670 */
671
672#endif /* Primary Implementation Support */
673#pragma checkout(resume)
674
675#endif /* SOM_M_CWAudioStream_ih */
Note: See TracBrowser for help on using the repository browser.