source: branches/v2.9/classes_chris_names/include/cwmov.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\cwmov.ih.
5 * Generated using:
6 * SOM Precompiler somipc: 2.29.1.7
7 * SOM Emitter emitih: 2.42
8 */
9
10/*
11 *
12 * CWmov.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_CWMOV_ih
24#define SOM_CWMOV_ih
25
26#pragma checkout(suspend)
27
28#include <cwmov.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 CWMOVCClassData.parentMtab
43#endif /* SOM_CurrentClass */
44
45#define CWMOV_MaxNoMethods 0
46
47/*
48 * -- Instance data
49 */
50typedef void CWMOVData;
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(CWMOV_Class_Source) || defined(SOM_Module_cwmov_Source))
60
61/*
62 * Trace/Debug macro
63 */
64#ifndef CWMOVMethodDebug
65 #define CWMOVMethodDebug(c,m) SOMMethodDebug(c,m)
66#endif /* CWMOVMethodDebug */
67
68/*
69 * Current class macros for Instance and Meta classes.
70 */
71#undef SOMMeta
72#define SOMMeta M_CWMOVCClassData.parentMtab
73#undef SOMInstance
74#define SOMInstance CWMOVCClassData.parentMtab
75
76#ifndef M_CWMOV_Class_Source
77 #define M_CWMOV_Class_Source
78#endif /* M_CWMOV_Class_Source */
79
80/*
81 * Initialize the class data structure
82 */
83SOMEXTERN struct CWMOVClassDataStructure SOMDLINK CWMOVClassData = {(SOMAny *) NULL};
84
85/*
86 * Define the C class data structure
87 */
88SOMEXTERN struct CWMOVCClassDataStructure SOMDLINK CWMOVCClassData = {(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_CWMOV = "CWMOV";
99#ifndef somEMC_M_CWMOV_defined
100#define somEMC_M_CWMOV_defined
101static char * somEMC_M_CWMOV = "M_CWMOV";
102#endif
103static char * somPCN_CWMOV_CWVideo = "CWVideo";
104
105static somId somPCCWMOV[] = {
106 &somPCN_CWMOV_CWVideo,
107};
108
109static somStaticClassInfo CWMOVSCI = {
110 4, 0, 0, 0, 0, 0,
111 CWMOV_MajorVersion, CWMOV_MinorVersion,
112 0, CWMOV_MaxNoMethods, 1,
113 &somCN_CWMOV,
114 &somEMC_M_CWMOV, 0,
115 somPCCWMOV,
116 (somClassDataStructure *) &CWMOVClassData,
117 (somCClassDataStructure *) &CWMOVCClassData,
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 CWMOVNewClass (integer4 somtmajorVersion,
148 integer4 somtminorVersion)
149{
150 SOMClass *result;
151 CWVideoNewClass(CWVideo_MajorVersion,CWVideo_MinorVersion); /* static reference */
152 /* Explicit metaclass, so get it */
153 M_CWMOVNewClass(M_CWMOV_MajorVersion,M_CWMOV_MinorVersion); /* static reference */
154 result = somBuildClass(1,&CWMOVSCI, 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_CWMOV_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_CWMOV_ih
175#define SOM_M_CWMOV_ih
176
177#pragma checkout(suspend)
178
179#include <cwmov.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_CWMOVCClassData.parentMtab
194#endif /* SOM_CurrentClass */
195
196#define M_CWMOV_MaxNoMethods 0
197
198/*
199 * -- Instance data
200 */
201typedef void M_CWMOVData;
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(CWMOV_Class_Source) || defined(M_CWMOV_Class_Source) || defined(SOM_Module_cwmov_Source))
211
212/*
213 * Trace/Debug macro
214 */
215#ifndef M_CWMOVMethodDebug
216 #define M_CWMOVMethodDebug(c,m) SOMMethodDebug(c,m)
217#endif /* M_CWMOVMethodDebug */
218
219/*
220 * Current class macros for Instance and Meta classes.
221 */
222
223/*
224 * Overridden method: wpclsQueryTitle
225 */
226#pragma linkage(cwmovM_wpclsQueryTitle, system)
227SOM_Scope PSZ SOMLINK cwmovM_wpclsQueryTitle(M_CWMOV *somSelf);
228static char *somMN_M_CWMOVwpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
229static somId somId_M_CWMOVwpclsQueryTitle = &somMN_M_CWMOVwpclsQueryTitle;
230#ifdef somId_wpclsQueryTitle
231#undef somId_wpclsQueryTitle
232#else
233#define somId_wpclsQueryTitle somId_M_CWMOVwpclsQueryTitle
234#endif
235static somMethodProc* M_CWMOV_parent_M_CWVideo_wpclsQueryTitle_resolved;
236#define M_CWMOV_parent_M_CWVideo_wpclsQueryTitle(somSelf) \
237 ((( somTD_M_WPObject_wpclsQueryTitle ) \
238 M_CWMOV_parent_M_CWVideo_wpclsQueryTitle_resolved) \
239 (somSelf))
240#ifndef SOMGD_pmc_M_CWVideo_wpclsQueryTitle
241 #ifdef parent_M_CWVideo_wpclsQueryTitle
242 #undef parent_M_CWVideo_wpclsQueryTitle
243 #define SOMGD_pmc_M_CWVideo_wpclsQueryTitle 1
244 #else
245 #define parent_M_CWVideo_wpclsQueryTitle M_CWMOV_parent_M_CWVideo_wpclsQueryTitle
246 #endif /* parent_M_CWVideo_wpclsQueryTitle */
247#endif /* SOMGD_pmc_M_CWVideo_wpclsQueryTitle */
248#ifndef parent_wpclsQueryTitle
249 #define parent_wpclsQueryTitle M_CWMOV_parent_M_CWVideo_wpclsQueryTitle
250#endif /* parent_wpclsQueryTitle */
251#define M_CWMOV_parents_wpclsQueryTitle(somSelf) (\
252 M_CWMOV_parent_M_CWVideo_wpclsQueryTitle(somSelf))
253
254/*
255 * Overridden method: wpclsQueryInstanceType
256 */
257#pragma linkage(cwmovM_wpclsQueryInstanceType, system)
258SOM_Scope PSZ SOMLINK cwmovM_wpclsQueryInstanceType(M_CWMOV *somSelf);
259static char *somMN_M_CWMOVwpclsQueryInstanceType = "M_WPFileSystem::wpclsQueryInstanceType";
260static somId somId_M_CWMOVwpclsQueryInstanceType = &somMN_M_CWMOVwpclsQueryInstanceType;
261#ifdef somId_wpclsQueryInstanceType
262#undef somId_wpclsQueryInstanceType
263#else
264#define somId_wpclsQueryInstanceType somId_M_CWMOVwpclsQueryInstanceType
265#endif
266static somMethodProc* M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceType_resolved;
267#define M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceType(somSelf) \
268 ((( somTD_M_WPFileSystem_wpclsQueryInstanceType ) \
269 M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceType_resolved) \
270 (somSelf))
271#ifndef SOMGD_pmc_M_CWVideo_wpclsQueryInstanceType
272 #ifdef parent_M_CWVideo_wpclsQueryInstanceType
273 #undef parent_M_CWVideo_wpclsQueryInstanceType
274 #define SOMGD_pmc_M_CWVideo_wpclsQueryInstanceType 1
275 #else
276 #define parent_M_CWVideo_wpclsQueryInstanceType M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceType
277 #endif /* parent_M_CWVideo_wpclsQueryInstanceType */
278#endif /* SOMGD_pmc_M_CWVideo_wpclsQueryInstanceType */
279#ifndef parent_wpclsQueryInstanceType
280 #define parent_wpclsQueryInstanceType M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceType
281#endif /* parent_wpclsQueryInstanceType */
282#define M_CWMOV_parents_wpclsQueryInstanceType(somSelf) (\
283 M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceType(somSelf))
284
285/*
286 * Overridden method: wpclsQueryInstanceFilter
287 */
288#pragma linkage(cwmovM_wpclsQueryInstanceFilter, system)
289SOM_Scope PSZ SOMLINK cwmovM_wpclsQueryInstanceFilter(M_CWMOV *somSelf);
290static char *somMN_M_CWMOVwpclsQueryInstanceFilter = "M_WPFileSystem::wpclsQueryInstanceFilter";
291static somId somId_M_CWMOVwpclsQueryInstanceFilter = &somMN_M_CWMOVwpclsQueryInstanceFilter;
292#ifdef somId_wpclsQueryInstanceFilter
293#undef somId_wpclsQueryInstanceFilter
294#else
295#define somId_wpclsQueryInstanceFilter somId_M_CWMOVwpclsQueryInstanceFilter
296#endif
297static somMethodProc* M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceFilter_resolved;
298#define M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceFilter(somSelf) \
299 ((( somTD_M_WPFileSystem_wpclsQueryInstanceFilter ) \
300 M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceFilter_resolved) \
301 (somSelf))
302#ifndef SOMGD_pmc_M_CWVideo_wpclsQueryInstanceFilter
303 #ifdef parent_M_CWVideo_wpclsQueryInstanceFilter
304 #undef parent_M_CWVideo_wpclsQueryInstanceFilter
305 #define SOMGD_pmc_M_CWVideo_wpclsQueryInstanceFilter 1
306 #else
307 #define parent_M_CWVideo_wpclsQueryInstanceFilter M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceFilter
308 #endif /* parent_M_CWVideo_wpclsQueryInstanceFilter */
309#endif /* SOMGD_pmc_M_CWVideo_wpclsQueryInstanceFilter */
310#ifndef parent_wpclsQueryInstanceFilter
311 #define parent_wpclsQueryInstanceFilter M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceFilter
312#endif /* parent_wpclsQueryInstanceFilter */
313#define M_CWMOV_parents_wpclsQueryInstanceFilter(somSelf) (\
314 M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceFilter(somSelf))
315
316/*
317 * Overridden method: wpclsQueryIconData
318 */
319#pragma linkage(cwmovM_wpclsQueryIconData, system)
320SOM_Scope ULONG SOMLINK cwmovM_wpclsQueryIconData(M_CWMOV *somSelf,
321 PICONINFO pIconInfo);
322static char *somMN_M_CWMOVwpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
323static somId somId_M_CWMOVwpclsQueryIconData = &somMN_M_CWMOVwpclsQueryIconData;
324#ifdef somId_wpclsQueryIconData
325#undef somId_wpclsQueryIconData
326#else
327#define somId_wpclsQueryIconData somId_M_CWMOVwpclsQueryIconData
328#endif
329static somMethodProc* M_CWMOV_parent_M_CWVideo_wpclsQueryIconData_resolved;
330#define M_CWMOV_parent_M_CWVideo_wpclsQueryIconData(somSelf,pIconInfo) \
331 ((( somTD_M_WPObject_wpclsQueryIconData ) \
332 M_CWMOV_parent_M_CWVideo_wpclsQueryIconData_resolved) \
333 (somSelf,pIconInfo))
334#ifndef SOMGD_pmc_M_CWVideo_wpclsQueryIconData
335 #ifdef parent_M_CWVideo_wpclsQueryIconData
336 #undef parent_M_CWVideo_wpclsQueryIconData
337 #define SOMGD_pmc_M_CWVideo_wpclsQueryIconData 1
338 #else
339 #define parent_M_CWVideo_wpclsQueryIconData M_CWMOV_parent_M_CWVideo_wpclsQueryIconData
340 #endif /* parent_M_CWVideo_wpclsQueryIconData */
341#endif /* SOMGD_pmc_M_CWVideo_wpclsQueryIconData */
342#ifndef parent_wpclsQueryIconData
343 #define parent_wpclsQueryIconData M_CWMOV_parent_M_CWVideo_wpclsQueryIconData
344#endif /* parent_wpclsQueryIconData */
345#define M_CWMOV_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
346 M_CWMOV_parent_M_CWVideo_wpclsQueryIconData(somSelf,pIconInfo))
347
348/*
349 * Overridden method: wpclsQueryDefaultHelp
350 */
351#pragma linkage(cwmovM_wpclsQueryDefaultHelp, system)
352SOM_Scope BOOL SOMLINK cwmovM_wpclsQueryDefaultHelp(M_CWMOV *somSelf,
353 PULONG pHelpPanelId,
354 PSZ pszHelpLibrary);
355static char *somMN_M_CWMOVwpclsQueryDefaultHelp = "M_WPObject::wpclsQueryDefaultHelp";
356static somId somId_M_CWMOVwpclsQueryDefaultHelp = &somMN_M_CWMOVwpclsQueryDefaultHelp;
357#ifdef somId_wpclsQueryDefaultHelp
358#undef somId_wpclsQueryDefaultHelp
359#else
360#define somId_wpclsQueryDefaultHelp somId_M_CWMOVwpclsQueryDefaultHelp
361#endif
362static somMethodProc* M_CWMOV_parent_M_CWVideo_wpclsQueryDefaultHelp_resolved;
363#define M_CWMOV_parent_M_CWVideo_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
364 ((( somTD_M_WPObject_wpclsQueryDefaultHelp ) \
365 M_CWMOV_parent_M_CWVideo_wpclsQueryDefaultHelp_resolved) \
366 (somSelf,pHelpPanelId,pszHelpLibrary))
367#ifndef SOMGD_pmc_M_CWVideo_wpclsQueryDefaultHelp
368 #ifdef parent_M_CWVideo_wpclsQueryDefaultHelp
369 #undef parent_M_CWVideo_wpclsQueryDefaultHelp
370 #define SOMGD_pmc_M_CWVideo_wpclsQueryDefaultHelp 1
371 #else
372 #define parent_M_CWVideo_wpclsQueryDefaultHelp M_CWMOV_parent_M_CWVideo_wpclsQueryDefaultHelp
373 #endif /* parent_M_CWVideo_wpclsQueryDefaultHelp */
374#endif /* SOMGD_pmc_M_CWVideo_wpclsQueryDefaultHelp */
375#ifndef parent_wpclsQueryDefaultHelp
376 #define parent_wpclsQueryDefaultHelp M_CWMOV_parent_M_CWVideo_wpclsQueryDefaultHelp
377#endif /* parent_wpclsQueryDefaultHelp */
378#define M_CWMOV_parents_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) (\
379 M_CWMOV_parent_M_CWVideo_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary))
380
381/*
382 * Initialize the class data structure
383 */
384SOMEXTERN struct M_CWMOVClassDataStructure SOMDLINK M_CWMOVClassData = {(SOMAny *) NULL};
385
386/*
387 * Define the C class data structure
388 */
389SOMEXTERN struct M_CWMOVCClassDataStructure SOMDLINK M_CWMOVCClassData = {(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_CWMOVOM[] = {
400 { &somId_M_CWMOVwpclsQueryTitle,
401 (somMethodProc *) cwmovM_wpclsQueryTitle },
402 { &somId_M_CWMOVwpclsQueryInstanceType,
403 (somMethodProc *) cwmovM_wpclsQueryInstanceType },
404 { &somId_M_CWMOVwpclsQueryInstanceFilter,
405 (somMethodProc *) cwmovM_wpclsQueryInstanceFilter },
406 { &somId_M_CWMOVwpclsQueryIconData,
407 (somMethodProc *) cwmovM_wpclsQueryIconData },
408 { &somId_M_CWMOVwpclsQueryDefaultHelp,
409 (somMethodProc *) cwmovM_wpclsQueryDefaultHelp },
410};
411
412
413/*
414 * Initializers for class Ids
415 */
416static char * somCN_M_CWMOV = "M_CWMOV";
417static char * somPCN_M_CWMOV_M_CWVideo = "M_CWVideo";
418
419static somId somPCM_CWMOV[] = {
420 &somPCN_M_CWMOV_M_CWVideo,
421};
422
423static somStaticClassInfo M_CWMOVSCI = {
424 4, 0, 5, 0, 0, 0,
425 M_CWMOV_MajorVersion, M_CWMOV_MinorVersion,
426 0, M_CWMOV_MaxNoMethods, 1,
427 &somCN_M_CWMOV,
428 (somId) NULL, 1,
429 somPCM_CWMOV,
430 (somClassDataStructure *) &M_CWMOVClassData,
431 (somCClassDataStructure *) &M_CWMOVCClassData,
432 (somStaticMethod_t *) NULL, M_CWMOVOM,
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_CWMOVNewClass (integer4 somtmajorVersion,
462 integer4 somtminorVersion)
463{
464 SOMClass *result;
465 M_CWVideoNewClass(M_CWVideo_MajorVersion,M_CWVideo_MinorVersion); /* static reference */
466 result = somBuildClass(1,&M_CWMOVSCI, somtmajorVersion, somtminorVersion);
467 M_CWMOV_parent_M_CWVideo_wpclsQueryDefaultHelp_resolved =
468 somParentNumResolve(M_CWMOVCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryDefaultHelp);
469 M_CWMOV_parent_M_CWVideo_wpclsQueryIconData_resolved =
470 somParentNumResolve(M_CWMOVCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
471 M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceFilter_resolved =
472 somParentNumResolve(M_CWMOVCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceFilter);
473 M_CWMOV_parent_M_CWVideo_wpclsQueryInstanceType_resolved =
474 somParentNumResolve(M_CWMOVCClassData.parentMtab, 1, M_WPFileSystemClassData.wpclsQueryInstanceType);
475 M_CWMOV_parent_M_CWVideo_wpclsQueryTitle_resolved =
476 somParentNumResolve(M_CWMOVCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
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_CWMOV_ih */
Note: See TracBrowser for help on using the repository browser.