1 | /*
|
---|
2 | * (C) Chris Wohlgemuth 2002-2003
|
---|
3 | *
|
---|
4 | */
|
---|
5 | /*
|
---|
6 | * This program is free software; you can redistribute it and/or modify
|
---|
7 | * it under the terms of the GNU General Public License as published by
|
---|
8 | * the Free Software Foundation; either version 2, or (at your option)
|
---|
9 | * any later version.
|
---|
10 | *
|
---|
11 | * This program is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | * GNU General Public License for more details.
|
---|
15 | *
|
---|
16 | * You should have received a copy of the GNU General Public License
|
---|
17 | * along with this program; see the file COPYING. If not, write to
|
---|
18 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
19 | */
|
---|
20 | /*
|
---|
21 | * If you need another license for your project/product (commercial,
|
---|
22 | * noncommercial, whatever) contact me at
|
---|
23 | *
|
---|
24 | * http://www.os2world.com/cdwriting
|
---|
25 | * http://www.geocities.com/SiliconValley/Sector/5785/
|
---|
26 | *
|
---|
27 | */
|
---|
28 | /*
|
---|
29 | * This file was generated by the SOM Compiler and Emitter Framework.
|
---|
30 | * Generated using:
|
---|
31 | * SOM Emitter emitctm: 2.42
|
---|
32 | */
|
---|
33 |
|
---|
34 | #ifndef SOM_Module_mmdataf_Source
|
---|
35 | #define SOM_Module_mmdataf_Source
|
---|
36 | #endif
|
---|
37 | #define MMDataFile_Class_Source
|
---|
38 | #define M_MMDataFile_Class_Source
|
---|
39 |
|
---|
40 | #include "mmdataf.ih"
|
---|
41 |
|
---|
42 |
|
---|
43 | SOM_Scope BOOL SOMLINK mmdatafile_wpModifyPopupMenu(MMDataFile *somSelf,
|
---|
44 | HWND hwndMenu,
|
---|
45 | HWND hwndCnr,
|
---|
46 | ULONG iPosition)
|
---|
47 | {
|
---|
48 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
49 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpModifyPopupMenu");
|
---|
50 |
|
---|
51 | return (MMDataFile_parent_WPDataFile_wpModifyPopupMenu(somSelf,
|
---|
52 | hwndMenu,
|
---|
53 | hwndCnr,
|
---|
54 | iPosition));
|
---|
55 | }
|
---|
56 |
|
---|
57 | SOM_Scope ULONG SOMLINK mmdatafile_mmFilterPopupMenu(MMDataFile *somSelf,
|
---|
58 | ULONG ulFlags,
|
---|
59 | HWND hwndcnr,
|
---|
60 | BOOL fMultiSelect)
|
---|
61 | {
|
---|
62 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
63 | MMDataFileMethodDebug("MMDataFile","mmdatafile_mmFilterPopupMenu");
|
---|
64 |
|
---|
65 | /* Return statement to be customized: */
|
---|
66 | return;
|
---|
67 | }
|
---|
68 |
|
---|
69 | SOM_Scope ULONG SOMLINK mmdatafile_mmViewNotify(MMDataFile *somSelf)
|
---|
70 | {
|
---|
71 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
72 | MMDataFileMethodDebug("MMDataFile","mmdatafile_mmViewNotify");
|
---|
73 |
|
---|
74 | /* Return statement to be customized: */
|
---|
75 | return;
|
---|
76 | }
|
---|
77 |
|
---|
78 | SOM_Scope ULONG SOMLINK mmdatafile_mmDetermineViewFor(MMDataFile *somSelf)
|
---|
79 | {
|
---|
80 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
81 | MMDataFileMethodDebug("MMDataFile","mmdatafile_mmDetermineViewFor");
|
---|
82 |
|
---|
83 | /* Return statement to be customized: */
|
---|
84 | return;
|
---|
85 | }
|
---|
86 |
|
---|
87 | SOM_Scope ULONG SOMLINK mmdatafile_wpFilterPopupMenu(MMDataFile *somSelf,
|
---|
88 | ULONG ulFlags,
|
---|
89 | HWND hwndCnr,
|
---|
90 | BOOL fMultiSelect)
|
---|
91 | {
|
---|
92 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
93 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpFilterPopupMenu");
|
---|
94 |
|
---|
95 | return (MMDataFile_parent_WPDataFile_wpFilterPopupMenu(somSelf,
|
---|
96 | ulFlags,
|
---|
97 | hwndCnr,
|
---|
98 | fMultiSelect));
|
---|
99 | }
|
---|
100 |
|
---|
101 | SOM_Scope void SOMLINK mmdatafile_wpInitData(MMDataFile *somSelf)
|
---|
102 | {
|
---|
103 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
104 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpInitData");
|
---|
105 |
|
---|
106 | MMDataFile_parent_WPDataFile_wpInitData(somSelf);
|
---|
107 | }
|
---|
108 |
|
---|
109 | SOM_Scope BOOL SOMLINK mmdatafile_wpMenuItemHelpSelected(MMDataFile *somSelf,
|
---|
110 | ULONG MenuId)
|
---|
111 | {
|
---|
112 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
113 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpMenuItemHelpSelected");
|
---|
114 |
|
---|
115 | return (MMDataFile_parent_WPDataFile_wpMenuItemHelpSelected(somSelf,
|
---|
116 | MenuId));
|
---|
117 | }
|
---|
118 |
|
---|
119 | SOM_Scope BOOL SOMLINK mmdatafile_wpMenuItemSelected(MMDataFile *somSelf,
|
---|
120 | HWND hwndFrame,
|
---|
121 | ULONG ulMenuId)
|
---|
122 | {
|
---|
123 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
124 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpMenuItemSelected");
|
---|
125 |
|
---|
126 | return (MMDataFile_parent_WPDataFile_wpMenuItemSelected(somSelf,
|
---|
127 | hwndFrame,
|
---|
128 | ulMenuId));
|
---|
129 | }
|
---|
130 |
|
---|
131 | SOM_Scope ULONG SOMLINK mmdatafile_wpQueryConcurrentView(MMDataFile *somSelf)
|
---|
132 | {
|
---|
133 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
134 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpQueryConcurrentView");
|
---|
135 |
|
---|
136 | return (MMDataFile_parent_WPDataFile_wpQueryConcurrentView(somSelf));
|
---|
137 | }
|
---|
138 |
|
---|
139 | SOM_Scope ULONG SOMLINK mmdatafile_wpQueryDefaultView(MMDataFile *somSelf)
|
---|
140 | {
|
---|
141 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
142 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpQueryDefaultView");
|
---|
143 |
|
---|
144 | return (MMDataFile_parent_WPDataFile_wpQueryDefaultView(somSelf));
|
---|
145 | }
|
---|
146 |
|
---|
147 | SOM_Scope BOOL SOMLINK mmdatafile_wpSetTitle(MMDataFile *somSelf,
|
---|
148 | PSZ pszNewTitle)
|
---|
149 | {
|
---|
150 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
151 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpSetTitle");
|
---|
152 |
|
---|
153 | return (MMDataFile_parent_WPDataFile_wpSetTitle(somSelf,
|
---|
154 | pszNewTitle));
|
---|
155 | }
|
---|
156 |
|
---|
157 | SOM_Scope BOOL SOMLINK mmdatafile_wpSetup(MMDataFile *somSelf,
|
---|
158 | PSZ pszSetupString)
|
---|
159 | {
|
---|
160 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
161 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpSetup");
|
---|
162 |
|
---|
163 | return (MMDataFile_parent_WPDataFile_wpSetup(somSelf, pszSetupString));
|
---|
164 | }
|
---|
165 |
|
---|
166 | SOM_Scope MRESULT SOMLINK mmdatafile_wpDragOver(MMDataFile *somSelf,
|
---|
167 | HWND hwndCnr,
|
---|
168 | PDRAGINFO pdrgInfo)
|
---|
169 | {
|
---|
170 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
171 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpDragOver");
|
---|
172 |
|
---|
173 | return (MMDataFile_parent_WPDataFile_wpDragOver(somSelf,
|
---|
174 | hwndCnr,
|
---|
175 | pdrgInfo));
|
---|
176 | }
|
---|
177 |
|
---|
178 | SOM_Scope BOOL SOMLINK mmdatafile_wpRestoreState(MMDataFile *somSelf,
|
---|
179 | ULONG ulReserved)
|
---|
180 | {
|
---|
181 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
182 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpRestoreState");
|
---|
183 |
|
---|
184 | return (MMDataFile_parent_WPDataFile_wpRestoreState(somSelf,
|
---|
185 | ulReserved));
|
---|
186 | }
|
---|
187 |
|
---|
188 | SOM_Scope BOOL SOMLINK mmdatafile_wpSaveState(MMDataFile *somSelf)
|
---|
189 | {
|
---|
190 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
191 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpSaveState");
|
---|
192 |
|
---|
193 | return (MMDataFile_parent_WPDataFile_wpSaveState(somSelf));
|
---|
194 | }
|
---|
195 |
|
---|
196 | SOM_Scope BOOL SOMLINK mmdatafile_wpSetRealName(MMDataFile *somSelf,
|
---|
197 | PSZ pszName)
|
---|
198 | {
|
---|
199 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
200 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpSetRealName");
|
---|
201 |
|
---|
202 | return (MMDataFile_parent_WPDataFile_wpSetRealName(somSelf,
|
---|
203 | pszName));
|
---|
204 | }
|
---|
205 |
|
---|
206 | SOM_Scope HWND SOMLINK mmdatafile_wpOpen(MMDataFile *somSelf,
|
---|
207 | HWND hwndCnr, ULONG ulView,
|
---|
208 | ULONG param)
|
---|
209 | {
|
---|
210 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
211 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpOpen");
|
---|
212 |
|
---|
213 | return (MMDataFile_parent_WPDataFile_wpOpen(somSelf, hwndCnr,
|
---|
214 | ulView, param));
|
---|
215 | }
|
---|
216 |
|
---|
217 | SOM_Scope HPOINTER SOMLINK mmdatafile_wpQueryIcon(MMDataFile *somSelf)
|
---|
218 | {
|
---|
219 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
220 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpQueryIcon");
|
---|
221 |
|
---|
222 | return (MMDataFile_parent_WPDataFile_wpQueryIcon(somSelf));
|
---|
223 | }
|
---|
224 |
|
---|
225 |
|
---|
226 | SOM_Scope void SOMLINK mmdatafile_wpUnInitData(MMDataFile *somSelf)
|
---|
227 | {
|
---|
228 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
229 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpUnInitData");
|
---|
230 |
|
---|
231 | MMDataFile_parent_WPDataFile_wpUnInitData(somSelf);
|
---|
232 | }
|
---|
233 |
|
---|
234 | SOM_Scope void SOMLINK mmdatafile_wpObjectReady(MMDataFile *somSelf,
|
---|
235 | ULONG ulCode,
|
---|
236 | WPObject* refObject)
|
---|
237 | {
|
---|
238 | /* MMDataFileData *somThis = MMDataFileGetData(somSelf); */
|
---|
239 | MMDataFileMethodDebug("MMDataFile","mmdatafile_wpObjectReady");
|
---|
240 |
|
---|
241 | MMDataFile_parent_WPDataFile_wpObjectReady(somSelf, ulCode,
|
---|
242 | refObject);
|
---|
243 | }
|
---|
244 |
|
---|
245 |
|
---|
246 | SOM_Scope PSZ SOMLINK mmdatafileM_wpclsQueryTitle(M_MMDataFile *somSelf)
|
---|
247 | {
|
---|
248 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
249 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsQueryTitle");
|
---|
250 |
|
---|
251 | return (M_MMDataFile_parent_M_WPDataFile_wpclsQueryTitle(somSelf));
|
---|
252 | }
|
---|
253 |
|
---|
254 | SOM_Scope BOOL SOMLINK mmdatafileM_mmclsDeleteFromTypeList(M_MMDataFile *somSelf,
|
---|
255 | PSZ pszType)
|
---|
256 | {
|
---|
257 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
258 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_mmclsDeleteFromTypeList");
|
---|
259 |
|
---|
260 | /* Return statement to be customized: */
|
---|
261 | return;
|
---|
262 | }
|
---|
263 |
|
---|
264 | SOM_Scope BOOL SOMLINK mmdatafileM_mmclsDeleteFromExtensionList(M_MMDataFile *somSelf,
|
---|
265 | PSZ pszExt)
|
---|
266 | {
|
---|
267 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
268 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_mmclsDeleteFromExtensionList");
|
---|
269 |
|
---|
270 | /* Return statement to be customized: */
|
---|
271 | return;
|
---|
272 | }
|
---|
273 |
|
---|
274 | SOM_Scope BOOL SOMLINK mmdatafileM_mmclsInitTypesAndExtensions(M_MMDataFile *somSelf)
|
---|
275 | {
|
---|
276 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
277 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_mmclsInitTypesAndExtensions");
|
---|
278 |
|
---|
279 | /* Return statement to be customized: */
|
---|
280 | return;
|
---|
281 | }
|
---|
282 |
|
---|
283 | SOM_Scope BOOL SOMLINK mmdatafileM_mmclsSetDefaultView(M_MMDataFile *somSelf,
|
---|
284 | ULONG ulView)
|
---|
285 | {
|
---|
286 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
287 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_mmclsSetDefaultView");
|
---|
288 |
|
---|
289 | /* Return statement to be customized: */
|
---|
290 | return;
|
---|
291 | }
|
---|
292 |
|
---|
293 | SOM_Scope PSZ SOMLINK mmdatafileM_wpclsQueryInstanceType(M_MMDataFile *somSelf)
|
---|
294 | {
|
---|
295 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
296 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsQueryInstanceType");
|
---|
297 |
|
---|
298 | return (M_MMDataFile_parent_M_WPDataFile_wpclsQueryInstanceType(somSelf));
|
---|
299 | }
|
---|
300 |
|
---|
301 | SOM_Scope PSZ SOMLINK mmdatafileM_wpclsQueryInstanceFilter(M_MMDataFile *somSelf)
|
---|
302 | {
|
---|
303 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
304 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsQueryInstanceFilter");
|
---|
305 |
|
---|
306 | return (M_MMDataFile_parent_M_WPDataFile_wpclsQueryInstanceFilter(somSelf));
|
---|
307 | }
|
---|
308 |
|
---|
309 | SOM_Scope BOOL SOMLINK mmdatafileM_wpclsCreateDefaultTemplates(M_MMDataFile *somSelf,
|
---|
310 | WPObject* Folder)
|
---|
311 | {
|
---|
312 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
313 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsCreateDefaultTemplates");
|
---|
314 |
|
---|
315 | return (M_MMDataFile_parent_M_WPDataFile_wpclsCreateDefaultTemplates(somSelf,
|
---|
316 | Folder));
|
---|
317 | }
|
---|
318 |
|
---|
319 | SOM_Scope void SOMLINK mmdatafileM_wpclsInitData(M_MMDataFile *somSelf)
|
---|
320 | {
|
---|
321 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
322 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsInitData");
|
---|
323 |
|
---|
324 | M_MMDataFile_parent_M_WPDataFile_wpclsInitData(somSelf);
|
---|
325 | }
|
---|
326 |
|
---|
327 | SOM_Scope BOOL SOMLINK mmdatafileM_wpclsQueryDefaultHelp(M_MMDataFile *somSelf,
|
---|
328 | PULONG pHelpPanelId,
|
---|
329 | PSZ pszHelpLibrary)
|
---|
330 | {
|
---|
331 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
332 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsQueryDefaultHelp");
|
---|
333 |
|
---|
334 | return (M_MMDataFile_parent_M_WPDataFile_wpclsQueryDefaultHelp(somSelf,
|
---|
335 | pHelpPanelId,
|
---|
336 | pszHelpLibrary));
|
---|
337 | }
|
---|
338 |
|
---|
339 | SOM_Scope ULONG SOMLINK mmdatafileM_wpclsQueryDefaultView(M_MMDataFile *somSelf)
|
---|
340 | {
|
---|
341 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
342 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsQueryDefaultView");
|
---|
343 |
|
---|
344 | return (M_MMDataFile_parent_M_WPDataFile_wpclsQueryDefaultView(somSelf));
|
---|
345 | }
|
---|
346 |
|
---|
347 | SOM_Scope ULONG SOMLINK mmdatafileM_wpclsQueryStyle(M_MMDataFile *somSelf)
|
---|
348 | {
|
---|
349 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
350 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsQueryStyle");
|
---|
351 |
|
---|
352 | return (M_MMDataFile_parent_M_WPDataFile_wpclsQueryStyle(somSelf));
|
---|
353 | }
|
---|
354 |
|
---|
355 |
|
---|
356 | SOM_Scope void SOMLINK mmdatafileM_wpclsUnInitData(M_MMDataFile *somSelf)
|
---|
357 | {
|
---|
358 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
359 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsUnInitData");
|
---|
360 |
|
---|
361 | M_MMDataFile_parent_M_WPDataFile_wpclsUnInitData(somSelf);
|
---|
362 | }
|
---|
363 |
|
---|
364 | SOM_Scope ULONG SOMLINK mmdatafileM_wpclsQueryIconData(M_MMDataFile *somSelf,
|
---|
365 | PICONINFO pIconInfo)
|
---|
366 | {
|
---|
367 | /* M_MMDataFileData *somThis = M_MMDataFileGetData(somSelf); */
|
---|
368 | M_MMDataFileMethodDebug("M_MMDataFile","mmdatafileM_wpclsQueryIconData");
|
---|
369 |
|
---|
370 | return (M_MMDataFile_parent_M_WPDataFile_wpclsQueryIconData(somSelf,
|
---|
371 | pIconInfo));
|
---|
372 | }
|
---|
373 |
|
---|