source: branches/v2.9/classes_chris_names/include/cwaif.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: 16.4 KB
Line 
1
2/*
3 * This file was generated by the SOM Compiler.
4 * FileName: include\cwaif.ih.
5 * Generated using:
6 * SOM Precompiler somipc: 2.29.1.7
7 * SOM Emitter emitih: 2.42
8 */
9
10/*
11 *
12 * cwaif.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_CWAIF_ih
24#define SOM_CWAIF_ih
25
26#pragma checkout(suspend)
27
28#include <cwaif.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 CWAIFCClassData.parentMtab
43#endif /* SOM_CurrentClass */
44
45#define CWAIF_MaxNoMethods 0
46
47/*
48 * -- Instance data
49 */
50typedef void CWAIFData;
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(CWAIF_Class_Source) || defined(SOM_Module_cwaif_Source))
60
61/*
62 * Trace/Debug macro
63 */
64#ifndef CWAIFMethodDebug
65 #define CWAIFMethodDebug(c,m) SOMMethodDebug(c,m)
66#endif /* CWAIFMethodDebug */
67
68/*
69 * Current class macros for Instance and Meta classes.
70 */
71#undef SOMMeta
72#define SOMMeta M_CWAIFCClassData.parentMtab
73#undef SOMInstance
74#define SOMInstance CWAIFCClassData.parentMtab
75
76#ifndef M_CWAIF_Class_Source
77 #define M_CWAIF_Class_Source
78#endif /* M_CWAIF_Class_Source */
79
80/*
81 * Initialize the class data structure
82 */
83SOMEXTERN struct CWAIFClassDataStructure SOMDLINK CWAIFClassData = {(SOMAny *) NULL};
84
85/*
86 * Define the C class data structure
87 */
88SOMEXTERN struct CWAIFCClassDataStructure SOMDLINK CWAIFCClassData = {(somMethodTabs) NULL};
89
90/*
91 * Routines and Structures to create the class object
92 */
93
94
95/*
96 * Initializers for class Ids
97 */
98static char * somCN_CWAIF = "CWAIF";
99#ifndef somEMC_M_CWAIF_defined
100#define somEMC_M_CWAIF_defined
101static char * somEMC_M_CWAIF = "M_CWAIF";
102#endif
103static char * somPCN_CWAIF_CWAudio = "CWAudio";
104
105static somId somPCCWAIF[] = {
106 &somPCN_CWAIF_CWAudio,
107};
108
109static somStaticClassInfo CWAIFSCI = {
110 4, 0, 0, 0, 0, 0,
111 CWAIF_MajorVersion, CWAIF_MinorVersion,
112 0, CWAIF_MaxNoMethods, 1,
113 &somCN_CWAIF,
114 &somEMC_M_CWAIF, 0,
115 somPCCWAIF,
116 (somClassDataStructure *) &CWAIFClassData,
117 (somCClassDataStructure *) &CWAIFCClassData,
118 (somStaticMethod_t *) NULL, (somOverrideMethod_t *) NULL,
119 (char *) NULL,
120 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
121 (somVarargsFuncs_t *) NULL,
122 (somTP_somClassInitFunc *) NULL,
123 0, /* type code alignment */
124 -1, /* use parents as directinitclasses */
125 0, /* no explicit directinitclasses */
126 0, /* number of general method entries */
127 (somMethods_t *) NULL,
128 0, /* no public data offset */
129 0, /* no sci development level check */
130 0, /* number of SelectInheritedMethods */
131 0, /* no SelectInheritedMethods */
132 0, /* number of classdata entries */
133 0, /* no entry names provided currently */
134 0, /* number of migrated methods */
135 0, /* no migrated method implementations */
136 0, /* number of initializers */
137 0, /* no initializers */
138 0, /* used to identify a DTS class */
139 0, /* used to register dynamically computed info */
140};
141
142
143/*
144 * Class Creation and Initialization
145 */
146
147SOMClass * SOMLINK CWAIFNewClass (integer4 somtmajorVersion,
148 integer4 somtminorVersion)
149{
150 SOMClass *result;
151 CWAudioNewClass(CWAudio_MajorVersion,CWAudio_MinorVersion); /* static reference */
152 /* Explicit metaclass, so get it */
153 M_CWAIFNewClass(M_CWAIF_MajorVersion,M_CWAIF_MinorVersion); /* static reference */
154 result = somBuildClass(1,&CWAIFSCI, somtmajorVersion, somtminorVersion);
155 return result;
156}
157
158/*
159 * Functions for attributes.
160 */
161
162#endif /* Primary Implementation Support */
163#pragma checkout(resume)
164
165#endif /* SOM_CWAIF_ih */
166
167/*
168 * -- By default, for classes declared using IDL,
169 * -- this emitter doesn't define redispatch/apply stubs.
170 * -- Instead, it requests that the SOM kernel produce them.
171 * -- To override this default, use the "notc" modifier.
172 */
173
174#ifndef SOM_M_CWAIF_ih
175#define SOM_M_CWAIF_ih
176
177#pragma checkout(suspend)
178
179#include <cwaif.h>
180
181/*
182 * Set the scope of methods functions
183 */
184#ifndef SOM_Scope
185#ifdef __cplusplus
186 #define SOM_Scope extern "C"
187#else
188 #define SOM_Scope extern
189#endif /* __cplusplus */
190#endif /* SOM_Scope */
191
192#ifndef SOM_CurrentClass
193 #define SOM_CurrentClass M_CWAIFCClassData.parentMtab
194#endif /* SOM_CurrentClass */
195
196#define M_CWAIF_MaxNoMethods 0
197
198/*
199 * -- Instance data
200 */
201typedef void M_CWAIFData;
202
203/*
204 * This class introduces no instance data, so no GetData macro is provided
205 */
206
207/*
208 * Primary Implementation File Support
209 */
210#if (defined(CWAIF_Class_Source) || defined(M_CWAIF_Class_Source) || defined(SOM_Module_cwaif_Source))
211
212/*
213 * Trace/Debug macro
214 */
215#ifndef M_CWAIFMethodDebug
216 #define M_CWAIFMethodDebug(c,m) SOMMethodDebug(c,m)
217#endif /* M_CWAIFMethodDebug */
218
219/*
220 * Current class macros for Instance and Meta classes.
221 */
222
223/*
224 * Overridden method: wpclsQueryInstanceType
225 */
226#pragma linkage(cwaifM_wpclsQueryInstanceType, system)
227SOM_Scope PSZ SOMLINK cwaifM_wpclsQueryInstanceType(M_CWAIF *somSelf);
228static char *somMN_M_CWAIFwpclsQueryInstanceType = "M_WPFileSystem::wpclsQueryInstanceType";
229static somId somId_M_CWAIFwpclsQueryInstanceType = &somMN_M_CWAIFwpclsQueryInstanceType;
230#ifdef somId_wpclsQueryInstanceType
231#undef somId_wpclsQueryInstanceType
232#else
233#define somId_wpclsQueryInstanceType somId_M_CWAIFwpclsQueryInstanceType
234#endif
235static somMethodProc* M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceType_resolved;
236#define M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceType(somSelf) \
237 ((( somTD_M_WPFileSystem_wpclsQueryInstanceType ) \
238 M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceType_resolved) \
239 (somSelf))
240#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType
241 #ifdef parent_M_CWAudio_wpclsQueryInstanceType
242 #undef parent_M_CWAudio_wpclsQueryInstanceType
243 #define SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType 1
244 #else
245 #define parent_M_CWAudio_wpclsQueryInstanceType M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceType
246 #endif /* parent_M_CWAudio_wpclsQueryInstanceType */
247#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryInstanceType */
248#ifndef parent_wpclsQueryInstanceType
249 #define parent_wpclsQueryInstanceType M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceType
250#endif /* parent_wpclsQueryInstanceType */
251#define M_CWAIF_parents_wpclsQueryInstanceType(somSelf) (\
252 M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceType(somSelf))
253
254/*
255 * Overridden method: wpclsQueryInstanceFilter
256 */
257#pragma linkage(cwaifM_wpclsQueryInstanceFilter, system)
258SOM_Scope PSZ SOMLINK cwaifM_wpclsQueryInstanceFilter(M_CWAIF *somSelf);
259static char *somMN_M_CWAIFwpclsQueryInstanceFilter = "M_WPFileSystem::wpclsQueryInstanceFilter";
260static somId somId_M_CWAIFwpclsQueryInstanceFilter = &somMN_M_CWAIFwpclsQueryInstanceFilter;
261#ifdef somId_wpclsQueryInstanceFilter
262#undef somId_wpclsQueryInstanceFilter
263#else
264#define somId_wpclsQueryInstanceFilter somId_M_CWAIFwpclsQueryInstanceFilter
265#endif
266static somMethodProc* M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceFilter_resolved;
267#define M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceFilter(somSelf) \
268 ((( somTD_M_WPFileSystem_wpclsQueryInstanceFilter ) \
269 M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceFilter_resolved) \
270 (somSelf))
271#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryInstanceFilter
272 #ifdef parent_M_CWAudio_wpclsQueryInstanceFilter
273 #undef parent_M_CWAudio_wpclsQueryInstanceFilter
274 #define SOMGD_pmc_M_CWAudio_wpclsQueryInstanceFilter 1
275 #else
276 #define parent_M_CWAudio_wpclsQueryInstanceFilter M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceFilter
277 #endif /* parent_M_CWAudio_wpclsQueryInstanceFilter */
278#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryInstanceFilter */
279#ifndef parent_wpclsQueryInstanceFilter
280 #define parent_wpclsQueryInstanceFilter M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceFilter
281#endif /* parent_wpclsQueryInstanceFilter */
282#define M_CWAIF_parents_wpclsQueryInstanceFilter(somSelf) (\
283 M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceFilter(somSelf))
284
285/*
286 * Overridden method: wpclsQueryDefaultHelp
287 */
288#pragma linkage(cwaifM_wpclsQueryDefaultHelp, system)
289SOM_Scope BOOL SOMLINK cwaifM_wpclsQueryDefaultHelp(M_CWAIF *somSelf,
290 PULONG pHelpPanelId,
291 PSZ pszHelpLibrary);
292static char *somMN_M_CWAIFwpclsQueryDefaultHelp = "M_WPObject::wpclsQueryDefaultHelp";
293static somId somId_M_CWAIFwpclsQueryDefaultHelp = &somMN_M_CWAIFwpclsQueryDefaultHelp;
294#ifdef somId_wpclsQueryDefaultHelp
295#undef somId_wpclsQueryDefaultHelp
296#else
297#define somId_wpclsQueryDefaultHelp somId_M_CWAIFwpclsQueryDefaultHelp
298#endif
299static somMethodProc* M_CWAIF_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved;
300#define M_CWAIF_parent_M_CWAudio_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
301 ((( somTD_M_WPObject_wpclsQueryDefaultHelp ) \
302 M_CWAIF_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved) \
303 (somSelf,pHelpPanelId,pszHelpLibrary))
304#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp
305 #ifdef parent_M_CWAudio_wpclsQueryDefaultHelp
306 #undef parent_M_CWAudio_wpclsQueryDefaultHelp
307 #define SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp 1
308 #else
309 #define parent_M_CWAudio_wpclsQueryDefaultHelp M_CWAIF_parent_M_CWAudio_wpclsQueryDefaultHelp
310 #endif /* parent_M_CWAudio_wpclsQueryDefaultHelp */
311#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryDefaultHelp */
312#ifndef parent_wpclsQueryDefaultHelp
313 #define parent_wpclsQueryDefaultHelp M_CWAIF_parent_M_CWAudio_wpclsQueryDefaultHelp
314#endif /* parent_wpclsQueryDefaultHelp */
315#define M_CWAIF_parents_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) (\
316 M_CWAIF_parent_M_CWAudio_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary))
317
318/*
319 * Overridden method: wpclsQueryTitle
320 */
321#pragma linkage(cwaifM_wpclsQueryTitle, system)
322SOM_Scope PSZ SOMLINK cwaifM_wpclsQueryTitle(M_CWAIF *somSelf);
323static char *somMN_M_CWAIFwpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
324static somId somId_M_CWAIFwpclsQueryTitle = &somMN_M_CWAIFwpclsQueryTitle;
325#ifdef somId_wpclsQueryTitle
326#undef somId_wpclsQueryTitle
327#else
328#define somId_wpclsQueryTitle somId_M_CWAIFwpclsQueryTitle
329#endif
330static somMethodProc* M_CWAIF_parent_M_CWAudio_wpclsQueryTitle_resolved;
331#define M_CWAIF_parent_M_CWAudio_wpclsQueryTitle(somSelf) \
332 ((( somTD_M_WPObject_wpclsQueryTitle ) \
333 M_CWAIF_parent_M_CWAudio_wpclsQueryTitle_resolved) \
334 (somSelf))
335#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryTitle
336 #ifdef parent_M_CWAudio_wpclsQueryTitle
337 #undef parent_M_CWAudio_wpclsQueryTitle
338 #define SOMGD_pmc_M_CWAudio_wpclsQueryTitle 1
339 #else
340 #define parent_M_CWAudio_wpclsQueryTitle M_CWAIF_parent_M_CWAudio_wpclsQueryTitle
341 #endif /* parent_M_CWAudio_wpclsQueryTitle */
342#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryTitle */
343#ifndef parent_wpclsQueryTitle
344 #define parent_wpclsQueryTitle M_CWAIF_parent_M_CWAudio_wpclsQueryTitle
345#endif /* parent_wpclsQueryTitle */
346#define M_CWAIF_parents_wpclsQueryTitle(somSelf) (\
347 M_CWAIF_parent_M_CWAudio_wpclsQueryTitle(somSelf))
348
349/*
350 * Overridden method: wpclsQueryIconData
351 */
352#pragma linkage(cwaifM_wpclsQueryIconData, system)
353SOM_Scope ULONG SOMLINK cwaifM_wpclsQueryIconData(M_CWAIF *somSelf,
354 PICONINFO pIconInfo);
355static char *somMN_M_CWAIFwpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
356static somId somId_M_CWAIFwpclsQueryIconData = &somMN_M_CWAIFwpclsQueryIconData;
357#ifdef somId_wpclsQueryIconData
358#undef somId_wpclsQueryIconData
359#else
360#define somId_wpclsQueryIconData somId_M_CWAIFwpclsQueryIconData
361#endif
362static somMethodProc* M_CWAIF_parent_M_CWAudio_wpclsQueryIconData_resolved;
363#define M_CWAIF_parent_M_CWAudio_wpclsQueryIconData(somSelf,pIconInfo) \
364 ((( somTD_M_WPObject_wpclsQueryIconData ) \
365 M_CWAIF_parent_M_CWAudio_wpclsQueryIconData_resolved) \
366 (somSelf,pIconInfo))
367#ifndef SOMGD_pmc_M_CWAudio_wpclsQueryIconData
368 #ifdef parent_M_CWAudio_wpclsQueryIconData
369 #undef parent_M_CWAudio_wpclsQueryIconData
370 #define SOMGD_pmc_M_CWAudio_wpclsQueryIconData 1
371 #else
372 #define parent_M_CWAudio_wpclsQueryIconData M_CWAIF_parent_M_CWAudio_wpclsQueryIconData
373 #endif /* parent_M_CWAudio_wpclsQueryIconData */
374#endif /* SOMGD_pmc_M_CWAudio_wpclsQueryIconData */
375#ifndef parent_wpclsQueryIconData
376 #define parent_wpclsQueryIconData M_CWAIF_parent_M_CWAudio_wpclsQueryIconData
377#endif /* parent_wpclsQueryIconData */
378#define M_CWAIF_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
379 M_CWAIF_parent_M_CWAudio_wpclsQueryIconData(somSelf,pIconInfo))
380
381/*
382 * Initialize the class data structure
383 */
384SOMEXTERN struct M_CWAIFClassDataStructure SOMDLINK M_CWAIFClassData = {(SOMAny *) NULL};
385
386/*
387 * Define the C class data structure
388 */
389SOMEXTERN struct M_CWAIFCClassDataStructure SOMDLINK M_CWAIFCClassData = {(somMethodTabs) NULL};
390
391/*
392 * Routines and Structures to create the class object
393 */
394
395
396/*
397 * Declare the Override Methods table.
398 */
399static somOverrideMethod_t M_CWAIFOM[] = {
400 { &somId_M_CWAIFwpclsQueryInstanceType,
401 (somMethodProc *) cwaifM_wpclsQueryInstanceType },
402 { &somId_M_CWAIFwpclsQueryInstanceFilter,
403 (somMethodProc *) cwaifM_wpclsQueryInstanceFilter },
404 { &somId_M_CWAIFwpclsQueryDefaultHelp,
405 (somMethodProc *) cwaifM_wpclsQueryDefaultHelp },
406 { &somId_M_CWAIFwpclsQueryTitle,
407 (somMethodProc *) cwaifM_wpclsQueryTitle },
408 { &somId_M_CWAIFwpclsQueryIconData,
409 (somMethodProc *) cwaifM_wpclsQueryIconData },
410};
411
412
413/*
414 * Initializers for class Ids
415 */
416static char * somCN_M_CWAIF = "M_CWAIF";
417static char * somPCN_M_CWAIF_M_CWAudio = "M_CWAudio";
418
419static somId somPCM_CWAIF[] = {
420 &somPCN_M_CWAIF_M_CWAudio,
421};
422
423static somStaticClassInfo M_CWAIFSCI = {
424 4, 0, 5, 0, 0, 0,
425 M_CWAIF_MajorVersion, M_CWAIF_MinorVersion,
426 0, M_CWAIF_MaxNoMethods, 1,
427 &somCN_M_CWAIF,
428 (somId) NULL, 1,
429 somPCM_CWAIF,
430 (somClassDataStructure *) &M_CWAIFClassData,
431 (somCClassDataStructure *) &M_CWAIFCClassData,
432 (somStaticMethod_t *) NULL, M_CWAIFOM,
433 (char *) NULL,
434 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
435 (somVarargsFuncs_t *) NULL,
436 (somTP_somClassInitFunc *) NULL,
437 0, /* type code alignment */
438 -1, /* use parents as directinitclasses */
439 0, /* no explicit directinitclasses */
440 0, /* number of general method entries */
441 (somMethods_t *) NULL,
442 0, /* no public data offset */
443 0, /* no sci development level check */
444 0, /* number of SelectInheritedMethods */
445 0, /* no SelectInheritedMethods */
446 0, /* number of classdata entries */
447 0, /* no entry names provided currently */
448 0, /* number of migrated methods */
449 0, /* no migrated method implementations */
450 0, /* number of initializers */
451 0, /* no initializers */
452 0, /* used to identify a DTS class */
453 0, /* used to register dynamically computed info */
454};
455
456
457/*
458 * Class Creation and Initialization
459 */
460
461SOMClass * SOMLINK M_CWAIFNewClass (integer4 somtmajorVersion,
462 integer4 somtminorVersion)
463{
464 SOMClass *result;
465 M_CWAudioNewClass(M_CWAudio_MajorVersion,M_CWAudio_MinorVersion); /* static reference */
466 result = somBuildClass(1,&M_CWAIFSCI, somtmajorVersion, somtminorVersion);
467 M_CWAIF_parent_M_CWAudio_wpclsQueryIconData_resolved =
468 somParentNumResolve(M_CWAIFCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
469 M_CWAIF_parent_M_CWAudio_wpclsQueryTitle_resolved =
470 somParentNumResolve(M_CWAIFCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
471 M_CWAIF_parent_M_CWAudio_wpclsQueryDefaultHelp_resolved =
472 somParentNumResolve(M_CWAIFCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultHelp);
473 M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceFilter_resolved =
474 somParentNumResolve(M_CWAIFCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceFilter);
475 M_CWAIF_parent_M_CWAudio_wpclsQueryInstanceType_resolved =
476 somParentNumResolve(M_CWAIFCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceType);
477 return result;
478}
479
480/*
481 * Functions for attributes.
482 */
483
484#endif /* Primary Implementation Support */
485#pragma checkout(resume)
486
487#endif /* SOM_M_CWAIF_ih */
Note: See TracBrowser for help on using the repository browser.