source: branches/v2.9/classes_chris_names/include/mmfolder.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: 21.8 KB
Line 
1
2/*
3 * This file was generated by the SOM Compiler.
4 * FileName: include\mmfolder.ih.
5 * Generated using:
6 * SOM Precompiler somipc: 2.29.1.7
7 * SOM Emitter emitih: 2.42
8 */
9
10/*
11 *
12 * mmfolder.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_MMFolder_ih
26#define SOM_MMFolder_ih
27
28#pragma checkout(suspend)
29
30#include <mmfolder.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 MMFolderCClassData.parentMtab
45#endif /* SOM_CurrentClass */
46
47#define MMFolder_MaxNoMethods 0
48
49/*
50 * -- Instance data
51 */
52typedef struct {
53 PFNWP oldFrameProc;
54 PFNWP oldContainerProc;
55 ULONG ulCurrentSize;
56 ULONG usLastSelMenuItem;
57} MMFolderData;
58
59/*
60 * GetData macro
61 */
62
63/*
64 * -- This emitter treats Data Tokens as Thunks by default.
65 * -- Use the sc modifier "nothunks" to override this default.
66 */
67typedef MMFolderData* SOMLINK somTP_MMFolder_DataThunk(void*);
68#ifdef __IBMC__
69#pragma linkage(somTP_MMFolder_DataThunk, system)
70#endif
71typedef somTP_MMFolder_DataThunk *somTD_MMFolder_DataThunk;
72
73#define MMFolderGetData(somSelf) \
74 (((somTD_MMFolder_DataThunk)(MMFolderCClassData.instanceDataToken))(somSelf))
75
76/*
77 * Instance variable and staticdata access macros
78 */
79#ifndef NO_VARIABLE_MACROS
80#define _oldFrameProc (somThis->oldFrameProc)
81#define _oldContainerProc (somThis->oldContainerProc)
82#define _ulCurrentSize (somThis->ulCurrentSize)
83#define _usLastSelMenuItem (somThis->usLastSelMenuItem)
84#endif
85
86/*
87 * Primary Implementation File Support
88 */
89#if (defined(MMFolder_Class_Source) || defined(SOM_Module_mmfolder_Source))
90
91/*
92 * Trace/Debug macro
93 */
94#ifndef MMFolderMethodDebug
95 #define MMFolderMethodDebug(c,m) SOMMethodDebug(c,m)
96#endif /* MMFolderMethodDebug */
97
98/*
99 * Current class macros for Instance and Meta classes.
100 */
101#undef SOMMeta
102#define SOMMeta M_MMFolderCClassData.parentMtab
103#undef SOMInstance
104#define SOMInstance MMFolderCClassData.parentMtab
105
106#ifndef M_MMFolder_Class_Source
107 #define M_MMFolder_Class_Source
108#endif /* M_MMFolder_Class_Source */
109
110/*
111 * Overridden method: wpOpen
112 */
113#pragma linkage(mmfldr_wpOpen, system)
114SOM_Scope HWND SOMLINK mmfldr_wpOpen(MMFolder *somSelf,
115 HWND hwndCnr,
116 ULONG ulView,
117 ULONG param);
118static char *somMN_MMFolderwpOpen = "WPObject::wpOpen";
119static somId somId_MMFolderwpOpen = &somMN_MMFolderwpOpen;
120#ifdef somId_wpOpen
121#undef somId_wpOpen
122#else
123#define somId_wpOpen somId_MMFolderwpOpen
124#endif
125static somMethodProc* MMFolder_parent_WPFolder_wpOpen_resolved;
126#define MMFolder_parent_WPFolder_wpOpen(somSelf,hwndCnr,ulView,param) \
127 ((( somTD_WPObject_wpOpen ) \
128 MMFolder_parent_WPFolder_wpOpen_resolved) \
129 (somSelf,hwndCnr,ulView,param))
130#ifndef SOMGD_pmc_WPFolder_wpOpen
131 #ifdef parent_WPFolder_wpOpen
132 #undef parent_WPFolder_wpOpen
133 #define SOMGD_pmc_WPFolder_wpOpen 1
134 #else
135 #define parent_WPFolder_wpOpen MMFolder_parent_WPFolder_wpOpen
136 #endif /* parent_WPFolder_wpOpen */
137#endif /* SOMGD_pmc_WPFolder_wpOpen */
138#ifndef parent_wpOpen
139 #define parent_wpOpen MMFolder_parent_WPFolder_wpOpen
140#endif /* parent_wpOpen */
141#define MMFolder_parents_wpOpen(somSelf,hwndCnr,ulView,param) (\
142 MMFolder_parent_WPFolder_wpOpen(somSelf,hwndCnr,ulView,param))
143
144/*
145 * Overridden method: wpRestoreState
146 */
147#pragma linkage(mmfldr_wpRestoreState, system)
148SOM_Scope BOOL SOMLINK mmfldr_wpRestoreState(MMFolder *somSelf,
149 ULONG ulReserved);
150static char *somMN_MMFolderwpRestoreState = "WPObject::wpRestoreState";
151static somId somId_MMFolderwpRestoreState = &somMN_MMFolderwpRestoreState;
152#ifdef somId_wpRestoreState
153#undef somId_wpRestoreState
154#else
155#define somId_wpRestoreState somId_MMFolderwpRestoreState
156#endif
157static somMethodProc* MMFolder_parent_WPFolder_wpRestoreState_resolved;
158#define MMFolder_parent_WPFolder_wpRestoreState(somSelf,ulReserved) \
159 ((( somTD_WPObject_wpRestoreState ) \
160 MMFolder_parent_WPFolder_wpRestoreState_resolved) \
161 (somSelf,ulReserved))
162#ifndef SOMGD_pmc_WPFolder_wpRestoreState
163 #ifdef parent_WPFolder_wpRestoreState
164 #undef parent_WPFolder_wpRestoreState
165 #define SOMGD_pmc_WPFolder_wpRestoreState 1
166 #else
167 #define parent_WPFolder_wpRestoreState MMFolder_parent_WPFolder_wpRestoreState
168 #endif /* parent_WPFolder_wpRestoreState */
169#endif /* SOMGD_pmc_WPFolder_wpRestoreState */
170#ifndef parent_wpRestoreState
171 #define parent_wpRestoreState MMFolder_parent_WPFolder_wpRestoreState
172#endif /* parent_wpRestoreState */
173#define MMFolder_parents_wpRestoreState(somSelf,ulReserved) (\
174 MMFolder_parent_WPFolder_wpRestoreState(somSelf,ulReserved))
175
176/*
177 * Overridden method: wpSaveState
178 */
179#pragma linkage(mmfldr_wpSaveState, system)
180SOM_Scope BOOL SOMLINK mmfldr_wpSaveState(MMFolder *somSelf);
181static char *somMN_MMFolderwpSaveState = "WPObject::wpSaveState";
182static somId somId_MMFolderwpSaveState = &somMN_MMFolderwpSaveState;
183#ifdef somId_wpSaveState
184#undef somId_wpSaveState
185#else
186#define somId_wpSaveState somId_MMFolderwpSaveState
187#endif
188static somMethodProc* MMFolder_parent_WPFolder_wpSaveState_resolved;
189#define MMFolder_parent_WPFolder_wpSaveState(somSelf) \
190 ((( somTD_WPObject_wpSaveState ) \
191 MMFolder_parent_WPFolder_wpSaveState_resolved) \
192 (somSelf))
193#ifndef SOMGD_pmc_WPFolder_wpSaveState
194 #ifdef parent_WPFolder_wpSaveState
195 #undef parent_WPFolder_wpSaveState
196 #define SOMGD_pmc_WPFolder_wpSaveState 1
197 #else
198 #define parent_WPFolder_wpSaveState MMFolder_parent_WPFolder_wpSaveState
199 #endif /* parent_WPFolder_wpSaveState */
200#endif /* SOMGD_pmc_WPFolder_wpSaveState */
201#ifndef parent_wpSaveState
202 #define parent_wpSaveState MMFolder_parent_WPFolder_wpSaveState
203#endif /* parent_wpSaveState */
204#define MMFolder_parents_wpSaveState(somSelf) (\
205 MMFolder_parent_WPFolder_wpSaveState(somSelf))
206
207/*
208 * Overridden method: wpMenuItemSelected
209 */
210#pragma linkage(mmfldr_wpMenuItemSelected, system)
211SOM_Scope BOOL SOMLINK mmfldr_wpMenuItemSelected(MMFolder *somSelf,
212 HWND hwndFrame,
213 ULONG ulMenuId);
214static char *somMN_MMFolderwpMenuItemSelected = "WPObject::wpMenuItemSelected";
215static somId somId_MMFolderwpMenuItemSelected = &somMN_MMFolderwpMenuItemSelected;
216#ifdef somId_wpMenuItemSelected
217#undef somId_wpMenuItemSelected
218#else
219#define somId_wpMenuItemSelected somId_MMFolderwpMenuItemSelected
220#endif
221static somMethodProc* MMFolder_parent_WPFolder_wpMenuItemSelected_resolved;
222#define MMFolder_parent_WPFolder_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
223 ((( somTD_WPObject_wpMenuItemSelected ) \
224 MMFolder_parent_WPFolder_wpMenuItemSelected_resolved) \
225 (somSelf,hwndFrame,ulMenuId))
226#ifndef SOMGD_pmc_WPFolder_wpMenuItemSelected
227 #ifdef parent_WPFolder_wpMenuItemSelected
228 #undef parent_WPFolder_wpMenuItemSelected
229 #define SOMGD_pmc_WPFolder_wpMenuItemSelected 1
230 #else
231 #define parent_WPFolder_wpMenuItemSelected MMFolder_parent_WPFolder_wpMenuItemSelected
232 #endif /* parent_WPFolder_wpMenuItemSelected */
233#endif /* SOMGD_pmc_WPFolder_wpMenuItemSelected */
234#ifndef parent_wpMenuItemSelected
235 #define parent_wpMenuItemSelected MMFolder_parent_WPFolder_wpMenuItemSelected
236#endif /* parent_wpMenuItemSelected */
237#define MMFolder_parents_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) (\
238 MMFolder_parent_WPFolder_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId))
239
240/*
241 * Overridden method: wpObjectReady
242 */
243#pragma linkage(mmfldr_wpObjectReady, system)
244SOM_Scope void SOMLINK mmfldr_wpObjectReady(MMFolder *somSelf,
245 ULONG ulCode,
246 WPObject* refObject);
247static char *somMN_MMFolderwpObjectReady = "WPObject::wpObjectReady";
248static somId somId_MMFolderwpObjectReady = &somMN_MMFolderwpObjectReady;
249#ifdef somId_wpObjectReady
250#undef somId_wpObjectReady
251#else
252#define somId_wpObjectReady somId_MMFolderwpObjectReady
253#endif
254static somMethodProc* MMFolder_parent_WPFolder_wpObjectReady_resolved;
255#define MMFolder_parent_WPFolder_wpObjectReady(somSelf,ulCode,refObject) \
256 ((( somTD_WPObject_wpObjectReady ) \
257 MMFolder_parent_WPFolder_wpObjectReady_resolved) \
258 (somSelf,ulCode,refObject))
259#ifndef SOMGD_pmc_WPFolder_wpObjectReady
260 #ifdef parent_WPFolder_wpObjectReady
261 #undef parent_WPFolder_wpObjectReady
262 #define SOMGD_pmc_WPFolder_wpObjectReady 1
263 #else
264 #define parent_WPFolder_wpObjectReady MMFolder_parent_WPFolder_wpObjectReady
265 #endif /* parent_WPFolder_wpObjectReady */
266#endif /* SOMGD_pmc_WPFolder_wpObjectReady */
267#ifndef parent_wpObjectReady
268 #define parent_wpObjectReady MMFolder_parent_WPFolder_wpObjectReady
269#endif /* parent_wpObjectReady */
270#define MMFolder_parents_wpObjectReady(somSelf,ulCode,refObject) (\
271 MMFolder_parent_WPFolder_wpObjectReady(somSelf,ulCode,refObject))
272
273/*
274 * Initialize the class data structure
275 */
276SOMEXTERN struct MMFolderClassDataStructure SOMDLINK MMFolderClassData = {(SOMAny *) NULL};
277
278/*
279 * Define the C class data structure
280 */
281SOMEXTERN struct MMFolderCClassDataStructure SOMDLINK MMFolderCClassData = {(somMethodTabs) NULL};
282
283/*
284 * Routines and Structures to create the class object
285 */
286
287
288/*
289 * Declare the Override Methods table.
290 */
291static somOverrideMethod_t MMFolderOM[] = {
292 { &somId_MMFolderwpOpen,
293 (somMethodProc *) mmfldr_wpOpen },
294 { &somId_MMFolderwpRestoreState,
295 (somMethodProc *) mmfldr_wpRestoreState },
296 { &somId_MMFolderwpSaveState,
297 (somMethodProc *) mmfldr_wpSaveState },
298 { &somId_MMFolderwpMenuItemSelected,
299 (somMethodProc *) mmfldr_wpMenuItemSelected },
300 { &somId_MMFolderwpObjectReady,
301 (somMethodProc *) mmfldr_wpObjectReady },
302};
303
304
305/*
306 * Initializers for class Ids
307 */
308static char * somCN_MMFolder = "MMFolder";
309#ifndef somEMC_M_MMFolder_defined
310#define somEMC_M_MMFolder_defined
311static char * somEMC_M_MMFolder = "M_MMFolder";
312#endif
313static char * somPCN_MMFolder_WPFolder = "WPFolder";
314
315static somId somPCMMFolder[] = {
316 &somPCN_MMFolder_WPFolder,
317};
318
319static somStaticClassInfo MMFolderSCI = {
320 4, 0, 5, 0, 0, 0,
321 MMFolder_MajorVersion, MMFolder_MinorVersion,
322 sizeof(MMFolderData), MMFolder_MaxNoMethods, 1,
323 &somCN_MMFolder,
324 &somEMC_M_MMFolder, 0,
325 somPCMMFolder,
326 (somClassDataStructure *) &MMFolderClassData,
327 (somCClassDataStructure *) &MMFolderCClassData,
328 (somStaticMethod_t *) NULL, MMFolderOM,
329 (char *) NULL,
330 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
331 (somVarargsFuncs_t *) NULL,
332 (somTP_somClassInitFunc *) NULL,
333 4, /* type code alignment */
334 -1, /* use parents as directinitclasses */
335 0, /* no explicit directinitclasses */
336 0, /* number of general method entries */
337 (somMethods_t *) NULL,
338 0, /* no public data offset */
339 0, /* no sci development level check */
340 0, /* number of SelectInheritedMethods */
341 0, /* no SelectInheritedMethods */
342 0, /* number of classdata entries */
343 0, /* no entry names provided currently */
344 0, /* number of migrated methods */
345 0, /* no migrated method implementations */
346 0, /* number of initializers */
347 0, /* no initializers */
348 0, /* used to identify a DTS class */
349 0, /* used to register dynamically computed info */
350};
351
352
353/*
354 * Class Creation and Initialization
355 */
356
357SOMClass * SOMLINK MMFolderNewClass (integer4 somtmajorVersion,
358 integer4 somtminorVersion)
359{
360 SOMClass *result;
361 WPFolderNewClass(WPFolder_MajorVersion,WPFolder_MinorVersion); /* static reference */
362 /* Explicit metaclass, so get it */
363 M_MMFolderNewClass(M_MMFolder_MajorVersion,M_MMFolder_MinorVersion); /* static reference */
364 result = somBuildClass(1,&MMFolderSCI, somtmajorVersion, somtminorVersion);
365 MMFolder_parent_WPFolder_wpObjectReady_resolved =
366 somParentNumResolve(MMFolderCClassData.parentMtab, 1, WPObjectClassData.wpObjectReady);
367 MMFolder_parent_WPFolder_wpMenuItemSelected_resolved =
368 somParentNumResolve(MMFolderCClassData.parentMtab, 1, WPObjectClassData.wpMenuItemSelected);
369 MMFolder_parent_WPFolder_wpSaveState_resolved =
370 somParentNumResolve(MMFolderCClassData.parentMtab, 1, WPObjectClassData.wpSaveState);
371 MMFolder_parent_WPFolder_wpRestoreState_resolved =
372 somParentNumResolve(MMFolderCClassData.parentMtab, 1, WPObjectClassData.wpRestoreState);
373 MMFolder_parent_WPFolder_wpOpen_resolved =
374 somParentNumResolve(MMFolderCClassData.parentMtab, 1, WPObjectClassData.wpOpen);
375 return result;
376}
377
378/*
379 * Functions for attributes.
380 */
381
382#endif /* Primary Implementation Support */
383#pragma checkout(resume)
384
385#endif /* SOM_MMFolder_ih */
386
387/*
388 * -- By default, for classes declared using IDL,
389 * -- this emitter doesn't define redispatch/apply stubs.
390 * -- Instead, it requests that the SOM kernel produce them.
391 * -- To override this default, use the "notc" modifier.
392 */
393
394#ifndef SOM_M_MMFolder_ih
395#define SOM_M_MMFolder_ih
396
397#pragma checkout(suspend)
398
399#include <mmfolder.h>
400
401/*
402 * Set the scope of methods functions
403 */
404#ifndef SOM_Scope
405#ifdef __cplusplus
406 #define SOM_Scope extern "C"
407#else
408 #define SOM_Scope extern
409#endif /* __cplusplus */
410#endif /* SOM_Scope */
411
412#ifndef SOM_CurrentClass
413 #define SOM_CurrentClass M_MMFolderCClassData.parentMtab
414#endif /* SOM_CurrentClass */
415
416#define M_MMFolder_MaxNoMethods 0
417
418/*
419 * -- Instance data
420 */
421typedef void M_MMFolderData;
422
423/*
424 * This class introduces no instance data, so no GetData macro is provided
425 */
426
427/*
428 * Primary Implementation File Support
429 */
430#if (defined(MMFolder_Class_Source) || defined(M_MMFolder_Class_Source) || defined(SOM_Module_mmfolder_Source))
431
432/*
433 * Trace/Debug macro
434 */
435#ifndef M_MMFolderMethodDebug
436 #define M_MMFolderMethodDebug(c,m) SOMMethodDebug(c,m)
437#endif /* M_MMFolderMethodDebug */
438
439/*
440 * Current class macros for Instance and Meta classes.
441 */
442
443/*
444 * Overridden method: wpclsQueryTitle
445 */
446#pragma linkage(mmfldrM_wpclsQueryTitle, system)
447SOM_Scope PSZ SOMLINK mmfldrM_wpclsQueryTitle(M_MMFolder *somSelf);
448static char *somMN_M_MMFolderwpclsQueryTitle = "M_WPObject::wpclsQueryTitle";
449static somId somId_M_MMFolderwpclsQueryTitle = &somMN_M_MMFolderwpclsQueryTitle;
450#ifdef somId_wpclsQueryTitle
451#undef somId_wpclsQueryTitle
452#else
453#define somId_wpclsQueryTitle somId_M_MMFolderwpclsQueryTitle
454#endif
455static somMethodProc* M_MMFolder_parent_M_WPFolder_wpclsQueryTitle_resolved;
456#define M_MMFolder_parent_M_WPFolder_wpclsQueryTitle(somSelf) \
457 ((( somTD_M_WPObject_wpclsQueryTitle ) \
458 M_MMFolder_parent_M_WPFolder_wpclsQueryTitle_resolved) \
459 (somSelf))
460#ifndef SOMGD_pmc_M_WPFolder_wpclsQueryTitle
461 #ifdef parent_M_WPFolder_wpclsQueryTitle
462 #undef parent_M_WPFolder_wpclsQueryTitle
463 #define SOMGD_pmc_M_WPFolder_wpclsQueryTitle 1
464 #else
465 #define parent_M_WPFolder_wpclsQueryTitle M_MMFolder_parent_M_WPFolder_wpclsQueryTitle
466 #endif /* parent_M_WPFolder_wpclsQueryTitle */
467#endif /* SOMGD_pmc_M_WPFolder_wpclsQueryTitle */
468#ifndef parent_wpclsQueryTitle
469 #define parent_wpclsQueryTitle M_MMFolder_parent_M_WPFolder_wpclsQueryTitle
470#endif /* parent_wpclsQueryTitle */
471#define M_MMFolder_parents_wpclsQueryTitle(somSelf) (\
472 M_MMFolder_parent_M_WPFolder_wpclsQueryTitle(somSelf))
473
474/*
475 * Overridden method: wpclsQueryIconData
476 */
477#pragma linkage(mmfldrM_wpclsQueryIconData, system)
478SOM_Scope ULONG SOMLINK mmfldrM_wpclsQueryIconData(M_MMFolder *somSelf,
479 PICONINFO pIconInfo);
480static char *somMN_M_MMFolderwpclsQueryIconData = "M_WPObject::wpclsQueryIconData";
481static somId somId_M_MMFolderwpclsQueryIconData = &somMN_M_MMFolderwpclsQueryIconData;
482#ifdef somId_wpclsQueryIconData
483#undef somId_wpclsQueryIconData
484#else
485#define somId_wpclsQueryIconData somId_M_MMFolderwpclsQueryIconData
486#endif
487static somMethodProc* M_MMFolder_parent_M_WPFolder_wpclsQueryIconData_resolved;
488#define M_MMFolder_parent_M_WPFolder_wpclsQueryIconData(somSelf,pIconInfo) \
489 ((( somTD_M_WPObject_wpclsQueryIconData ) \
490 M_MMFolder_parent_M_WPFolder_wpclsQueryIconData_resolved) \
491 (somSelf,pIconInfo))
492#ifndef SOMGD_pmc_M_WPFolder_wpclsQueryIconData
493 #ifdef parent_M_WPFolder_wpclsQueryIconData
494 #undef parent_M_WPFolder_wpclsQueryIconData
495 #define SOMGD_pmc_M_WPFolder_wpclsQueryIconData 1
496 #else
497 #define parent_M_WPFolder_wpclsQueryIconData M_MMFolder_parent_M_WPFolder_wpclsQueryIconData
498 #endif /* parent_M_WPFolder_wpclsQueryIconData */
499#endif /* SOMGD_pmc_M_WPFolder_wpclsQueryIconData */
500#ifndef parent_wpclsQueryIconData
501 #define parent_wpclsQueryIconData M_MMFolder_parent_M_WPFolder_wpclsQueryIconData
502#endif /* parent_wpclsQueryIconData */
503#define M_MMFolder_parents_wpclsQueryIconData(somSelf,pIconInfo) (\
504 M_MMFolder_parent_M_WPFolder_wpclsQueryIconData(somSelf,pIconInfo))
505
506/*
507 * Overridden method: wpclsQueryIconDataN
508 */
509#pragma linkage(mmfldrM_wpclsQueryIconDataN, system)
510SOM_Scope ULONG SOMLINK mmfldrM_wpclsQueryIconDataN(M_MMFolder *somSelf,
511 ICONINFO* pIconInfo,
512 ULONG ulIconIndex);
513static char *somMN_M_MMFolderwpclsQueryIconDataN = "M_WPFolder::wpclsQueryIconDataN";
514static somId somId_M_MMFolderwpclsQueryIconDataN = &somMN_M_MMFolderwpclsQueryIconDataN;
515#ifdef somId_wpclsQueryIconDataN
516#undef somId_wpclsQueryIconDataN
517#else
518#define somId_wpclsQueryIconDataN somId_M_MMFolderwpclsQueryIconDataN
519#endif
520static somMethodProc* M_MMFolder_parent_M_WPFolder_wpclsQueryIconDataN_resolved;
521#define M_MMFolder_parent_M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) \
522 ((( somTD_M_WPFolder_wpclsQueryIconDataN ) \
523 M_MMFolder_parent_M_WPFolder_wpclsQueryIconDataN_resolved) \
524 (somSelf,pIconInfo,ulIconIndex))
525#ifndef SOMGD_pmc_M_WPFolder_wpclsQueryIconDataN
526 #ifdef parent_M_WPFolder_wpclsQueryIconDataN
527 #undef parent_M_WPFolder_wpclsQueryIconDataN
528 #define SOMGD_pmc_M_WPFolder_wpclsQueryIconDataN 1
529 #else
530 #define parent_M_WPFolder_wpclsQueryIconDataN M_MMFolder_parent_M_WPFolder_wpclsQueryIconDataN
531 #endif /* parent_M_WPFolder_wpclsQueryIconDataN */
532#endif /* SOMGD_pmc_M_WPFolder_wpclsQueryIconDataN */
533#ifndef parent_wpclsQueryIconDataN
534 #define parent_wpclsQueryIconDataN M_MMFolder_parent_M_WPFolder_wpclsQueryIconDataN
535#endif /* parent_wpclsQueryIconDataN */
536#define M_MMFolder_parents_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) (\
537 M_MMFolder_parent_M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex))
538
539/*
540 * Initialize the class data structure
541 */
542SOMEXTERN struct M_MMFolderClassDataStructure SOMDLINK M_MMFolderClassData = {(SOMAny *) NULL};
543
544/*
545 * Define the C class data structure
546 */
547SOMEXTERN struct M_MMFolderCClassDataStructure SOMDLINK M_MMFolderCClassData = {(somMethodTabs) NULL};
548
549/*
550 * Routines and Structures to create the class object
551 */
552
553
554/*
555 * Declare the Override Methods table.
556 */
557static somOverrideMethod_t M_MMFolderOM[] = {
558 { &somId_M_MMFolderwpclsQueryTitle,
559 (somMethodProc *) mmfldrM_wpclsQueryTitle },
560 { &somId_M_MMFolderwpclsQueryIconData,
561 (somMethodProc *) mmfldrM_wpclsQueryIconData },
562 { &somId_M_MMFolderwpclsQueryIconDataN,
563 (somMethodProc *) mmfldrM_wpclsQueryIconDataN },
564};
565
566
567/*
568 * Initializers for class Ids
569 */
570static char * somCN_M_MMFolder = "M_MMFolder";
571static char * somPCN_M_MMFolder_M_WPFolder = "M_WPFolder";
572
573static somId somPCM_MMFolder[] = {
574 &somPCN_M_MMFolder_M_WPFolder,
575};
576
577static somStaticClassInfo M_MMFolderSCI = {
578 4, 0, 3, 0, 0, 0,
579 M_MMFolder_MajorVersion, M_MMFolder_MinorVersion,
580 0, M_MMFolder_MaxNoMethods, 1,
581 &somCN_M_MMFolder,
582 (somId) NULL, 1,
583 somPCM_MMFolder,
584 (somClassDataStructure *) &M_MMFolderClassData,
585 (somCClassDataStructure *) &M_MMFolderCClassData,
586 (somStaticMethod_t *) NULL, M_MMFolderOM,
587 (char *) NULL,
588 (somNonInternalData_t *) NULL, (somProcMethods_t *) NULL,
589 (somVarargsFuncs_t *) NULL,
590 (somTP_somClassInitFunc *) NULL,
591 0, /* type code alignment */
592 -1, /* use parents as directinitclasses */
593 0, /* no explicit directinitclasses */
594 0, /* number of general method entries */
595 (somMethods_t *) NULL,
596 0, /* no public data offset */
597 0, /* no sci development level check */
598 0, /* number of SelectInheritedMethods */
599 0, /* no SelectInheritedMethods */
600 0, /* number of classdata entries */
601 0, /* no entry names provided currently */
602 0, /* number of migrated methods */
603 0, /* no migrated method implementations */
604 0, /* number of initializers */
605 0, /* no initializers */
606 0, /* used to identify a DTS class */
607 0, /* used to register dynamically computed info */
608};
609
610
611/*
612 * Class Creation and Initialization
613 */
614
615SOMClass * SOMLINK M_MMFolderNewClass (integer4 somtmajorVersion,
616 integer4 somtminorVersion)
617{
618 SOMClass *result;
619 M_WPFolderNewClass(M_WPFolder_MajorVersion,M_WPFolder_MinorVersion); /* static reference */
620 result = somBuildClass(1,&M_MMFolderSCI, somtmajorVersion, somtminorVersion);
621 M_MMFolder_parent_M_WPFolder_wpclsQueryIconDataN_resolved =
622 somParentNumResolve(M_MMFolderCClassData.parentMtab, 1, M_WPFolderClassData.wpclsQueryIconDataN);
623 M_MMFolder_parent_M_WPFolder_wpclsQueryIconData_resolved =
624 somParentNumResolve(M_MMFolderCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryIconData);
625 M_MMFolder_parent_M_WPFolder_wpclsQueryTitle_resolved =
626 somParentNumResolve(M_MMFolderCClassData.parentMtab, 1, M_WPObjectClassData.wpclsQueryTitle);
627 return result;
628}
629
630/*
631 * Functions for attributes.
632 */
633
634#endif /* Primary Implementation Support */
635#pragma checkout(resume)
636
637#endif /* SOM_M_MMFolder_ih */
Note: See TracBrowser for help on using the repository browser.