source: trunk/classes/idl/idl_mm/cwmmdataf.idl

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: 4.5 KB
Line 
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/*
30 * cwmmdataf.idl
31 */
32
33#include <wpdataf.idl>
34
35/*
36 CLASS: CWMMDataFile
37*/
38
39interface M_CWMMDataFile;
40
41interface M_CWMMDataFile : M_WPDataFile
42{
43
44 /*
45 * New class methods
46 *
47 */
48
49 /* Window which receives messages asking for scanning audio files. */
50 readonly attribute HWND hwndAudioWorker;
51 /* Status window handle for message when scanning audio files. */
52 readonly attribute HWND hwndStatus;
53
54#ifdef __SOMIDL__
55 implementation {
56 /*
57 * Class Modifiers:
58 *
59 */
60 releaseorder:
61 _get_hwndAudioWorker,
62 _get_hwndStatus;
63
64 externalprefix = cwmmdatafileM_;
65 externalstem = cwmmdatafileM;
66 functionprefix = cwmmdatafileM_;
67 majorversion = 1;
68 minorversion = 2;
69 filestem = cwmmdataf; //# specifies the filestem for sc-generated files
70 dllname = "cwmm.DLL";
71 callstyle = oidl;
72
73 /*
74 * Internal class variables
75 *
76 */
77 /* Window which receives messages asking for scanning audio files. */
78/* HWND hwndAudioWorker;*/
79 /* Should we draw extended object titles in containers while playing? */
80 BOOL bNoExtendedIconTitles;
81
82 /*
83 * methods overridden
84 *
85 */
86 wpclsCreateDefaultTemplates : override;
87 wpclsQueryTitle : override;
88 wpclsQueryIconData : override;
89 wpclsInitData : override;
90 wpclsUnInitData : override;
91 wpclsQueryStyle : override;
92 };
93
94#endif /* __SOMIDL__ */
95
96};
97
98
99
100interface CWMMDataFile : WPDataFile
101{
102
103 /*
104 * New instance methods
105 *
106 */
107 PFNWP cwmmSetObjWindowProc(in PFNWP pObjectProc);
108 PFNWP cwmmQueryObjWindowProc();
109 BOOL cwmmSetRecordTitles(in PSZ pTitle, in BOOL bAddToTitle);
110 ULONG cwmmQueryTrackStatus();
111
112 /* Object window handling the start/stop/pause/resume commands. */
113 attribute HWND hwndObjectPlay;
114 /* Saved view while playing. */
115 attribute ULONG ulPreviousView;
116 /* This var holds the current status: stopped, playing, paused... */
117 attribute ULONG ulTrackStatus;
118
119#ifdef __SOMIDL__
120 implementation {
121
122 releaseorder:
123 cwmmSetObjWindowProc,
124 cwmmQueryObjWindowProc,
125 cwmmSetRecordTitles,
126 cwmmQueryTrackStatus,
127 _get_hwndObjectPlay,
128 _set_hwndObjectPlay,
129 _get_ulPreviousView,
130 _set_ulPreviousView,
131 _get_ulTrackStatus,
132 _set_ulTrackStatus;
133 /*
134 * Class Modifiers:
135 *
136 */
137
138 externalprefix = cwmmdatafile_;
139 externalstem = cwmmdatafile;
140 majorversion = 1;
141 minorversion = 2;
142 filestem = cwmmdataf; //# specifies the filestem for sc-generated files
143 metaclass = M_CWMMDataFile;
144 dllname = "cwmm.dll";
145 callstyle = oidl;
146
147 /*
148 * Internal instance variables
149 *
150 */
151 /* This object window procedure handles the start/stop commands. It has to be set by a subclass. */
152 PFNWP pfnwpObjectProc;
153 /* The alternative object title to be drawn in a container when playing. */
154 char chrRecordTitle[CCHMAXPATH];
155 /* Saved title for restoring. */
156 PSZ pOrgTitle;
157
158 /*
159 * methods overridden
160 *
161 */
162 wpFilterPopupMenu : override;
163 wpAddSettingsPages : override;
164 wpModifyPopupMenu : override;
165 wpSetTitle : override;
166 wpQueryTitle : override;
167#ifdef __PRIVATE__
168
169#endif
170
171 }; // implementation
172#endif /* __SOMIDL__ */
173};
174
175
176
177
178
179
180
181
Note: See TracBrowser for help on using the repository browser.