source: branches/v2.9/classes_chris_names/include/cwmmdisk.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: 11.1 KB
Line 
1
2/*
3 * This file was generated by the SOM Compiler.
4 * FileName: include\cwmmdisk.ih.
5 * Generated using:
6 * SOM Precompiler somipc: 2.29.1.7
7 * SOM Emitter emitih: 2.42
8 */
9
10/*
11 *
12 * CWdisk.idl:
13 *
14 *
15 */
16
17
18/*
19 * -- By default, for classes declared using IDL,
20 * -- this emitter doesn't define redispatch/apply stubs.
21 * -- Instead, it requests that the SOM kernel produce them.
22 * -- To override this default, use the "notc" modifier.
23 */
24
25#ifndef SOM_CWMMDisk_ih
26#define SOM_CWMMDisk_ih
27
28#pragma checkout(suspend)
29
30#include <cwmmdisk.h>
31
32/*
33 * Set the scope of methods functions
34 */
35#ifndef SOM_Scope
36#ifdef __cplusplus
37 #define SOM_Scope extern "C"
38#else
39 #define SOM_Scope extern
40#endif /* __cplusplus */
41#endif /* SOM_Scope */
42
43#ifndef SOM_CurrentClass
44 #define SOM_CurrentClass CWMMDiskCClassData.parentMtab
45#endif /* SOM_CurrentClass */
46
47#define CWMMDisk_MaxNoMethods 0
48
49/*
50 * -- Instance data
51 */
52typedef void CWMMDiskData;
53
54/*
55 * This class introduces no instance data, so no GetData macro is provided
56 */
57
58/*
59 * Primary Implementation File Support
60 */
61#if (defined(CWMMDisk_Class_Source) || defined(SOM_Module_cwmmdisk_Source))
62
63/*
64 * Trace/Debug macro
65 */
66#ifndef CWMMDiskMethodDebug
67 #define CWMMDiskMethodDebug(c,m) SOMMethodDebug(c,m)
68#endif /* CWMMDiskMethodDebug */
69
70/*
71 * Current class macros for Instance and Meta classes.
72 */
73#undef SOMMeta
74#define SOMMeta M_CWMMDiskCClassData.parentMtab
75#undef SOMInstance
76#define SOMInstance CWMMDiskCClassData.parentMtab
77
78#ifndef M_CWMMDisk_Class_Source
79 #define M_CWMMDisk_Class_Source
80#endif /* M_CWMMDisk_Class_Source */
81
82/*
83 * Overridden method: wpViewObject
84 */
85#pragma linkage(cwmmdisk_wpViewObject, system)
86SOM_Scope HWND SOMLINK cwmmdisk_wpViewObject(CWMMDisk *somSelf,
87 HWND hwndCnr,
88 ULONG ulView,
89 ULONG param);
90static char *somMN_CWMMDiskwpViewObject = "WPObject::wpViewObject";
91static somId somId_CWMMDiskwpViewObject = &somMN_CWMMDiskwpViewObject;
92#ifdef somId_wpViewObject
93#undef somId_wpViewObject
94#else
95#define somId_wpViewObject somId_CWMMDiskwpViewObject
96#endif
97static somMethodProc* CWMMDisk_parent_WPDisk_wpViewObject_resolved;
98#define CWMMDisk_parent_WPDisk_wpViewObject(somSelf,hwndCnr,ulView,param) \
99 ((( somTD_WPObject_wpViewObject ) \
100 CWMMDisk_parent_WPDisk_wpViewObject_resolved) \
101 (somSelf,hwndCnr,ulView,param))
102#ifndef SOMGD_pmc_WPDisk_wpViewObject
103 #ifdef parent_WPDisk_wpViewObject
104 #undef parent_WPDisk_wpViewObject
105 #define SOMGD_pmc_WPDisk_wpViewObject 1
106 #else
107 #define parent_WPDisk_wpViewObject CWMMDisk_parent_WPDisk_wpViewObject
108 #endif /* parent_WPDisk_wpViewObject */
109#endif /* SOMGD_pmc_WPDisk_wpViewObject */
110#ifndef parent_wpViewObject
111 #define parent_wpViewObject CWMMDisk_parent_WPDisk_wpViewObject
112#endif /* parent_wpViewObject */
113#define CWMMDisk_parents_wpViewObject(somSelf,hwndCnr,ulView,param) (\
114 CWMMDisk_parent_WPDisk_wpViewObject(somSelf,hwndCnr,ulView,param))
115
116/*
117 * Initialize the class data structure
118 */
119SOMEXTERN struct CWMMDiskClassDataStructure SOMDLINK CWMMDiskClassData = {(SOMAny *) NULL};
120
121/*
122 * Define the C class data structure
123 */
124SOMEXTERN struct CWMMDiskCClassDataStructure SOMDLINK CWMMDiskCClassData = {(somMethodTabs) NULL};
125
126/*
127 * Routines and Structures to create the class object
128 */
129
130
131/*
132 * Declare the Override Methods table.
133 */
134static somOverrideMethod_t CWMMDiskOM[] = {
135 { &somId_CWMMDiskwpViewObject,
136 (somMethodProc *) cwmmdisk_wpViewObject },
137};
138
139
140/*
141 * Initializers for class Ids
142 */
143static char * somCN_CWMMDisk = "CWMMDisk";
144#ifndef somEMC_M_CWMMDisk_defined
145#define somEMC_M_CWMMDisk_defined
146static char * somEMC_M_CWMMDisk = "M_CWMMDisk";
147#endif
148static char * somPCN_CWMMDisk_WPDisk = "WPDisk";
149
150static somId somPCCWMMDisk[] = {
151 &somPCN_CWMMDisk_WPDisk,
152};
153
154static somStaticClassInfo CWMMDiskSCI = {
155 4, 0, 1, 0, 0, 0,
156 CWMMDisk_MajorVersion, CWMMDisk_MinorVersion,
157 0, CWMMDisk_MaxNoMethods, 1,
158 &somCN_CWMMDisk,
159 &somEMC_M_CWMMDisk, 0,
160 somPCCWMMDisk,
161 (somClassDataStructure *) &CWMMDiskClassData,
162 (somCClassDataStructure *) &CWMMDiskCClassData,
163 (somStaticMethod_t *) NULL, CWMMDiskOM,
164 (char *) NULL,
165 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
166 (somVarargsFuncs_t *) NULL,
167 (somTP_somClassInitFunc *) NULL,
168 0, /* type code alignment */
169 -1, /* use parents as directinitclasses */
170 0, /* no explicit directinitclasses */
171 0, /* number of general method entries */
172 (somMethods_t *) NULL,
173 0, /* no public data offset */
174 0, /* no sci development level check */
175 0, /* number of SelectInheritedMethods */
176 0, /* no SelectInheritedMethods */
177 0, /* number of classdata entries */
178 0, /* no entry names provided currently */
179 0, /* number of migrated methods */
180 0, /* no migrated method implementations */
181 0, /* number of initializers */
182 0, /* no initializers */
183 0, /* used to identify a DTS class */
184 0, /* used to register dynamically computed info */
185};
186
187
188/*
189 * Class Creation and Initialization
190 */
191
192SOMClass * SOMLINK CWMMDiskNewClass (integer4 somtmajorVersion,
193 integer4 somtminorVersion)
194{
195 SOMClass *result;
196 WPDiskNewClass(WPDisk_MajorVersion,WPDisk_MinorVersion); /* static reference */
197 /* Explicit metaclass, so get it */
198 M_CWMMDiskNewClass(M_CWMMDisk_MajorVersion,M_CWMMDisk_MinorVersion); /* static reference */
199 result = somBuildClass(1,&CWMMDiskSCI, somtmajorVersion, somtminorVersion);
200 CWMMDisk_parent_WPDisk_wpViewObject_resolved =
201 somParentNumResolve(CWMMDiskCClassData.parentMtab, 1, WPObjectClassData.wpViewObject);
202 return result;
203}
204
205/*
206 * Functions for attributes.
207 */
208
209#endif /* Primary Implementation Support */
210#pragma checkout(resume)
211
212#endif /* SOM_CWMMDisk_ih */
213
214/*
215 * -- By default, for classes declared using IDL,
216 * -- this emitter doesn't define redispatch/apply stubs.
217 * -- Instead, it requests that the SOM kernel produce them.
218 * -- To override this default, use the "notc" modifier.
219 */
220
221#ifndef SOM_M_CWMMDisk_ih
222#define SOM_M_CWMMDisk_ih
223
224#pragma checkout(suspend)
225
226#include <cwmmdisk.h>
227
228/*
229 * Set the scope of methods functions
230 */
231#ifndef SOM_Scope
232#ifdef __cplusplus
233 #define SOM_Scope extern "C"
234#else
235 #define SOM_Scope extern
236#endif /* __cplusplus */
237#endif /* SOM_Scope */
238
239#ifndef SOM_CurrentClass
240 #define SOM_CurrentClass M_CWMMDiskCClassData.parentMtab
241#endif /* SOM_CurrentClass */
242
243#define M_CWMMDisk_MaxNoMethods 0
244
245/*
246 * -- Instance data
247 */
248typedef void M_CWMMDiskData;
249
250/*
251 * This class introduces no instance data, so no GetData macro is provided
252 */
253
254/*
255 * Primary Implementation File Support
256 */
257#if (defined(CWMMDisk_Class_Source) || defined(M_CWMMDisk_Class_Source) || defined(SOM_Module_cwmmdisk_Source))
258
259/*
260 * Trace/Debug macro
261 */
262#ifndef M_CWMMDiskMethodDebug
263 #define M_CWMMDiskMethodDebug(c,m) SOMMethodDebug(c,m)
264#endif /* M_CWMMDiskMethodDebug */
265
266/*
267 * Current class macros for Instance and Meta classes.
268 */
269
270/*
271 * Overridden method: wpclsQueryTitle
272 */
273#pragma linkage(cwmmdiskM_wpclsQueryTitle, system)
274SOM_Scope PSZ SOMLINK cwmmdiskM_wpclsQueryTitle(M_CWMMDisk *somSelf);
275static char *somMN_M_CWMMDiskwpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
276static somId somId_M_CWMMDiskwpclsQueryTitle = &somMN_M_CWMMDiskwpclsQueryTitle;
277#ifdef somId_wpclsQueryTitle
278#undef somId_wpclsQueryTitle
279#else
280#define somId_wpclsQueryTitle somId_M_CWMMDiskwpclsQueryTitle
281#endif
282static somMethodProc* M_CWMMDisk_parent_M_WPDisk_wpclsQueryTitle_resolved;
283#define M_CWMMDisk_parent_M_WPDisk_wpclsQueryTitle(somSelf) \
284 ((( somTD_M_WPObject_wpclsQueryTitle ) \
285 M_CWMMDisk_parent_M_WPDisk_wpclsQueryTitle_resolved) \
286 (somSelf))
287#ifndef SOMGD_pmc_M_WPDisk_wpclsQueryTitle
288 #ifdef parent_M_WPDisk_wpclsQueryTitle
289 #undef parent_M_WPDisk_wpclsQueryTitle
290 #define SOMGD_pmc_M_WPDisk_wpclsQueryTitle 1
291 #else
292 #define parent_M_WPDisk_wpclsQueryTitle M_CWMMDisk_parent_M_WPDisk_wpclsQueryTitle
293 #endif /* parent_M_WPDisk_wpclsQueryTitle */
294#endif /* SOMGD_pmc_M_WPDisk_wpclsQueryTitle */
295#ifndef parent_wpclsQueryTitle
296 #define parent_wpclsQueryTitle M_CWMMDisk_parent_M_WPDisk_wpclsQueryTitle
297#endif /* parent_wpclsQueryTitle */
298#define M_CWMMDisk_parents_wpclsQueryTitle(somSelf) (\
299 M_CWMMDisk_parent_M_WPDisk_wpclsQueryTitle(somSelf))
300
301/*
302 * Initialize the class data structure
303 */
304SOMEXTERN struct M_CWMMDiskClassDataStructure SOMDLINK M_CWMMDiskClassData = {(SOMAny *) NULL};
305
306/*
307 * Define the C class data structure
308 */
309SOMEXTERN struct M_CWMMDiskCClassDataStructure SOMDLINK M_CWMMDiskCClassData = {(somMethodTabs) NULL};
310
311/*
312 * Routines and Structures to create the class object
313 */
314
315
316/*
317 * Declare the Override Methods table.
318 */
319static somOverrideMethod_t M_CWMMDiskOM[] = {
320 { &somId_M_CWMMDiskwpclsQueryTitle,
321 (somMethodProc *) cwmmdiskM_wpclsQueryTitle },
322};
323
324
325/*
326 * Initializers for class Ids
327 */
328static char * somCN_M_CWMMDisk = "M_CWMMDisk";
329static char * somPCN_M_CWMMDisk_M_WPDisk = "M_WPDisk";
330
331static somId somPCM_CWMMDisk[] = {
332 &somPCN_M_CWMMDisk_M_WPDisk,
333};
334
335static somStaticClassInfo M_CWMMDiskSCI = {
336 4, 0, 1, 0, 0, 0,
337 M_CWMMDisk_MajorVersion, M_CWMMDisk_MinorVersion,
338 0, M_CWMMDisk_MaxNoMethods, 1,
339 &somCN_M_CWMMDisk,
340 (somId) NULL, 1,
341 somPCM_CWMMDisk,
342 (somClassDataStructure *) &M_CWMMDiskClassData,
343 (somCClassDataStructure *) &M_CWMMDiskCClassData,
344 (somStaticMethod_t *) NULL, M_CWMMDiskOM,
345 (char *) NULL,
346 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
347 (somVarargsFuncs_t *) NULL,
348 (somTP_somClassInitFunc *) NULL,
349 0, /* type code alignment */
350 -1, /* use parents as directinitclasses */
351 0, /* no explicit directinitclasses */
352 0, /* number of general method entries */
353 (somMethods_t *) NULL,
354 0, /* no public data offset */
355 0, /* no sci development level check */
356 0, /* number of SelectInheritedMethods */
357 0, /* no SelectInheritedMethods */
358 0, /* number of classdata entries */
359 0, /* no entry names provided currently */
360 0, /* number of migrated methods */
361 0, /* no migrated method implementations */
362 0, /* number of initializers */
363 0, /* no initializers */
364 0, /* used to identify a DTS class */
365 0, /* used to register dynamically computed info */
366};
367
368
369/*
370 * Class Creation and Initialization
371 */
372
373SOMClass * SOMLINK M_CWMMDiskNewClass (integer4 somtmajorVersion,
374 integer4 somtminorVersion)
375{
376 SOMClass *result;
377 M_WPDiskNewClass(M_WPDisk_MajorVersion,M_WPDisk_MinorVersion); /* static reference */
378 result = somBuildClass(1,&M_CWMMDiskSCI, somtmajorVersion, somtminorVersion);
379 M_CWMMDisk_parent_M_WPDisk_wpclsQueryTitle_resolved =
380 somParentNumResolve(M_CWMMDiskCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
381 return result;
382}
383
384/*
385 * Functions for attributes.
386 */
387
388#endif /* Primary Implementation Support */
389#pragma checkout(resume)
390
391#endif /* SOM_M_CWMMDisk_ih */
Note: See TracBrowser for help on using the repository browser.