Changeset 104 for trunk/mediafolder
- Timestamp:
- Oct 2, 2023, 11:34:35 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 46 edited
- 10 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/v2.9 merged eligible /branches/v2.9_Lars merged eligible
-
Property svn:mergeinfo
set to
-
trunk/mediafolder/Help/makefile
r4 r104 15 15 16 16 mediafldr.hlp: mediafldr.ipf mediafldr049.ipf mediafldr031.ipf mediafldr039.ipf \ 17 mediafldr_ecs.ipf mediafldr049_ecs.ipf mediafldr031_ecs.ipf mediafldr039_ecs.ipf 17 mediafldr033.ipf mediafldr034.ipf \ 18 mediafldr_ecs.ipf mediafldr049_ecs.ipf mediafldr031_ecs.ipf mediafldr039_ecs.ipf \ 19 mediafldr033_ecs.ipf 18 20 ifdef ECS_COMPILE 19 21 ipfc mediafldr_ecs.ipf mediafldr.hlp … … 21 23 ipfc mediafldr031_ecs.ipf mediafldr031.hlp 22 24 ipfc mediafldr039_ecs.ipf mediafldr039.hlp 23 ipfc mediafldr088_ecs.ipf mediafldr088.hlp 25 ipfc mediafldr088_ecs.ipf mediafldr088.hlp 26 ipfc mediafldr033_ecs.ipf mediafldr033.hlp 24 27 else 25 28 ipfc mediafldr.ipf … … 27 30 ipfc mediafldr031.ipf 28 31 ipfc mediafldr039.ipf 29 ipfc mediafldr088.ipf 32 ipfc mediafldr088.ipf 33 ipfc mediafldr033.ipf 34 ipfc mediafldr034.ipf 30 35 endif 31 36 … … 43 48 44 49 distribution: 45 -
trunk/mediafolder/Help/mediafldr.ipf
r2 r104 1 1 :userdoc. 2 2 3 :docprof .4 5 :title.Help for Media Folder distribution 6 7 :h1 res=100.Help for Media Player 8 : p.9 This object is a Media-Folder. Put any audio file into it 10 for playing. Specify the order of the tracks using drag and drop. 11 Th e usual play controls are available like play, stop or volume.12 :p. 13 More information and updates: 14 :p.15 :link reftype=launch 16 object='netscape.exe' 17 data='http://www.os2world.com/cdwriting'. 18 http&colon.//www.os2world.com/cdwriting:elink. 19 .br 20 :link reftype=launch 21 object='netscape.exe' 22 data='http://www.geocities.com/SiliconValley/Sector/5785/'. 23 http&colon.//www.geocities.com/SiliconValley/Sector/5785/:elink. 24 :p. 3 :docprof toc=123456. 4 5 :title.Help for Media Folder distribution 6 7 .* ---------------------------------------------------------------------------- 8 :h1 res=100 name=mplayer 9 x=left y=bottom width=100% height=100%.Media player 10 11 This object is a Media folder. Drag one or more audio files into it for 12 playing. To reorder, ensure that View | Sort > Always maintain sort order option 13 is deselected, as well as any other sort options which might affect manual 14 ordering, and drag and drop tracks into the folder as desired. 15 16 :p.Use the buttons or :link reftype=hd refid=mkeyboard.Keyboard:elink. to 17 control playback. The Repeat checkbox will cause the currently selected track to 18 continuously replay. The Random checkbox will select tracks arbitrarily, unless 19 the Repeat checkbox has been set. 20 21 :p.More information and updates&colon. 22 23 :p.https&colon.//trac.netlabs.org/cwmmclasses/wiki 24 25 25 :nt. 26 :p. 27 For playing of MP3 files you need the MMIOMP3 procedure written 28 by Russell O'Connor. 29 :p. 30 Get it from 31 :p. 32 :link reftype=launch 33 object='netscape.exe' 34 data='http://www.math.berkeley.edu/~roconnor/'. 35 http&colon.//www.math.berkeley.edu/~roconnor/:elink. 26 A suitable MP3 MMIOProc is required in order to play MP3 files, as is a suitable 27 MMIOProc for Ogg (Vorbis and FLAC) files. These are included in the MMAudio Pak 28 2, available from&colon. 29 30 :p.http&colon.//r6.ca/MMAudioPak/ 31 32 :p.(Ogg formats are supported by default in ArcaOS 5.x and above.) 36 33 :ent. 37 :p. 38 :hp2.Keyboard control:ehp2. 39 :p. 40 Use the following keys to control the media folder. The buttons in the upper part 41 of the folder must have the focus when using the keys. Use :hp2.TAB:ehp2. to switch 42 the focus from the container to the buttons. 43 :p. 44 :ul. 45 :li.:hp8.B:ehp8.ack 46 :li.:hp8.S:ehp8.top 47 :li.:hp8.P:ehp8.ause 48 :li.P:hp8.l:ehp8.ay 49 :li.:hp8.N:ehp8.ext 50 :li.:hp8.R:ehp8.epeat 34 35 .* ---------------------------------------------------------------------------- 36 :h2 res=110 name=mview 37 x=left y=bottom width=100% height=100%.View options 38 39 By default, Media folders are displayed in Details view, listing track- 40 specific details for each file or object which has been added to the main 41 folder. 42 43 :p.To switch to Compact view, select View | Compact from the main menu. In this 44 mode, the folder content is hidden, however, 45 :link reftype=hd refid=mlaunchpad.Launchpad:elink. buttons will be visible. 46 47 :note text='Tip:'.Select files to play contiguously, reordering folder content 48 if necessary, click :hp2.Play:ehp2., and then change the view to Compact. 49 50 .* ---------------------------------------------------------------------------- 51 :h2 res=120 name=mkeyboard 52 x=left y=bottom width=100% height=100%.Keyboard control 53 54 Use the following keys to control the Media folder. The buttons in the upper 55 part of the folder must have focus when using these keys. Use 56 :hp2.<.Tab>.:ehp2. to switch the focus from the container to the buttons. 57 58 :ul compact. 59 :li.:hp2.B:ehp2.ack 60 :li.:hp2.S:ehp2.top 61 :li.:hp2.P:ehp2.ause 62 :li.P:hp2.l:ehp2.ay 63 :li.:hp2.N:ehp2.ext 64 :li.:hp2.R:ehp2.epeat 65 :li.R:hp2.a:ehp2.ndom 51 66 :eul. 52 67 53 :h1 res=200.Help for CD-Player 54 :p. 55 This object is a CD player with FreeDB support. Tracktitles and other information 56 are queried from a FreeDB server if an internet connection is available. 57 :p. 58 More information and updates: 59 :p. 60 :link reftype=launch 61 object='netscape.exe' 62 data='http://www.os2world.com/cdwriting'. 63 http&colon.//www.os2world.com/cdwriting:elink. 64 .br 65 :link reftype=launch 66 object='netscape.exe' 67 data='http://www.geocities.com/SiliconValley/Sector/5785/'. 68 http&colon.//www.geocities.com/SiliconValley/Sector/5785/:elink. 69 :p. 68 .* ---------------------------------------------------------------------------- 69 :h2 res=130 name=mvolume 70 x=left y=bottom width=100% height=100%.Volume slider 71 72 Below the player buttons is the Volume slider. This controls the volume level 73 for playback, within the limits set by the Master volume control for the system. 74 75 .* ---------------------------------------------------------------------------- 76 :h2 res=140 name=mtrackpos 77 x=left y=bottom width=100% height=100%.Track position slider 78 79 To the right of the player buttons is the Track position slider. Drag the 80 slider forward or back to reposition the playback point of the current file. 81 82 .* ---------------------------------------------------------------------------- 83 :h2 res=150 name=mlaunchpad 84 x=left y=bottom width=100% height=100%.Launchpad 85 86 Toward the lower left of the player folder is a square box. Drag and drop a 87 media file on the Launchpad to add it to the palette. The filename is displayed 88 in the button's tooltip. Drag and drop additional files in between existing 89 items in the Launchpad or to the right of the last item. Click any one of these 90 to begin playing it. 91 92 :p.The Launchpad is common across all Media, CD player, and M3U playlist 93 folders. 94 95 :note.When play is started in this manner, the 96 :link reftype=hd refid=mtrackpos.Track position slider:elink. does not reflect 97 the current playback state, and the player buttons do not control playback. Use 98 the button's context menu to control playback, instead. 99 100 :warning.While it is possible to add MP3, Ogg, and other digital media files to 101 the Launchpad, do not add CD tracks here. CD tracks will not be playable from 102 the Launchpad. 103 104 .* ---------------------------------------------------------------------------- 105 :h1 res=200 name=cplayer 106 x=left y=bottom width=100% height=100%.CD player 107 108 This object is a CD player with CDDB support. Track titles and other metadata 109 are queried from a configured FreeDB-compatible server if an internet connection 110 is available. 111 112 :p.More information and updates&colon. 113 114 :p.https&colon.//trac.netlabs.org/cwmmclasses/wiki 115 70 116 :nt. 71 To use FreeDB servers you have to install the appropriate package and you must 72 specify an email address. Use the configuration object to do so. 117 Most CDDB servers follow the FreeDB practice of requiring a valid email address 118 for access. Use the FreeDB Client configuration object in the Multimedia folder 119 to set this. 73 120 :ent. 74 :p. 75 :hp2.Keyboard control:ehp2. 76 :p. 77 Use the following keys to control the player. The buttons in the upper part 78 of the window must have the focus when using the keys. Use :hp2.TAB:ehp2. to switch 79 the focus from the container to the buttons. 80 :p. 81 :ul. 82 :li.:hp8.B:ehp8.ack 83 :li.:hp8.S:ehp8.top 84 :li.:hp8.P:ehp8.ause 85 :li.P:hp8.l:ehp8.ay 86 :li.:hp8.N:ehp8.ext 87 :li.:hp8.R:ehp8.epeat 121 122 .* ---------------------------------------------------------------------------- 123 :h2 res=210 name=cview 124 x=left y=bottom width=100% height=100%.View options 125 126 By default, the CD player is displayed in Details view, listing details for each 127 track on the mounted disc. 128 129 :p.To switch to Compact view, select View | Compact from the main menu. In this 130 mode, the folder content is hidden, however, 131 :link reftype=hd refid=claunchpad.Launchpad:elink. buttons will be visible. 132 133 :note text='Tip:'.Select the first track to be played, click :hp2.Play:ehp2., and 134 then change the view to Compact. 135 136 .* ---------------------------------------------------------------------------- 137 :h2 res=220 name=ckeyboard 138 x=left y=bottom width=100% height=100%.Keyboard control 139 140 Use the following keys to control the CD Player. The buttons in the upper 141 part of the player must have focus when using these keys. Use 142 :hp2.<.Tab>.:ehp2. to switch the focus from the container to the buttons. 143 144 :ul compact. 145 :li.:hp2.B:ehp2.ack 146 :li.:hp2.S:ehp2.top 147 :li.:hp2.P:ehp2.ause 148 :li.P:hp2.l:ehp2.ay 149 :li.:hp2.N:ehp2.ext 150 :li.:hp2.R:ehp2.epeat 88 151 :eul. 89 152 90 :h1 res=300.Help for playlist editor 91 :p. 92 Use the playlist editor to create or modify M3U playlists. These playlists 93 are for example used by portable MP3 players. Such a playlist file is a text file 94 containing the filenames of every track to be played. 95 :p. 96 Weitere Informationen und Updates: 97 :p. 98 :link reftype=launch 99 object='netscape.exe' 100 data='http://www.os2world.com/cdwriting'. 101 http&colon.//www.os2world.com/cdwriting:elink. 102 .br 103 :link reftype=launch 104 object='netscape.exe' 105 data='http://www.geocities.com/SiliconValley/Sector/5785/'. 106 http&colon.//www.geocities.com/SiliconValley/Sector/5785/:elink. 107 153 .* ---------------------------------------------------------------------------- 154 :h2 res=230 name=cvolume 155 x=left y=bottom width=100% height=100%.Volume slider 156 157 Below the player buttons is the Volume slider. This controls the volume level 158 for playback, within the limits set by the Master volume control for the system. 159 160 .* ---------------------------------------------------------------------------- 161 :h2 res=240 name=ctrackpos 162 x=left y=bottom width=100% height=100%.Track position slider 163 164 To the right of the player buttons is the Track position slider. Drag the 165 slider forward or back to reposition the playback point of the current track. 166 167 .* ---------------------------------------------------------------------------- 168 :h2 res=250 name=claunchpad 169 x=left y=bottom width=100% height=100%.Launchpad 170 171 Toward the lower left of the player folder is a square box. Drag and drop a 172 media file on the Launchpad to add it to the palette. The filename is displayed 173 in the button's tooltip. Drag and drop additional files in between existing 174 items in the Launchpad or to the right of the last item. Click any one of these 175 to begin playing it. 176 177 :p.The Launchpad is common across all Media, CD player, and M3U playlist 178 folders. 179 180 :note.When play is started in this manner, the 181 :link reftype=hd refid=mtrackpos.Track position slider:elink. does not reflect 182 the current playback state, and the player buttons do not control playback. Use 183 the button's context menu to control playback, instead. 184 185 :warning.While it is possible to add MP3, Ogg, and other digital media files to 186 the Launchpad, do not add CD tracks here. CD tracks will not be playable from 187 the Launchpad. 188 189 .* ---------------------------------------------------------------------------- 190 :h1 res=300 name=peditor 191 x=left y=bottom width=100% height=100%.Playlist editor 192 193 Use the Playlist editor to modify M3U playlists. An M3U playlist is a text 194 file which contains paths (URLs) to the tracks it references. 195 196 :p.M3U (Moving Picture Experts Group Audio Layer 3 Uniform Resource Locator) is 197 a :hp1.de facto:ehp1. standard, generally recognized by most MP3 players. 198 199 :p.To add tracks, simply drag and drop them into the editor. To reorder, ensure 200 that :hp1.Always maintain sort order:ehp1. option on the :hp2.Sort:ehp2. submenu 201 is deselected, as well as any other sort options which might affect manual 202 ordering, and drag and drop the tracks as desired. Save the playlist by 203 selecting :hp2.File | Save:ehp2. from the menu. 204 205 :p.To create a new playlist, drag the M3U playlist template from the Multimedia 206 Templates folder to a suitable location on the desktop. 207 208 :p.More information and updates&colon. 209 210 :p.https&colon.//trac.netlabs.org/cwmmclasses/wiki 211 212 .* ---------------------------------------------------------------------------- 213 :h2 res=350 name=plaunchpad 214 x=left y=bottom width=100% height=100%.Launchpad 215 216 Toward the lower left of the M3U playlist editor is a square box. Drag and drop 217 a media file on the Launchpad to add it to the palette. The filename is 218 displayed in the button's tooltip. Drag and drop additional files in between 219 existing items in the Launchpad or to the right of the last item. Click any one 220 of these to begin playing it. 221 222 :p.The Launchpad is common across all Media, CD player, and M3U playlist 223 folders. 224 225 :note.Use the button's context menu to control playback. 226 227 :warning.While it is possible to add MP3, Ogg, and other digital media files to 228 the Launchpad, do not add CD tracks here. CD tracks will not be playable from 229 the Launchpad. 108 230 109 231 :euserdoc. 110 -
trunk/mediafolder/MMconfigPage/cddbPage.def
r2 r104 1 1 LIBRARY cddbpage INITINSTANCE LONGNAMES 2 PROTMODE3 2 DESCRIPTION 'CDDB Config page - (c) Copyright Chris Wohlgemuth 2002' 4 3 DATA MULTIPLE NONSHARED 5 STACKSIZE 327686 4 EXPORTS 7 5 InsertCDDBConfigPage @1 -
trunk/mediafolder/ProgFolder/makefile
r53 r104 1 1 ################################################ 2 2 # 3 # Makefile for class CWProgFolder 3 # Makefile for class CWProgFolder 4 4 # 5 5 # (C) Chris Wohlgenuth 1999-2001 6 # 6 # 7 7 # E-mail: christopher.wohlgemuth@bch.siemens.de 8 8 # … … 51 51 52 52 CC = icc 53 LIB_DIR = $d:/emx/lib 53 LIB_DIR = $d:/emx/lib 54 54 CPPFLAGS = /Ge- /Gm+ -G4 -Gl /O+ -Oc+ /C+ /Q+ 55 55 INC = ../include 56 56 INC2 = ..\include 57 DEFS = 58 PROGS = 57 DEFS = 58 PROGS = 59 59 ODIR = . 60 60 CPPDIR = . … … 63 63 DLLDIR = ../../dist/DLL 64 64 65 all: progf older.dll65 all: progfldr.dll 66 66 67 progfolder.dll: $(OBJECTS) progfolder.def 68 icc -Ge- $(OBJECTS) progfolder.def 69 rc -i $(INC2) progfolder.rc progfolder.dll 70 implib /NOLOGO progfldr.lib progfolder.def 71 cp progfolder.dll ../bin/progfldr.dll 67 progfldr.dll: $(OBJECTS) progfolder.def 68 icc -Ge- /Fe$@ /Fm$*.map $(OBJECTS) progfolder.def 69 rc -i $(INC2) progfolder.rc $@ 70 mapsym $*.map 71 implib /NOLOGO progfldr.lib progfolder.def 72 mv $@ .. 73 mv $*.map .. 74 mv $*.sym .. 72 75 73 76 progfolder.obj: progfolder.cpp $(INC)/progfolder.hh $(INC)/progfolder.h … … 75 78 76 79 pframeproc.obj: pframeproc.cpp $(INC)/progfolder.hh $(INC)/progfolder.h 77 icc $(CPPFLAGS) -I$(INC) $< 80 icc $(CPPFLAGS) -I$(INC) $< 78 81 79 82 storewindow.obj: storewindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h 80 icc $(CPPFLAGS) -I$(INC) $< 83 icc $(CPPFLAGS) -I$(INC) $< 81 84 82 85 separatorwindow.obj: separatorwindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h 83 icc $(CPPFLAGS) -I$(INC) $< 86 icc $(CPPFLAGS) -I$(INC) $< 84 87 85 88 clean: … … 93 96 94 97 #distribution: 95 # -cp progf older.dll $(DLLDIR)/progfldr.dll98 # -cp progfldr.dll $(DLLDIR)/progfldr.dll 96 99 -
trunk/mediafolder/c/audioshadow/makefile
r2 r104 6 6 CC = icc 7 7 #CPPFLAGS = /Ge- /Gm+ /G4 /Gl /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 8 CPPFLAGS = /G5 /Ge- /Gm+ /Gl 9 LIBS = mmPM2.lib rexx.lib 8 CPPFLAGS = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 9 LIBS = mmPM2.lib rexx.lib 10 10 INC = ..\include 11 11 HELPERDIR = .\helper 12 DEFS = 13 PROGS = 12 DEFS = 13 PROGS = 14 14 ODIR = ./obj 15 15 CPPDIR = . … … 18 18 OBJECTS = audioshadowoverridenwpmethods.obj audioshadowoverridenwpclsmethods.obj 19 19 20 all: mediaf older.dll20 all: mediafld.dll 21 21 22 mediaf older.dll: $(OBJECTS)22 mediafld.dll: $(OBJECTS) 23 23 cd ../. && make 24 24 -
trunk/mediafolder/c/cddb/cddb.cpp
r40 r104 88 88 delete(tempTrack); 89 89 } 90 90 91 91 if(nextCddb)delete nextCddb; 92 92 … … 129 129 if(tempTrack) { 130 130 /* Yes, add the rest of the title to that what we already have */ 131 strncat(tempTrack->trackname, track->trackname, sizeof(tempTrack->trackname)-strlen(tempTrack->trackname)-1); 131 strncat(tempTrack->trackname, track->trackname, sizeof(tempTrack->trackname)-strlen(tempTrack->trackname)-1); 132 132 delete(track); 133 133 return; … … 136 136 tempTrack=firstTrack; 137 137 while(tempTrack->nextTrack) { 138 tempTrack=tempTrack->nextTrack; 138 tempTrack=tempTrack->nextTrack; 139 139 } 140 140 tempTrack->nextTrack=track; 141 return; 141 return; 142 142 } 143 143 … … 152 152 return tempTrack; 153 153 154 tempTrack=tempTrack->nextTrack; 154 tempTrack=tempTrack->nextTrack; 155 155 } 156 156 … … 169 169 170 170 #if 0 171 /* now defined in printHelper.cpp 171 /* now defined in printHelper.cpp 172 172 or cddbhelper.cpp. By choosing the right module to link to, it's possible 173 173 to redirect the messages without changing this module. Used for different … … 191 191 fileHandle=open("cddb.out",O_APPEND|O_TEXT|O_WRONLY); 192 192 if(fileHandle==-1) { 193 printError( "Cannot open cddb.out");193 printError((char *)"Cannot open cddb.out"); 194 194 return; 195 195 } … … 205 205 206 206 int readResponse(int s, char * buffer,int size) 207 { 207 { 208 208 int a; 209 209 int rc; 210 210 211 211 rc=1; 212 212 for(a=0;a<size&&rc>0;a++) { … … 217 217 } 218 218 if(rc==-1) 219 return CDDB_ERROR; 220 } 221 219 return CDDB_ERROR; 220 } 221 222 222 return CDDB_ERROR; 223 223 } … … 237 237 case '3': return CDDB_MORE; 238 238 case '4': 239 printError( "CDDB server error");239 printError((char *)"CDDB server error"); 240 240 return CDDB_ERROR; 241 241 case '5': 242 printError( "CDDB client error");242 printError((char *)"CDDB client error"); 243 243 return CDDB_ERROR; 244 244 default: 245 printError( "Unknown error");245 printError((char *)"Unknown error"); 246 246 break; 247 247 } … … 258 258 /* Handshaking */ 259 259 if(verbose) 260 printError( "Handshaking... ");260 printError((char *)"Handshaking... "); 261 261 sprintf(buffer,"cddb hello %s %s %s %s\n",username,hostname,clientname,version); 262 if(verbose==2) 262 if(verbose==2) 263 263 printError(buffer); 264 264 rc=write(s,buffer,strlen(buffer)); 265 265 if(rc==-1) { 266 printError( "Handshaking: cannot write to CDDB server");267 return -1; 268 } 269 if(verbose) 270 printError( "done\n");271 if(verbose==2) 272 printError( "Response: ");273 266 printError((char *)"Handshaking: cannot write to CDDB server"); 267 return -1; 268 } 269 if(verbose) 270 printError((char *)"done\n"); 271 if(verbose==2) 272 printError((char *)"Response: "); 273 274 274 rc=readResponse(s,buffer,sizeof(buffer)); 275 275 if(rc==CDDB_ERROR) { 276 printError( "Handshaking: cannot get response");277 return -1; 278 } 279 if(verbose==2) 276 printError((char *)"Handshaking: cannot get response"); 277 return -1; 278 } 279 if(verbose==2) 280 280 printErrorCR(buffer); 281 281 282 282 if(check_cddb_code(buffer)==CDDB_ERROR) 283 283 return -1; … … 297 297 do { 298 298 if(verbose) 299 printError( "\nSetting protocol level... ");299 printError((char *)"\nSetting protocol level... "); 300 300 sprintf(buffer,"proto %d\n",iProtLevel); 301 301 printError(buffer); 302 302 rc=write(s,buffer,strlen(buffer)); 303 303 if(rc==-1) { 304 printError( "Protocol: cannot write to CDDB server");304 printError((char *)"Protocol: cannot write to CDDB server"); 305 305 return -1; 306 306 } 307 307 if(verbose) 308 printError( "done\n");308 printError((char *)"done\n"); 309 309 if(verbose==2) 310 printError( "Response: ");311 310 printError((char *)"Response: "); 311 312 312 rc=readResponse(s,buffer,sizeof(buffer)); 313 313 if(rc==CDDB_ERROR) { 314 printError( "Set protocol: cannot get response");314 printError((char *)"Set protocol: cannot get response"); 315 315 return -1; 316 316 } 317 317 if(verbose==2) 318 318 printErrorCR(buffer); 319 319 320 320 /* Check cddb code */ 321 321 if(check_cddb_code(buffer)==CDDB_ERROR) { … … 326 326 break; 327 327 /* protocol not supported. Decrement level and try again. */ 328 iProtLevel--; 328 iProtLevel--; 329 329 }while(iProtLevel>0); 330 330 331 331 return 0; 332 332 } … … 343 343 do { 344 344 rc=readResponse(s,buffer,sizeof(buffer)); /* Get next line */ 345 345 346 346 if(rc==CDDB_ERROR) 347 347 return root; /* return what we have so far */ … … 351 351 352 352 /* A new cddb instance for every match */ 353 Cddb=new cddb( "","","",1); /* One fuzzy match or one of several matches */353 Cddb=new cddb((char *)"",(char *)"",(char *)"",1); /* One fuzzy match or one of several matches */ 354 354 /* Get the data for this match */ 355 355 sscanf(buffer, " %20s %x %100[^/\r\n] / %100[^\r\n]", Cddb->category,&Cddb->discid,Cddb->artist,Cddb->title); … … 359 359 else 360 360 root->linkCddb(Cddb); 361 361 362 362 }while(true); 363 363 … … 383 383 /* Sending query */ 384 384 if(verbose) 385 printError( "Sending query cmd... ");385 printError((char *)"Sending query cmd... "); 386 386 /* Build cmd-line */ 387 387 sprintf(buffer,"cddb query %08x %d",cddbInfo->discid,cddbInfo->numTracks); … … 389 389 rc=snprintf(track,sizeof(track)," %d",cddbInfo->startSector[a]); 390 390 if(rc==EOF||rc>=sizeof(track)) { 391 printError( "Query: buffer overrun while formatting track offsets.\nPlease report this bug.\n");391 printError((char *)"Query: buffer overrun while formatting track offsets.\nPlease report this bug.\n"); 392 392 return 0; 393 393 } 394 394 if(sizeof(buffer)-strlen(buffer) <= strlen(track)) { 395 printError( "Query: buffer overrun while adding track offsets to command.\nPlease report this bug.\n");395 printError((char *)"Query: buffer overrun while adding track offsets to command.\nPlease report this bug.\n"); 396 396 return 0; 397 397 } … … 401 401 rc=snprintf(track,sizeof(track), " %d\n",cddbInfo->discLength); 402 402 if(rc==EOF||rc>=sizeof(track)) { 403 printError( "Query: buffer overrun while formatting disclength.\nPlease report this bug.\n");403 printError((char *)"Query: buffer overrun while formatting disclength.\nPlease report this bug.\n"); 404 404 return 0; 405 405 } 406 406 if(sizeof(buffer)-strlen(buffer) <= strlen(track)) { 407 printError( "Query: buffer overrun while adding disclength to command.\nPlease report this bug.\n");407 printError((char *)"Query: buffer overrun while adding disclength to command.\nPlease report this bug.\n"); 408 408 return 0; 409 409 } … … 415 415 rc=write(s,buffer,strlen(buffer)); 416 416 if(rc==-1) { 417 printError( "Query: cannot write to CDDB server");417 printError((char *)"Query: cannot write to CDDB server"); 418 418 return 0; 419 419 } 420 420 if(verbose) 421 printError( " done\n");422 if(verbose==2) 423 printError( "Response: ");424 421 printError((char *)" done\n"); 422 if(verbose==2) 423 printError((char *)"Response: "); 424 425 425 rc=readResponse(s,buffer,sizeof(buffer)); 426 426 //rc=read(s,buffer,sizeof(buffer)-1); 427 427 if(rc==CDDB_ERROR) { 428 printError( "Query: cannot get response");428 printError((char *)"Query: cannot get response"); 429 429 return 0; 430 430 } … … 440 440 { 441 441 case 200: /* exact match */ 442 Cddb=new cddb( "","","");442 Cddb=new cddb((char *)"",(char *)"",(char *)""); 443 443 444 444 sscanf(buffer+4, "%20s %x %100[^/\r\n] / %100[^\r\n]", Cddb->category,&Cddb->discid,Cddb->artist,Cddb->title); … … 457 457 /* We shouldn't reach this */ 458 458 return 0; 459 } 459 } 460 460 461 461 /* Reads the CDDB banner from the server after connecting */ … … 471 471 rc=readResponse(s,buffer,sizeof(buffer)); 472 472 if(rc==CDDB_ERROR) { 473 printError( "Cannot read CDDB-Banner");473 printError((char *)"Cannot read CDDB-Banner"); 474 474 return -1; 475 475 } … … 493 493 int iTrack=0; 494 494 int iTemp=0; 495 495 496 496 do{ 497 497 rc=readResponse(s,buffer,sizeof(buffer)); 498 498 if(rc==CDDB_ERROR) { 499 printError( "Read request: cannot get response");499 printError((char *)"Read request: cannot get response"); 500 500 return CDDB_ERROR; 501 501 } … … 504 504 if(buffer[0]!='.') 505 505 printData(buffer); 506 506 507 507 if(buffer[0]=='#') /* This is a comment */ 508 508 { } … … 511 511 if(buffer[0]=='.') /* End of data */ 512 512 return CDDB_OK; /* Done */ 513 513 514 514 //printf("Found data: %s\n",buffer); 515 515 sscanf(buffer,"%20[^0-9=]",key); … … 524 524 }while(rc==CDDB_MORE); 525 525 526 return CDDB_OK; 526 527 } 527 528 … … 534 535 535 536 /* Build cmd-line */ 536 sprintf(buffer,"cddb read %s %08x\n",Cddb->category,Cddb->discid); 537 if(verbose) 538 printError( "\nSending read cmd... ");537 sprintf(buffer,"cddb read %s %08x\n",Cddb->category,Cddb->discid); 538 if(verbose) 539 printError((char *)"\nSending read cmd... "); 539 540 if(verbose==2) 540 541 printError(buffer); 541 542 542 543 rc=write(s,buffer,strlen(buffer)); 543 544 if(rc==-1) { 544 printError( "Read request: cannot write to CDDB server");545 return -1; 546 } 547 if(verbose) 548 printError( "done\n");549 if(verbose==2) 550 printError( "Response: ");551 545 printError((char *)"Read request: cannot write to CDDB server"); 546 return -1; 547 } 548 if(verbose) 549 printError((char *)"done\n"); 550 if(verbose==2) 551 printError((char *)"Response: "); 552 552 553 rc=readResponse(s,buffer,sizeof(buffer)); 553 554 if(rc==CDDB_ERROR) { 554 printError( "Read request: cannot get response");555 return -1; 556 } 557 if(verbose==2) 555 printError((char *)"Read request: cannot get response"); 556 return -1; 557 } 558 if(verbose==2) 558 559 printError(buffer); 559 560 if(check_cddb_code(buffer)==CDDB_ERROR) 560 561 return CDDB_ERROR; 561 562 562 /* Get the data */ 563 /* Get the data */ 563 564 read_and_parse(s,Cddb); 564 return CDDB_OK; 565 return CDDB_OK; 565 566 } 566 567 … … 577 578 /* Creating socket */ 578 579 if(verbose) 579 printError( "Creating socket... ");580 printError((char *)"Creating socket... "); 580 581 s=socket(AF_INET,SOCK_STREAM,0); 581 582 if(s==-1) { 582 printError( "Cannot create socket!");583 printError((char *)"Cannot create socket!"); 583 584 return -1; 584 585 } 585 586 *skt=s; 586 587 if(verbose) 587 printError( "Socket created\n");588 printError((char *)"Socket created\n"); 588 589 589 590 /* Querying host */ 590 591 if(verbose) 591 printError( "Querying host... ");592 printError((char *)"Querying host... "); 592 593 he = gethostbyname(host); 593 594 if(he==NULL) { 594 printError( "Cannot get host address.\ngethostbyname() returned error: ");595 printError((char *)"Cannot get host address.\ngethostbyname() returned error: "); 595 596 switch (h_errno) 596 597 { 597 598 case HOST_NOT_FOUND: 598 printError( "Host not found\n");599 printError((char *)"Host not found\n"); 599 600 break; 600 601 case TRY_AGAIN: 601 printError( "Temporary error. Try again later.\n");602 printError((char *)"Temporary error. Try again later.\n"); 602 603 break; 603 604 case NO_DATA: 604 printError( "Name valid but name server has no associated address.\n");605 printError((char *)"Name valid but name server has no associated address.\n"); 605 606 break; 606 607 case NO_RECOVERY: 607 printError( "Unrecoverable error.\n");608 printError((char *)"Unrecoverable error.\n"); 608 609 break; 609 610 default: 610 printError( "Unknown error\n");611 printError((char *)"Unknown error\n"); 611 612 } 612 613 /* Close the socket */ 613 614 close(s); 614 615 return -1; 615 } 616 617 if(verbose) 618 printError( "Host found.\n");616 } 617 618 if(verbose) 619 printError((char *)"Host found.\n"); 619 620 620 621 621 622 /* Connecting to host */ 622 623 if(verbose) 623 printError( "Connecting to host... ");624 printError((char *)"Connecting to host... "); 624 625 memset(&sa_in,0, sizeof(struct sockaddr_in)); 625 626 … … 634 635 { 635 636 case EBADF: 636 printError( "No valid socket descriptor");637 printError((char *)"No valid socket descriptor"); 637 638 break; 638 639 case EISCONN: 639 printError( "The socket is already connected\n");640 printError((char *)"The socket is already connected\n"); 640 641 break; 641 642 case ETIMEDOUT: 642 printError( "No connection. Timed out.\n");643 printError((char *)"No connection. Timed out.\n"); 643 644 break; 644 645 case ECONNREFUSED: 645 printError( "Connection refused by host.\n");646 printError((char *)"Connection refused by host.\n"); 646 647 break; 647 648 case EADDRNOTAVAIL: 648 printError( "Address not avaiable.\n");649 printError((char *)"Address not avaiable.\n"); 649 650 break; 650 651 651 652 default: 652 printError( "General failure: Cannot connect to host\n");653 printError((char *)"General failure: Cannot connect to host\n"); 653 654 } 654 655 close(s); … … 656 657 } 657 658 if(verbose) 658 printError( "connected.\n");659 printError((char *)"connected.\n"); 659 660 return 0; 660 661 } -
trunk/mediafolder/c/cddb/makefile
r53 r104 7 7 #CPPFLAGSSTATIC = -O -Zomf -Zsys -Zmt -s 8 8 9 CPPFLAGSVAC = /Ge- /Gm+ /G4 /Gl 9 CPPFLAGSVAC = /Ge- /Gm+ /G4 /Gl- /O+ /Oc+ /Ol- /Q+ 10 10 INC = ../../include 11 11 MOREINC = $(COMMONSRC)/include 12 DEFS = 13 PROGS = 12 DEFS = 13 PROGS = 14 14 ODIR = . 15 15 CPPDIR = . … … 29 29 all: pmcddb.exe pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll 30 30 31 nlv: pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll 31 nlv: pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll 32 32 33 33 pmdb001.dll: ./res/pmcddb001.c ./res/pmcddb001.res … … 36 36 cp ./res/pmcddb001.dll pmdb001.dll 37 37 38 ./res/pmcddb001.res: ./res/pmcddb001.rc ./res/pmcddb001.dlg $(INC)/pmcddbres.h 38 ./res/pmcddb001.res: ./res/pmcddb001.rc ./res/pmcddb001.dlg $(INC)/pmcddbres.h 39 39 cd ./Res && make 40 40 … … 43 43 cp ./res/pmcddb049.dll pmdb049.dll 44 44 45 ./res/pmcddb049.res: ./res/pmcddb049.rc ./res/pmcddb049.dlg $(INC)/pmcddbres.h 45 ./res/pmcddb049.res: ./res/pmcddb049.rc ./res/pmcddb049.dlg $(INC)/pmcddbres.h 46 46 cd ./Res && make 47 47 … … 50 50 cp ./res/pmcddb031.dll pmdb031.dll 51 51 52 ./res/pmcddb031.res: ./res/pmcddb031.rc ./res/pmcddb031.dlg $(INC)/pmcddbres.h 52 ./res/pmcddb031.res: ./res/pmcddb031.rc ./res/pmcddb031.dlg $(INC)/pmcddbres.h 53 53 cd ./Res && make 54 54 … … 57 57 cp ./res/pmcddb039.dll pmdb039.dll 58 58 59 ./res/pmcddb039.res: ./res/pmcddb039.rc ./res/pmcddb039.dlg $(INC)/pmcddbres.h 59 ./res/pmcddb039.res: ./res/pmcddb039.rc ./res/pmcddb039.dlg $(INC)/pmcddbres.h 60 60 cd ./Res && make 61 61 … … 66 66 cp ./res/pmcddb088.dll pmdb088.dll 67 67 68 ./res/pmcddb088.res: ./res/pmcddb088.rc ./res/pmcddb088.dlg $(INC)/pmcddbres.h 68 ./res/pmcddb088.res: ./res/pmcddb088.rc ./res/pmcddb088.dlg $(INC)/pmcddbres.h 69 69 cd ./Res && make 70 70 71 71 72 $(LIBDIR)/%.obj: $(COMMONSRC)/%.c 73 $(CC) -c -Wall -o$@ -Zomf -I$(INC) -I$(MOREINC) $< 72 $(LIBDIR)/%.obj: $(COMMONSRC)/%.c 73 $(CC) -c -Wall -o$@ -Zomf -I$(INC) -I$(MOREINC) $< 74 74 75 cd.o bj: cd.c75 cd.o: cd.c 76 76 gcc -c $< -I$(INC) -Zcrtdll -Zomf 77 77 78 helper.o bj: helper.c78 helper.o: helper.c 79 79 gcc -c $< -I$(INC) -Zcrtdll -Zomf 80 80 81 message.o bj: message.c81 message.o: message.c 82 82 gcc -c $< -I$(INC) -Zcrtdll -Zomf 83 83 … … 85 85 $(CC) $< $(CPPFLAGS) -I$(INC) -I$(MOREINC) $(LIBOBJECTS) $(OBJECTS) $(CDDBOBJ) -lsocket -lstdc++6_dll.lib pmcddb.def 86 86 87 cddb.o bj: cddb.cpp $(INC)\cddb.hh87 cddb.o: cddb.cpp $(INC)\cddb.hh 88 88 gcc -c cddb.cpp -I$(INC) -Zcrtdll -Zomf 89 89 90 cddbcls.o bj: cddbcls.cpp $(INC)\cddb.hh $(INC)\cddb.h90 cddbcls.o: cddbcls.cpp $(INC)\cddb.hh $(INC)\cddb.h 91 91 cd ../pm_launchers && make 92 92 93 93 94 printHelper.o bj: printHelper.cpp94 printHelper.o: printHelper.cpp 95 95 gcc -c printHelper.cpp -I$(INC) -Zcrtdll -Zomf 96 96 97 cddbhelper.o bj: $(HELPERDIR)\cddbhelper.cpp97 cddbhelper.o: $(HELPERDIR)\cddbhelper.cpp 98 98 gcc -c $< -I$(INC) -Zcrtdll -Zomf 99 99 -
trunk/mediafolder/c/cddb/printhelper.cpp
r2 r104 30 30 */ 31 31 32 void externprintError(char* errorString)32 void printError(char* errorString) 33 33 { 34 34 fprintf(stderr,"%s",errorString); 35 35 } 36 36 37 void externprintErrorCR(char* errorString)37 void printErrorCR(char* errorString) 38 38 { 39 39 fprintf(stderr,"%s\n",errorString); … … 41 41 42 42 43 void externprintData(char* outString)43 void printData(char* outString) 44 44 { 45 45 int fileHandle; -
trunk/mediafolder/c/cddb/res/makefile
r53 r104 13 13 14 14 CPPFILES = 15 all: pmcddb001.dll pmcddb049.dll pmcddb031.dll pmcddb039.dll pmcddb088.dll 15 all: pmcddb001.dll pmcddb049.dll pmcddb031.dll pmcddb039.dll pmcddb088.dll pmcddb033.dll pmcddb034.dll 16 16 17 17 … … 29 29 gcc -Zdll -Zomf -I$(INC) pmcddb049.c pmcddb049.def 30 30 rc pmcddb049.res pmcddb049.dll 31 # icc $(CPPFLAGS) -I$(INC) pmcddb001.c pmcddb04á.def32 31 33 32 pmcddb049.res: pmcddb049.rc pmcddb049.dlg $(INC)\pmcddbres.h … … 37 36 gcc -Zdll -Zomf -I$(INC) pmcddb031.c pmcddb031.def 38 37 rc pmcddb031.res pmcddb031.dll 39 # icc $(CPPFLAGS) -I$(INC) pmcddb001.c pmcddb04á.def40 38 41 39 pmcddb031.res: pmcddb031.rc pmcddb031.dlg $(INC)\pmcddbres.h … … 45 43 gcc -Zdll -Zomf -I$(INC) pmcddb039.c pmcddb039.def 46 44 rc pmcddb039.res pmcddb039.dll 47 # icc $(CPPFLAGS) -I$(INC) pmcddb001.c pmcddb04á.def48 45 49 46 pmcddb039.res: pmcddb039.rc pmcddb039.dlg $(INC)\pmcddbres.h … … 57 54 rc -i $(INC) -r pmcddb088.rc 58 55 56 pmcddb033.dll: pmcddb033.c pmcddb033.res 57 gcc -Zdll -Zomf -I$(INC) pmcddb033.c pmcddb033.def 58 rc pmcddb033.res pmcddb033.dll 59 60 pmcddb033.res: pmcddb033.rc pmcddb033.dlg $(INC)\pmcddbres.h 61 rc -i $(INC) -r pmcddb033.rc 62 63 pmcddb034.dll: pmcddb034.c pmcddb034.res 64 gcc -Zdll -Zomf -I$(INC) pmcddb034.c pmcddb034.def 65 rc pmcddb034.res pmcddb034.dll 66 67 pmcddb034.res: pmcddb034.rc pmcddb034.dlg $(INC)\pmcddbres.h 68 rc -i $(INC) -r pmcddb034.rc 69 59 70 clean: 60 71 -rm *.obj … … 64 75 cleaner: 65 76 -rm *.*~ 66 67 68 -
trunk/mediafolder/c/cddb/res/pmcddb001.DEF
r43 r104 18 18 ; */ 19 19 20 LIBRARY PMDB001 INIT GLOBAL20 LIBRARY PMDB001 INITINSTANCE TERMINSTANCE 21 21 DESCRIPTION '$@#(c) Chris Wohlgemuth :0.1 (12.05.02) (PMDB001.DLL)#@##1## 12.05.2002 18:17:00 My ;-) ::::1::@@Resource-DLL' 22 PROTMODE 23 CODE LOADONCALL DISCARDABLE 24 DATA SINGLE SHARED 25 EXPORTS 22 DATA MULTIPLE NONSHARED 23 EXPORTS 26 24 queryLanguage = _queryLanguage -
trunk/mediafolder/c/cddb/res/pmcddb031.DEF
r43 r104 18 18 ; */ 19 19 20 LIBRARY PMDB031 INIT GLOBAL20 LIBRARY PMDB031 INITINSTANCE TERMINSTANCE 21 21 DESCRIPTION '$@#(c) B. van Leeuwen :0.1 (26.06.04) (PMDB031.DLL)#@##1## 25.06.2004 18:17:00 My ;-) ::::1::@@Resource-DLL' 22 PROTMODE 23 CODE LOADONCALL DISCARDABLE 24 DATA SINGLE SHARED 25 EXPORTS 22 DATA MULTIPLE NONSHARED 23 EXPORTS 26 24 queryLanguage = _queryLanguage -
trunk/mediafolder/c/cddb/res/pmcddb039.DEF
r43 r104 18 18 ; */ 19 19 20 LIBRARY PMDB039 INIT GLOBAL20 LIBRARY PMDB039 INITINSTANCE TERMINSTANCE 21 21 DESCRIPTION '$@#(c) Gabriele Gamba :0.1 (19.02.05) (PMDB039.DLL)#@##1## 19.02.2005 18:17:00 My ;-) ::::1::@@Resource-DLL' 22 PROTMODE 23 CODE LOADONCALL DISCARDABLE 24 DATA SINGLE SHARED 22 DATA MULTIPLE NONSHARED 25 23 EXPORTS 26 24 queryLanguage = _queryLanguage -
trunk/mediafolder/c/cddb/res/pmcddb049.DEF
r43 r104 18 18 ; */ 19 19 20 LIBRARY PMDB049 INIT GLOBAL20 LIBRARY PMDB049 INITINSTANCE TERMINSTANCE 21 21 DESCRIPTION '$@#(c) Chris Wohlgemuth :0.1 (12.05.02) (PMDB001.DLL)#@##1## 12.05.2002 18:17:00 My ;-) ::::1::@@Resource-DLL' 22 PROTMODE 23 CODE LOADONCALL DISCARDABLE 24 DATA SINGLE SHARED 25 EXPORTS 22 DATA MULTIPLE NONSHARED 23 EXPORTS 26 24 queryLanguage = _queryLanguage -
trunk/mediafolder/c/cddb/res/pmcddb088.DEF
r43 r104 18 18 ; */ 19 19 20 LIBRARY PMDB088 INIT GLOBAL20 LIBRARY PMDB088 INITINSTANCE TERMINSTANCE 21 21 DESCRIPTION '$@#(c) Ming-Lung Cheng :0.1 (12.05.02) (PMDB088.DLL)#@##1## 12.02.2006 18:17:00 My ;-) ::::1::@@Resource-DLL' 22 PROTMODE 23 CODE LOADONCALL DISCARDABLE 24 DATA SINGLE SHARED 25 EXPORTS 22 DATA MULTIPLE NONSHARED 23 EXPORTS 26 24 queryLanguage = _queryLanguage -
trunk/mediafolder/c/cdfldr/makefile
r2 r104 5 5 CC = icc 6 6 #CPPFLAGS = /Ge- /Gm+ /G4 /Gl /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl 8 LIBS = mmPM2.lib rexx.lib 7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 8 LIBS = mmPM2.lib rexx.lib 9 9 INC = ..\include 10 10 HELPERDIR = ..\helper 11 DEFS = 12 PROGS = 11 DEFS = 12 PROGS = 13 13 ODIR = ./obj 14 14 CPPDIR = . … … 18 18 ..\helper\cd.obj cdfldrdialogprocs.obj 19 19 20 all: mediaf older.dll20 all: mediafld.dll 21 21 22 22 … … 24 24 icc $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $< 25 25 26 mediaf older.dll:26 mediafld.dll: 27 27 cd ../. && make 28 28 -
trunk/mediafolder/c/createcd/makefile
r2 r104 4 4 5 5 CC = icc 6 LIB_DIR = $d:/emx/lib 6 LIB_DIR = $d:/emx/lib 7 7 CPPFLAGS = -O -Zomf -Zcrtdll -s 8 CPPFLAGSVAC = /Ge /Gm+ /G4 /Gl 8 CPPFLAGSVAC = /Ge /Gm+ /G4 /Gl- /O+ /Oc+ /Ol- /Q+ /Ss 9 9 INC = ../../include 10 DEFS = 11 PROGS = 10 DEFS = 11 PROGS = 12 12 ODIR = . 13 13 CPPDIR = . … … 20 20 21 21 22 creatcd.exe: createcd.c 22 creatcd.exe: createcd.c 23 23 ifdef ECS_COMPILE 24 icc $(CPPFLAGSVAC) -I$(INC) $< 24 icc $(CPPFLAGSVAC) -I$(INC) $< 25 25 else 26 icc $(CPPFLAGSVAC) -I$(INC) $< 26 icc $(CPPFLAGSVAC) -I$(INC) $< 27 27 # gcc $(CPPFLAGS) -I$(INC) $< -Zlinker /PMTYPE:VIO 28 28 endif -
trunk/mediafolder/c/helper/cddbhelper.cpp
r57 r104 38 38 */ 39 39 40 void externprintError(char* errorString)40 void printError(char* errorString) 41 41 { 42 42 char buffer[CCHMAXPATH] = {0}; … … 55 55 } 56 56 57 void externprintErrorCR(char* errorString)57 void printErrorCR(char* errorString) 58 58 { 59 59 fprintf(stderr,"%s\n",errorString); … … 63 63 64 64 65 void externprintData(char* outString)65 void printData(char* outString) 66 66 { 67 67 int fileHandle; 68 68 int rc; 69 69 70 /* The name cddbDataFile is defined in the main pmcddb.cpp file. It is 70 /* The name cddbDataFile is defined in the main pmcddb.cpp file. It is 71 71 the discid (this is the native format of the data hold by a cddb server) */ 72 72 fileHandle=open(cddbDataFile,O_APPEND|O_TEXT|O_WRONLY|O_CREAT,S_IWRITE); -
trunk/mediafolder/c/helper/except.cpp
r41 r104 455 455 { 456 456 ULONG rc = XCPT_CONTINUE_SEARCH; 457 457 458 458 if (pERepRec->fHandlerFlags & EH_EXIT_UNWIND) 459 459 return (XCPT_CONTINUE_SEARCH); … … 495 495 { 496 496 ULONG rc = XCPT_CONTINUE_SEARCH; 497 497 498 498 if (pERepRec->fHandlerFlags & EH_EXIT_UNWIND) 499 499 return (XCPT_CONTINUE_SEARCH); … … 502 502 if (pERepRec->fHandlerFlags & EH_NESTED_CALL) 503 503 return (XCPT_CONTINUE_SEARCH); 504 504 505 505 if ((pERepRec->ExceptionNum & XCPT_SEVERITY_CODE) == XCPT_FATAL_EXCEPTION) 506 506 { … … 530 530 531 531 return 'c'; 532 } 532 } 533 533 534 534 ULONG APIENTRY HandleFatalException (PEXCEPTIONREPORTRECORD pERepRec, … … 641 641 } 642 642 #endif 643 643 644 644 fAlreadyTrapped = TRUE; 645 645 /* end John Currier's recursion prevention */ … … 1167 1167 } 1168 1168 1169 #include <exe.h>1170 1169 #include <newexe.h> 1171 1170 #define FOR_EXEHDR 1 /* avoid define conflicts between newexe.h and exe386.h */ … … 1820 1819 do { 1821 1820 read(fh,(void *)&FirstLine,sizeof(FirstLine)); 1822 1821 1823 1822 if (FirstLine.LineNum!=0) { 1824 1823 fprintf(hTrap,"Missing Line table information\n"); … … 1849 1848 } 1850 1849 break; 1851 1850 1852 1851 case 1: 1853 1852 lseek(fh, sizeof(struct linlist_rec), SEEK_CUR); 1854 1853 break; 1855 1854 1856 1855 case 2: 1857 1856 lseek(fh, sizeof(struct linsourcelist_rec), SEEK_CUR); 1858 1857 break; 1859 1858 1860 1859 case 3: 1861 1860 lseek(fh, sizeof(struct filenam_rec), SEEK_CUR); 1862 1861 break; 1863 1862 1864 1863 case 4: 1865 1864 lseek(fh, sizeof(struct pathtab_rec), SEEK_CUR); 1866 1865 break; 1867 1866 1868 1867 } 1869 1868 } -
trunk/mediafolder/c/helper/makefile
r2 r104 4 4 5 5 CC = icc 6 CPPFLAGS = /Ge- /Gm+ /G4 /Gl 7 6 CPPFLAGS = /Ge- /Gm+ /G4 /Gl- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 7 8 8 INC = ..\include 9 DEFS = 10 PROGS = 9 DEFS = 10 PROGS = 11 11 ODIR = ./obj 12 12 CPPDIR = . -
trunk/mediafolder/c/m3ufolder/makefile
r2 r104 5 5 CC = icc 6 6 #CPPFLAGS = /Ge- /Gm+ /G4 /Gl /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl 8 LIBS = mmPM2.lib rexx.lib 7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG) 8 LIBS = mmPM2.lib rexx.lib 9 9 INC = ..\include 10 10 HELPERDIR = ..\helper 11 DEFS = 12 PROGS = 11 DEFS = 12 PROGS = 13 13 ODIR = ./obj 14 14 CPPDIR = . 15 15 16 16 17 all: mediaf older.dll17 all: mediafld.dll 18 18 19 19 .cpp.obj: 20 20 icc $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $< 21 21 22 mediaf older.dll:22 mediafld.dll: 23 23 cd ../. && make 24 24 -
trunk/mediafolder/c/makefile
r2 r104 7 7 cd ../. && make 8 8 9 mediaf older.dll:9 mediafld.dll: 10 10 11 11 clean: -
trunk/mediafolder/c/mediafldr/makefile
r2 r104 5 5 CC = icc 6 6 #CPPFLAGS = /Ge- /Gm+ /G4 /Gl /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl 8 LIBS = mmPM2.lib rexx.lib 7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG) 8 LIBS = mmPM2.lib rexx.lib 9 9 INC = ..\include 10 10 HELPERDIR = ..\helper 11 DEFS = 12 PROGS = 11 DEFS = 12 PROGS = 13 13 ODIR = ./obj 14 14 CPPDIR = . … … 26 26 cd ../. && make 27 27 28 mediaf older.dll:28 mediafld.dll: 29 29 #$(OBJECTS) 30 30 cd ../. && make -
trunk/mediafolder/create_mfldr_def.CMD
r2 r104 3 3 call SysLoadFuncs 4 4 5 deffile= ARG(1)5 deffile=strip(ARG(1)) 6 6 if ARG(1)="" then deffile="tst.def" 7 7 … … 36 36 def=def||'0d'x||'0a'x 37 37 38 def=def||"LIBRARY MEDIAFLD INIT GLOBAL"||'0d'x||'0a'x38 def=def||"LIBRARY MEDIAFLD INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x 39 39 def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth " 40 40 def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Media-Folder V"||theVersion||"'"||'0d'x||'0a'x 41 def=def||"PROTMODE"||'0d'x||'0a'x 42 def=def||"CODE LOADONCALL DISCARDABLE"||'0d'x||'0a'x 43 def=def||"DATA SINGLE SHARED DISCARDABLE"||'0d'x||'0a'x 41 def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x 44 42 def=def||"EXPORTS "||'0d'x||'0a'x 45 43 def=def||" CWMediaFolderClassData"||'0d'x||'0a'x … … 59 57 def=def||" M_CWAudioShadowNewClass"||'0d'x||'0a'x 60 58 def=def||""||'0d'x||'0a'x 61 def=def||" CWCDFolderClassData"||'0d'x||'0a'x59 def=def||" CWCDFolderClassData"||'0d'x||'0a'x 62 60 def=def||" CWCDFolderCClassData"||'0d'x||'0a'x 63 61 def=def||" CWCDFolderNewClass"||'0d'x||'0a'x -
trunk/mediafolder/include/mediafolderres.h
r4 r104 121 121 #define IDGB_ABOUT 605 122 122 #define IDST_URL2 606 123 #define IDST_PRODCOPY2 607 123 124 124 125 #define IDSL_TEST 305 … … 127 128 128 129 #define IDPTR_ARROWWE 2 /* WE Cursor for slider controls */ 129 130 131 132 133 134 135 136 -
trunk/mediafolder/include/wpobject.hh
r59 r104 18 18 #define OBJSTYLE_NOLINK 4 19 19 #define OBJSTYLE_NOCOPY 8 20 #define OBJSTYLE_NOTDEFAULTICON 16 /* Intentionally not declared CLSSTYLE */ 20 #define OBJSTYLE_NOTDEFAULTICON 16 /* Intentionally not declared CLSSTYLE */ 21 21 #define OBJSTYLE_TEMPLATE 32 22 22 #define OBJSTYLE_NODELETE 64 … … 27 27 #define OBJSTYLE_NORENAME 2048 28 28 #define OBJSTYLE_NODROP 4096 29 #define OBJSTYLE_NODROPON 8192 /* Use instead of OBJSTYLE_NODROP, 30 because OBJSTYLE_NODROP and 31 CLSSTYLE_PRIVATE have the same 32 value (DD 86093F) */ 33 #define OBJSTYLE_CUSTOMICON 16384 /* Use instead of OBJSTYLE_NOTDEFAULTICON 34 because OBJSTYLE_NOTDEFAULTICON and 35 CLSSTYLE_NEVERTEMPLATE have the same 36 value (DD 86093F) */ 29 #define OBJSTYLE_NODROPON 8192 /* Use instead of OBJSTYLE_NODROP, 30 because OBJSTYLE_NODROP and 31 CLSSTYLE_PRIVATE have the same 32 value (DD 86093F) */ 33 #define OBJSTYLE_CUSTOMICON 16384 /* Use instead of OBJSTYLE_NOTDEFAULTICON 34 because OBJSTYLE_NOTDEFAULTICON and 35 CLSSTYLE_NEVERTEMPLATE have the same 36 value (DD 86093F) */ 37 37 38 38 /* Class style flags (see wpclsQueryStyle) */ … … 47 47 #define CLSSTYLE_NEVERVISIBLE OBJSTYLE_NOTVISIBLE 48 48 #define CLSSTYLE_NEVERRENAME OBJSTYLE_NORENAME 49 #define CLSSTYLE_PRIVATE 4096 /* Intentionally not declared OBJSTYLE */ 50 #define CLSSTYLE_NEVERSETTINGS OBJSTYLE_NOSETTINGS /*DD 86093F*/ 51 #define CLSSTYLE_NEVERDROPON OBJSTYLE_NODROPON /*DD 86093F*/ 52 #define CLSSTYLE_HIDDEN 32768 /* Use instead of CLSSTYLE_PRIVATE 53 because OBJSTYLE_NODROP and 54 CLSSTYLE_PRIVATE have the same 55 value (DD 86093F) */ 56 #define CLSSTYLE_DONTTEMPLATE 65536 /* Use instead of CLSSTYLE_NEVERTEMPLATE 57 because OBJSTYLE_NOTDEFAULTICON and 58 CLSSTYLE_NEVERTEMPLATE have the same 59 value (DD 86093F) */ 49 #define CLSSTYLE_PRIVATE 4096 /* Intentionally not declared OBJSTYLE */ 50 #define CLSSTYLE_NEVERSETTINGS OBJSTYLE_NOSETTINGS /*DD 86093F*/ 51 #define CLSSTYLE_NEVERDROPON OBJSTYLE_NODROPON /*DD 86093F*/ 52 #define CLSSTYLE_HIDDEN 32768 /* Use instead of CLSSTYLE_PRIVATE 53 because OBJSTYLE_NODROP and 54 CLSSTYLE_PRIVATE have the same 55 value (DD 86093F) */ 56 #define CLSSTYLE_DONTTEMPLATE 65536 /* Use instead of CLSSTYLE_NEVERTEMPLATE 57 because OBJSTYLE_NOTDEFAULTICON and 58 CLSSTYLE_NEVERTEMPLATE have the same 59 value (DD 86093F) */ 60 60 61 61 #define SETTINGS_PAGE_REMOVED -1 … … 153 153 HWND hwndCnr; /* Cnr into which object is inserted */ 154 154 PMINIRECORDCORE pRecord; /* Record pointer within that cnr */ 155 ULONG ulUser; /* For application use RECSH */ 155 ULONG ulUser; /* For application use RECSH */ 156 156 } RECORDITEM; 157 157 typedef RECORDITEM *PRECORDITEM; … … 359 359 #define SEARCH_THIS_FOLDER 2 360 360 #define SEARCH_THIS_TREE 3 361 361 362 362 363 363 /* Find method related types and constants */ … … 402 402 #define CTXT_PUTDOWN_CANCEL 0x2000000 /*rme88844*/ 403 403 404 404 405 405 /* Flags for the wpDisplayMenu() method */ 406 406 … … 420 420 #define WPMENUID_SELECT 4 421 421 #define WPMENUID_SORT 5 422 #define WPMENUID_TREE 123 /*DD 86092F*/ 423 #define WPMENUID_FIND 8 /*DD 86092F*/ 424 #define WPMENUID_CREATEANOTHER 101 /*DD 86092F*/ 425 #define WPMENUID_MOVE 107 /*DD 86092F*/ 426 #define WPMENUID_COPY 108 /*DD 86092F*/ 427 #define WPMENUID_DELETE 109 /*DD 86092F*/ 428 #define WPMENUID_PROPERTIES 112 /*DD 86092F*/ 429 #define WPMENUID_SELALL 114 /*DD 86092F*/ 430 #define WPMENUID_DESELALL 115 /*DD 86092F*/ 431 #define WPMENUID_RESERVED1 118 /*DD 86092F*/ 432 #define WPMENUID_CLOSE 120 /*DD 86092F*/ 433 #define WPMENUID_FORMAT 124 /*DD 86092F*/ 434 #define WPMENUID_CHKDSK 128 /*DD 86092F*/ 435 #define WPMENUID_FIXDSK 129 /*DD 86092F*/ 436 #define WPMENUID_PROGRAM 132 /*DD 86092F*/ 437 #define WPMENUID_COPYDSK 182 /*DD 86092F*/ 438 #define WPMENUID_LOCKDISK 184 /*DD 86092F*/ 439 #define WPMENUID_EJECTDISK 185 /*DD 86092F*/ 440 #define WPMENUID_UNLOCKDISK 186 /*DD 86092F*/ 441 #define WPMENUID_PICKUP 188 /* rme77131*/ 442 #define WPMENUID_PUTDOWN 189 /* rme77131*/ 443 #define WPMENUID_PUTDOWN_COPY 190 /* rme77131*/ 444 #define WPMENUID_PUTDOWN_MOVE 191 /* rme77131*/ 445 #define WPMENUID_PUTDOWN_LINK 192 /* rme77131*/ 446 #define WPMENUID_PUTDOWN_CANCEL 193 /* rme77131*/ 447 #define WPMENUID_PUTDOWN_CREATE 194 /* rme77131*/ 448 #define WPMENUID_ICON 303 /*DD 86092F*/ 449 #define WPMENUID_DETAILS 304 /*DD 86092F*/ 450 #define WPMENUID_ARRANGE 309 /*DD 86092F*/ 451 #define WPMENUID_RESERVED2 315 /*DD 86092F*/ 452 #define WPMENUID_CREATESHADOW 316 /*DD 86092F*/ 453 #define WPMENUID_PALETTE 317 /*DD 86092F*/ 454 #define WPMENUID_REFRESH 503 /*DD 86092F*/ 455 #define WPMENUID_HELP_FOR_HELP 601 /*DD 86092F*/ 456 #define WPMENUID_HOWTOGETHELP 601 /*DD 86092F*/ 457 #define WPMENUID_EXTENDEDHELP 602 /*DD 86092F*/ 458 #define WPMENUID_HELPKEYS 603 /*DD 86092F*/ 459 #define WPMENUID_HELPINDEX 604 /*DD 86092F*/ 460 #define WPMENUID_SHUTDOWN 704 /*DD 86092F*/ 461 #define WPMENUID_LOCKUP 705 /*DD 86092F*/ 462 #define WPMENUID_LOGIN 708 /*DD 86092F*/ 463 #define WPMENUID_LOGOUT 709 /*DD 86092F*/ 464 #define WPMENUID_ASSIGN 710 /*DD 86092F*/ 465 #define WPMENUID_UNASSIGN 711 /*DD 86092F*/ 466 #define WPMENUID_ACCESSNEW 712 /*DD 86092F*/ 467 #define WPMENUID_SYSTEMSETUP 713 /*DD 86092F*/ 422 #define WPMENUID_TREE 123 /*DD 86092F*/ 423 #define WPMENUID_FIND 8 /*DD 86092F*/ 424 #define WPMENUID_CREATEANOTHER 101 /*DD 86092F*/ 425 #define WPMENUID_MOVE 107 /*DD 86092F*/ 426 #define WPMENUID_COPY 108 /*DD 86092F*/ 427 #define WPMENUID_DELETE 109 /*DD 86092F*/ 428 #define WPMENUID_PROPERTIES 112 /*DD 86092F*/ 429 #define WPMENUID_SELALL 114 /*DD 86092F*/ 430 #define WPMENUID_DESELALL 115 /*DD 86092F*/ 431 #define WPMENUID_RESERVED1 118 /*DD 86092F*/ 432 #define WPMENUID_CLOSE 120 /*DD 86092F*/ 433 #define WPMENUID_FORMAT 124 /*DD 86092F*/ 434 #define WPMENUID_CHKDSK 128 /*DD 86092F*/ 435 #define WPMENUID_FIXDSK 129 /*DD 86092F*/ 436 #define WPMENUID_PROGRAM 132 /*DD 86092F*/ 437 #define WPMENUID_COPYDSK 182 /*DD 86092F*/ 438 #define WPMENUID_LOCKDISK 184 /*DD 86092F*/ 439 #define WPMENUID_EJECTDISK 185 /*DD 86092F*/ 440 #define WPMENUID_UNLOCKDISK 186 /*DD 86092F*/ 441 #define WPMENUID_PICKUP 188 /* rme77131*/ 442 #define WPMENUID_PUTDOWN 189 /* rme77131*/ 443 #define WPMENUID_PUTDOWN_COPY 190 /* rme77131*/ 444 #define WPMENUID_PUTDOWN_MOVE 191 /* rme77131*/ 445 #define WPMENUID_PUTDOWN_LINK 192 /* rme77131*/ 446 #define WPMENUID_PUTDOWN_CANCEL 193 /* rme77131*/ 447 #define WPMENUID_PUTDOWN_CREATE 194 /* rme77131*/ 448 #define WPMENUID_ICON 303 /*DD 86092F*/ 449 #define WPMENUID_DETAILS 304 /*DD 86092F*/ 450 #define WPMENUID_ARRANGE 309 /*DD 86092F*/ 451 #define WPMENUID_RESERVED2 315 /*DD 86092F*/ 452 #define WPMENUID_CREATESHADOW 316 /*DD 86092F*/ 453 #define WPMENUID_PALETTE 317 /*DD 86092F*/ 454 #define WPMENUID_REFRESH 503 /*DD 86092F*/ 455 #define WPMENUID_HELP_FOR_HELP 601 /*DD 86092F*/ 456 #define WPMENUID_HOWTOGETHELP 601 /*DD 86092F*/ 457 #define WPMENUID_EXTENDEDHELP 602 /*DD 86092F*/ 458 #define WPMENUID_HELPKEYS 603 /*DD 86092F*/ 459 #define WPMENUID_HELPINDEX 604 /*DD 86092F*/ 460 #define WPMENUID_SHUTDOWN 704 /*DD 86092F*/ 461 #define WPMENUID_LOCKUP 705 /*DD 86092F*/ 462 #define WPMENUID_LOGIN 708 /*DD 86092F*/ 463 #define WPMENUID_LOGOUT 709 /*DD 86092F*/ 464 #define WPMENUID_ASSIGN 710 /*DD 86092F*/ 465 #define WPMENUID_UNASSIGN 711 /*DD 86092F*/ 466 #define WPMENUID_ACCESSNEW 712 /*DD 86092F*/ 467 #define WPMENUID_SYSTEMSETUP 713 /*DD 86092F*/ 468 468 469 469 … … 1156 1156 * New Method: wpDrop 1157 1157 */ 1158 typedef MRESULT SOMLINK somTP_WPObject_wpDrop(WPObject *somSelf, 1159 HWND hwndCnr, 1160 PDRAGINFO pdrgInfo, 1158 typedef MRESULT SOMLINK somTP_WPObject_wpDrop(WPObject *somSelf, 1159 HWND hwndCnr, 1160 PDRAGINFO pdrgInfo, 1161 1161 PDRAGITEM pdrgItem); 1162 1162 //#pragma linkage(somTP_WPObject_wpDrop, system) … … 1256 1256 virtual BOOL wpAssertObjectMutexSem(); 1257 1257 virtual BOOL wpClose(); 1258 virtual PMINIRECORDCORE wpCnrInsertObject(HWND hwndCnr, 1259 PPOINTL pptlIcon, 1260 PMINIRECORDCORE preccParent, 1258 virtual PMINIRECORDCORE wpCnrInsertObject(HWND hwndCnr, 1259 PPOINTL pptlIcon, 1260 PMINIRECORDCORE preccParent, 1261 1261 PRECORDINSERT pRecInsert); 1262 1262 virtual BOOL wpCnrRemoveObject(HWND hwndCnr); 1263 1263 virtual BOOL wpCnrSetEmphasis(ULONG ulEmphasisAttr, BOOL fTurnOn); 1264 1264 virtual ULONG wpConfirmDelete(ULONG fConfirmations); 1265 virtual ULONG wpConfirmObjectTitle(WPFolder* Folder, WPObject** ppDuplicate, 1266 PSZ pszTitle, ULONG cbTitle, 1265 virtual ULONG wpConfirmObjectTitle(WPFolder* Folder, WPObject** ppDuplicate, 1266 PSZ pszTitle, ULONG cbTitle, 1267 1267 ULONG menuID); 1268 1268 virtual void wpCopiedFromTemplate(); 1269 1269 virtual WPObject* wpCopyObject(WPFolder* Folder, BOOL fLock); 1270 virtual WPObject* wpCreateAnother(PSZ pszTitle, PSZ pszSetupEnv, 1270 virtual WPObject* wpCreateAnother(PSZ pszTitle, PSZ pszSetupEnv, 1271 1271 WPFolder* Folder); 1272 virtual WPObject* wpCreateFromTemplate(WPFolder* folder, 1272 virtual WPObject* wpCreateFromTemplate(WPFolder* folder, 1273 1273 BOOL fLock); 1274 virtual WPObject* wpCreateShadowObject(WPFolder* Folder, 1274 virtual WPObject* wpCreateShadowObject(WPFolder* Folder, 1275 1275 BOOL fLock); 1276 1276 virtual ULONG wpDelete(ULONG fConfirmations); 1277 1277 virtual BOOL wpDeleteFromObjUseList(PUSEITEM pUseItem); 1278 1278 virtual BOOL wpDisplayHelp(ULONG HelpPanelId, PSZ HelpLibrary); 1279 virtual HWND wpDisplayMenu(HWND hwndOwner, HWND hwndClient, 1280 POINTL* ptlPopupPt, ULONG ulMenuType, 1279 virtual HWND wpDisplayMenu(HWND hwndOwner, HWND hwndClient, 1280 POINTL* ptlPopupPt, ULONG ulMenuType, 1281 1281 ULONG ulReserved); 1282 1282 virtual BOOL wpDoesObjectMatch(PVOID pvoidExtendedCriteria); 1283 1283 virtual MRESULT wpDraggedOverObject(WPObject* DraggedOverObject); 1284 1284 virtual MRESULT wpDragOver(HWND hwndCnr, PDRAGINFO pdrgInfo); 1285 virtual MRESULT wpDrop(HWND hwndCnr, PDRAGINFO pdrgInfo, 1285 virtual MRESULT wpDrop(HWND hwndCnr, PDRAGINFO pdrgInfo, 1286 1286 PDRAGITEM pdrgItem); 1287 1287 virtual BOOL wpDroppedOnObject(WPObject* DroppedOnObject); 1288 1288 virtual MRESULT wpEndConversation(ULONG ulItemID, ULONG flResult); 1289 virtual ULONG wpFilterPopupMenu(ULONG ulFlags, HWND hwndCnr, 1289 virtual ULONG wpFilterPopupMenu(ULONG ulFlags, HWND hwndCnr, 1290 1290 BOOL fMultiSelect); 1291 1291 virtual PUSEITEM wpFindUseItem(ULONG type, PUSEITEM pCurrentItem); … … 1295 1295 virtual BOOL wpHide(); 1296 1296 virtual void wpInitData(); 1297 virtual BOOL wpInsertPopupMenuItems(HWND hwndMenu, ULONG iPosition, 1298 HMODULE hmod, ULONG MenuID, 1297 virtual BOOL wpInsertPopupMenuItems(HWND hwndMenu, ULONG iPosition, 1298 HMODULE hmod, ULONG MenuID, 1299 1299 ULONG SubMenuID); 1300 1300 virtual ULONG wpInsertSettingsPage(HWND hwndNotebook, PPAGEINFO ppageinfo); 1301 1301 virtual BOOL wpMenuItemHelpSelected(ULONG MenuId); 1302 1302 virtual BOOL wpMenuItemSelected(HWND hwndFrame, ULONG ulMenuId); 1303 virtual BOOL wpModifyPopupMenu(HWND hwndMenu, HWND hwndCnr, 1303 virtual BOOL wpModifyPopupMenu(HWND hwndMenu, HWND hwndCnr, 1304 1304 ULONG iPosition); 1305 1305 virtual BOOL wpMoveObject(WPFolder* Folder); … … 1330 1330 virtual ULONG wpRequestObjectMutexSem(ULONG ulTimeout); 1331 1331 virtual BOOL wpRestore(); 1332 virtual BOOL wpRestoreData(PSZ pszClass, ULONG ulKey, PBYTE pValue, 1332 virtual BOOL wpRestoreData(PSZ pszClass, ULONG ulKey, PBYTE pValue, 1333 1333 PULONG pcbValue); 1334 1334 virtual BOOL wpRestoreLong(PSZ pszClass, ULONG ulKey, PULONG pulValue); 1335 1335 virtual BOOL wpRestoreState(ULONG ulReserved); 1336 virtual BOOL wpRestoreString(PSZ pszClass, ULONG ulKey, 1336 virtual BOOL wpRestoreString(PSZ pszClass, ULONG ulKey, 1337 1337 PSZ pszValue, PULONG pcbValue); 1338 virtual BOOL wpSaveData(PSZ pszClass, ULONG ulKey, PBYTE pValue, 1338 virtual BOOL wpSaveData(PSZ pszClass, ULONG ulKey, PBYTE pValue, 1339 1339 ULONG cbValue); 1340 1340 virtual BOOL wpSaveImmediate(); … … 1343 1343 virtual BOOL wpSaveState(); 1344 1344 virtual BOOL wpSaveString(PSZ pszClass, ULONG ulKey, PSZ pszValue); 1345 virtual BOOL wpScanSetupString(PSZ pszSetupString, PSZ pszKey, 1345 virtual BOOL wpScanSetupString(PSZ pszSetupString, PSZ pszKey, 1346 1346 PSZ pszValue, PULONG pcbValue); 1347 1347 virtual void wpSetConcurrentView(ULONG ulCCView); … … 1350 1350 virtual BOOL wpSetDefaultView(ULONG ulView); 1351 1351 virtual BOOL wpSetError(ULONG ulErrorId); 1352 virtual BOOL wpSetIconHandle(HPOINTER hptrNewIcon);1353 1352 virtual USHORT wpQueryScreenGroupID(USHORT usPrevSgId); 1354 1353 virtual BOOL wpSetupOnce(PSZ pszSetupString); … … 1368 1367 virtual void wpObjectReady(ULONG ulCode, WPObject* refObject); 1369 1368 virtual BOOL wpIsObjectInitialized(); 1370 virtual WPObject* wpCreateShadowObjectExt(WPFolder* Folder, 1371 BOOL fLock, PSZ pszSetup, 1369 virtual WPObject* wpCreateShadowObjectExt(WPFolder* Folder, 1370 BOOL fLock, PSZ pszSetup, 1372 1371 M_WPObject* shadowClass); 1373 1372 virtual BOOL wpCnrDeleteUseItem(HWND hwndCnr); … … 1383 1382 virtual BOOL wpIsLocked(); 1384 1383 virtual PULONG wpQueryContainerFlagPtr(); 1385 virtual ULONG wpWaitForClose(LHANDLE lhView, ULONG ulViews, 1384 virtual ULONG wpWaitForClose(LHANDLE lhView, ULONG ulViews, 1386 1385 long lTimeOut, BOOL bAutoClose); 1387 WPObject(); 1388 virtual ~WPObject(); 1389 #pragma SOMReleaseOrder ( \ 1386 virtual BOOL wpIdentify(PSZ pszIdentity); 1387 virtual BOOL wpModifyMenu( 1388 HWND hwndMenu, 1389 HWND hwndCnr, 1390 ULONG iPosition, 1391 ULONG ulMenuType, 1392 ULONG ulView, 1393 ULONG ulReserved); 1394 virtual BOOL wpFilterMenu( 1395 FILTERFLAGS* pFlags, 1396 HWND hwndCnr, 1397 BOOL fMultiSelect, 1398 ULONG ulMenuType, 1399 ULONG ulView, 1400 ULONG ulReserved); 1401 virtual BOOL wpInsertMenuItems( 1402 HWND hwndMenu, 1403 ULONG iPosition, 1404 HMODULE hmod, 1405 ULONG MenuID, 1406 ULONG SubMenuID); 1407 virtual BOOL wpSetMenuStyle(ULONG ulStyle); 1408 virtual ULONG wpQueryMenuStyle(); 1409 1410 WPObject(); 1411 virtual ~WPObject(); 1412 #pragma SOMReleaseOrder ( \ 1390 1413 "wpSetTitle", \ 1391 1414 "wpQueryTitle", \ … … 1465 1488 *, \ 1466 1489 "wpRegisterView", \ 1467 *, \1490 "wpIdentify", \ 1468 1491 "wpSetDefaultHelp", \ 1469 1492 "wpQueryDefaultHelp", \ … … 1529 1552 "wpIsObjectInitialized", \ 1530 1553 "wpCreateShadowObjectExt", \ 1531 "wpSetIconHandle", \1554 *, \ 1532 1555 *, \ 1533 1556 *, \ … … 1537 1560 "wpSetupOnce", \ 1538 1561 "wpAddObjectGeneralPage2", \ 1562 *, \ 1563 *, \ 1564 "wpModifyMenu", \ 1565 "wpFilterMenu", \ 1566 "wpInsertMenuItems", \ 1567 "wpSetMenuStyle", \ 1568 "wpQueryMenuStyle", \ 1569 *, \ 1570 *, \ 1571 *, \ 1572 *, \ 1573 *, \ 1574 *, \ 1575 *, \ 1539 1576 *, \ 1540 1577 *) … … 1763 1800 * New Method: wpclsQueryObject 1764 1801 */ 1765 typedef WPObject* SOMLINK somTP_M_WPObject_wpclsQueryObject(M_WPObject *somSelf, 1802 typedef WPObject* SOMLINK somTP_M_WPObject_wpclsQueryObject(M_WPObject *somSelf, 1766 1803 HOBJECT hObject); 1767 1804 //#pragma linkage(somTP_M_WPObject_wpclsQueryObject, system) … … 1841 1878 virtual BOOL wpclsCreateDefaultTemplates(WPObject* Folder); 1842 1879 virtual void wpclsInitData(); 1843 virtual WPObject* wpclsMakeAwake(PSZ pszTitle, ULONG ulStyle, 1844 HPOINTER hptrIcon, POBJDATA pObjData, 1880 virtual WPObject* wpclsMakeAwake(PSZ pszTitle, ULONG ulStyle, 1881 HPOINTER hptrIcon, POBJDATA pObjData, 1845 1882 WPFolder* Folder, ULONG ulUser); 1846 virtual WPObject* wpclsNew(PSZ pszTitle, PSZ pszSetupEnv, 1883 virtual WPObject* wpclsNew(PSZ pszTitle, PSZ pszSetupEnv, 1847 1884 WPFolder* Folder, BOOL fLock); 1848 virtual BOOL wpclsQueryDefaultHelp(PULONG pHelpPanelId, 1885 virtual BOOL wpclsQueryDefaultHelp(PULONG pHelpPanelId, 1849 1886 PSZ pszHelpLibrary); 1850 1887 virtual ULONG wpclsQueryDefaultView(); 1851 1888 virtual PCLASSDETAILS wpclsQueryDetails(); 1852 virtual ULONG wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo, 1889 virtual ULONG wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo, 1853 1890 PULONG pSize); 1854 virtual BOOL wpclsQueryExtendedCriteria(PSZ pszName, ULONG ulSearchType, 1891 virtual BOOL wpclsQueryExtendedCriteria(PSZ pszName, ULONG ulSearchType, 1855 1892 PVOID pvoidExtendedCriteria); 1856 1893 virtual WPObject* wpclsQueryFolder(PSZ pszLocation, BOOL fLock); 1857 1894 virtual HPOINTER wpclsQueryIcon(); 1858 virtual void wpclsQuerySearchInfo(M_WPObject** ClassExtended, 1859 M_WPObject** ClassCreate, 1895 virtual void wpclsQuerySearchInfo(M_WPObject** ClassExtended, 1896 M_WPObject** ClassCreate, 1860 1897 PULONG pulClassCriteriaSize); 1861 1898 virtual ULONG wpclsQueryStyle(); 1862 1899 virtual PSZ wpclsQueryTitle(); 1863 1900 virtual void wpclsUnInitData(); 1864 virtual BOOL wpclsFindObjectFirst(PCLASS pClassList, PHFIND phFind, 1865 PSZ pszTitle, WPFolder* Folder, 1866 BOOL fSubfolders, PVOID pExtendedCriteria, 1901 virtual BOOL wpclsFindObjectFirst(PCLASS pClassList, PHFIND phFind, 1902 PSZ pszTitle, WPFolder* Folder, 1903 BOOL fSubfolders, PVOID pExtendedCriteria, 1867 1904 POBJECT pBuffer, PULONG pCount); 1868 virtual BOOL wpclsFindObjectNext(HFIND hFind, POBJECT pBuffer, 1905 virtual BOOL wpclsFindObjectNext(HFIND hFind, POBJECT pBuffer, 1869 1906 PULONG pCount); 1870 1907 virtual BOOL wpclsFindObjectEnd(HFIND hFind); … … 1877 1914 virtual void wpclsDecUsage(); 1878 1915 virtual void wpclsIncUsage(); 1879 virtual BOOL wpclsInsertMultipleObjects(HWND hwndCnr, PPOINTL pptlIcon, 1880 PVOID* pObjectArray, 1881 PVOID pRecordParent, 1916 virtual BOOL wpclsInsertMultipleObjects(HWND hwndCnr, PPOINTL pptlIcon, 1917 PVOID* pObjectArray, 1918 PVOID pRecordParent, 1882 1919 ULONG NumRecords); 1883 1920 virtual WPObject* wpclsFindOneObject(HWND hwndOwner, PSZ pszFindParams); … … 1886 1923 virtual BOOL wpclsSetIcon(HPOINTER hptrNewIcon); 1887 1924 virtual WPObject* wpclsObjectFromHandle(HOBJECT hObject); 1888 virtual BOOL wpclsRemoveObjects(HWND hwndCnr, PVOID* pRecordArray, 1925 virtual BOOL wpclsRemoveObjects(HWND hwndCnr, PVOID* pRecordArray, 1889 1926 ULONG NumRecords, BOOL RemoveAll); 1890 virtual ~M_WPObject(); 1927 virtual ~M_WPObject(); 1891 1928 virtual void somClassReady(); 1892 1929 virtual SOMObject* somNew(); -
trunk/mediafolder/makefile
r53 r104 5 5 CC = icc 6 6 #CPPFLAGS = /Ge- /Gm+ /G4 /Gl /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl 8 9 10 LIBS = mmPM2.lib rexx.lib7 CPPFLAGS = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Ss /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG) 8 9 10 LIBS = somtk.lib mmPM2.lib rexx.lib 11 11 INC = ./include 12 12 … … 14 14 15 15 HELPERDIR = ./c/helper 16 DEFS = 17 PROGS = 16 DEFS = 17 PROGS = 18 18 CDIR = ./c 19 19 IDLDIR = ../classes/idl … … 74 74 # 75 75 ####################################### 76 all: mediaf older.dll mediafolder_en.dll mediafolder_nl.dll mediafolder_de.dll mediafolder_it.dll \76 all: mediafld.dll mfldr_en.dll mfldr_nl.dll mfldr_de.dll mfldr_it.dll \ 77 77 ./help/mediafldr.hlp \ 78 78 prog_tutorial\mediafldrprog.inf ./c/createcd/createcd.exe … … 94 94 ####################################### 95 95 # 96 # Compile 96 # Compile 97 97 # 98 98 ####################################### … … 117 117 118 118 $(OBJDIR)/%.obj: $(HELPERDIR)/%.cpp 119 $(COMPILE) 119 $(COMPILE) 120 120 121 121 $(HELPERDIR)/%.obj: ./helper/%.cpp $(INC)\mediafolder.hh 122 122 $(COMPILE) 123 123 124 mediaf older.dll: $(OBJECTS) progfolder\progfolder.def $(INC)\mediafolderres.h ./res/mediafolder.res124 mediafld.dll: $(OBJECTS) progfolder\progfolder.def $(INC)\mediafolderres.h ./res/mediafolder.res 125 125 -cd ../. && make bld 126 126 @create_mfldr_def.CMD mediafolder.DEF 127 127 implib /NOLOGO lib\progfldr.lib progfolder\progfolder.def 128 icc -Ge- /Q+ /D$(ECS) /F M $(OBJECTS) lib\progfldr.lib $(LIBS) mediafolder.def129 rc ./res/mediafolder.res $@ 130 MAPSYM mediafolder131 132 m ediafolder_en.dll:133 -cd ./res && make 134 135 m ediafolder_de.dll:136 -cd ./res && make 137 138 m ediafolder_nl.dll:139 -cd ./res && make 140 141 m ediafolder_it.dll:128 icc -Ge- /Q+ /D$(ECS) /Fe$@ /Fm$*.map $(OBJECTS) lib/progfldr.lib $(LIBS) mediafolder.def 129 rc ./res/mediafolder.res $@ 130 MAPSYM $*.map 131 132 mfldr_en.dll: 133 -cd ./res && make 134 135 mfldr_de.dll: 136 -cd ./res && make 137 138 mfldr_nl.dll: 139 -cd ./res && make 140 141 mfldr_it.dll: 142 142 -cd ./res && make 143 143 … … 210 210 -mkdir ..\..\$(PKGNAME)-$(VERSION)-ger\CWMFldr-$(VERSION)-ger\FreeDB\logfiles 211 211 -mkdir ..\..\$(PKGNAME)-$(VERSION)-ger\CWMFldr-$(VERSION)-ger\FreeDB\cddbdata 212 cp prog_tutorial/mediafldrprog.inf ../../$(PKGNAME)-$(VERSION)-ger\CWMFldr-$(VERSION)-ger\Doc\mediafldr.inf 212 cp prog_tutorial/mediafldrprog.inf ../../$(PKGNAME)-$(VERSION)-ger\CWMFldr-$(VERSION)-ger\Doc\mediafldr.inf 213 213 cp bin/*.cmd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/ 214 214 cp bin/*.rx ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/ 215 215 cp bin/*.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/dll/ 216 216 cp ./c/createcd/createcd.exe ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/ 217 cp ./mediaf older.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mediafld.dll218 cp ./res/obj/m ediafolder_de.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mfldr_de.dll217 cp ./mediafld.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mediafld.dll 218 cp ./res/obj/mfldr_de.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mfldr_de.dll 219 219 cp ./help/mediafldr049.hlp ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mediafld.hlp 220 220 cp ./install/MFLDRGER.ins ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/MFLDRGER.INS … … 242 242 -mkdir ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\FreeDB\logfiles 243 243 -mkdir ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\FreeDB\cddbdata 244 cp prog_tutorial/mediafldrprog.inf ../../$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\Doc\mediafldr.inf 244 cp prog_tutorial/mediafldrprog.inf ../../$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\Doc\mediafldr.inf 245 245 cp bin/*.cmd ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/ 246 246 cp bin/*.rx ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/ 247 247 cp bin/*.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/dll/ 248 248 cp ./c/createcd/createcd.exe ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/ 249 cp ./mediaf older.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll250 cp ./res/obj/m ediafolder_en.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mfldr_en.dll249 cp ./mediafld.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll 250 cp ./res/obj/mfldr_en.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mfldr_en.dll 251 251 cp ./help/mediafldr.hlp ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.hlp 252 252 cp ./install/MEDIAFLD.ins ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/MEDIAFLD.INS … … 269 269 -mkdir ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\FreeDB\logfiles 270 270 -mkdir ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\FreeDB\cddbdata 271 -cp prog_tutorial\mediafldrprog.inf ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\Doc\mediafldr.inf 271 -cp prog_tutorial\mediafldrprog.inf ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\Doc\mediafldr.inf 272 272 -cp doc/Readme.eng ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/ 273 273 -cp doc/FILE_ID.DIZ ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/ … … 278 278 -cp Skripte_eng/* ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/Skripte/ 279 279 -cp ./help/mediafldr.hlp ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.hlp 280 -cp ./mediaf older.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll280 -cp ./mediafld.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll 281 281 -cp ./mediafolder001.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/media001.dll 282 282 -cp ./install/MEDIAFLD.INS ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/ … … 303 303 -mkdir ..\..\$(ECSBASE)-eng\FreeDB\logfiles 304 304 -mkdir ..\..\$(ECSBASE)-eng\FreeDB\cddbdata 305 -cp prog_tutorial/mediafldrprog.inf ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/Doc/mediafldr.inf 305 -cp prog_tutorial/mediafldrprog.inf ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/Doc/mediafldr.inf 306 306 -cp bin/*.cmd ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/ 307 307 -cp bin/*.rx ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/ 308 308 -cp bin/progfldr.dll ../../$(ECSBASE)-eng/dll/ 309 309 -cp ./help/mediafldr.hlp ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/mediafld.hlp 310 -cp ./mediaf older.dll ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/mediafld.dll310 -cp ./mediafld.dll ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/mediafld.dll 311 311 -cp ./mediafolder001.dll ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/media001.dll 312 312 -cp ./install/createcd.exe ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin -
trunk/mediafolder/prog_tutorial/hiddenfeatures.inc
r4 r104 12 12 :p. 13 13 Even if a new program isn't specified in the INI file the classes improve the default 14 behavio ur by not starting the player as part of the WPS process. So if the player crashes15 the WPS doesn't crash anymore .14 behavior by not starting the player as part of the WPS process. So if the player crashes 15 the WPS doesn't crash anymore. 16 16 17 17 … … 30 30 :p. 31 31 Even if a new program isn't specified in the INI file the classes improve the default 32 behavio ur by not starting the editor as part of the WPS process. So if the editor crashes32 behavior by not starting the editor as part of the WPS process. So if the editor crashes 33 33 the WPS doesn't crash anymore. 34 34 … … 47 47 :p. 48 48 Even if a new program isn't specified in the INI file the classes improve the default 49 behavio ur by not starting the player as part of the WPS process. So if the player crashes50 the WPS doesn't crash anymore .49 behavior by not starting the player as part of the WPS process. So if the player crashes 50 the WPS doesn't crash anymore. 51 51 52 52 … … 64 64 :p. 65 65 Even if a new program isn't specified in the INI file the classes improve the default 66 behavio ur by not starting the player as part of the WPS process. So if the player crashes67 the WPS doesn't crash anymore .66 behavior by not starting the player as part of the WPS process. So if the player crashes 67 the WPS doesn't crash anymore. 68 68 69 69 … … 81 81 :p. 82 82 Even if a new program isn't specified in the INI file the classes improve the default 83 behavio ur by not starting the player as part of the WPS process. So if the default player crashes83 behavior by not starting the player as part of the WPS process. So if the default player crashes 84 84 the WPS doesn't crash, too. 85 85 … … 108 108 :ent. 109 109 :p. 110 Default behavio ur is to create a new MEdia folder and fill it with the tracks specified in the111 M3U file. Using this setting it's possible to use another M P3player.110 Default behavior is to create a new Media folder and fill it with the tracks specified in the 111 M3U file. Using this setting it's possible to use another M3U player. 112 112 113 113 … … 126 126 :p. 127 127 Even if a new program isn't specified in the INI file the classes improve the default 128 behavio ur by not starting the editor as part of the WPS process. So if the editor crashes129 the WPS doesn't crash anymore. 128 behavior by not starting the editor as part of the WPS process. So if the editor crashes 129 the WPS doesn't crash anymore. 130 130 131 131 -
trunk/mediafolder/prog_tutorial/mediafldrprog.ipf
r4 r104 3 3 :docprof. 4 4 5 :title.Programming tutorial for Multimedia classes 5 :title.Programming tutorial for Multimedia classes 6 6 7 7 :h1 res=100.Introduction … … 13 13 For use of the REXX interface 14 14 :p. 15 :link reftype=launch 16 object='netscape.exe' 17 data='http://www.os2world.com/cdwriting'. 18 WPS-Wizard V0.2.0:elink. (http&colon.//www.os2world.com/cdwriting) 19 :p. 20 or above must be installed. 15 WPS-Wizard V0.2.0 (http&colon.//www.os2world.com/cdwriting) 16 :p. 17 or above must be installed. 21 18 22 19 :h1 res=200 … … 29 26 :li.:link reftype=hd res=211.MEDIAFLDRPLAY:elink. Start playing 30 27 :li.:link reftype=hd res=215.MEDIAFLDRPLAYFIRST:elink. Start first track 31 :li.:link reftype=hd res=212.MEDIAFLDRPREV:elink. Skip to previ us track32 :li.:link reftype=hd res=216.MEDIAFLDRREPEAT:elink. Set repeat .28 :li.:link reftype=hd res=212.MEDIAFLDRPREV:elink. Skip to previous track 29 :li.:link reftype=hd res=216.MEDIAFLDRREPEAT:elink. Set repeat 33 30 :li.:link reftype=hd res=213.MEDIAFLDRSTOP:elink. Stop playing 34 31 :li.:link reftype=hd res=214.MEDIAFLDRVOLUME:elink. Set volume … … 146 143 :p. 147 144 Set the track name of the audio file. This information is saved in the EA of the file. For 148 MP3 files this information i dalso saved in the ID3 tag.145 MP3 files this information is also saved in the ID3 tag. 149 146 :xmp. 150 147 /* REXX - This command adds the track name to the audio file */ … … 225 222 Reread the audio information from the file and update internal object data. 226 223 :xmp. 227 /* REXX - This command adds the genreof the audio file */224 /* REXX - This command rereads the information of the audio file */ 228 225 229 226 rc=SysSetObjectData('x&colon.\path_to_folder\audio_file.ext','MMREFRESH=1') … … 234 231 group=2 235 232 .MMAUDIOCOPYTAGTO 236 :p. 237 Reread the audio information from the file and update internal object data. 238 :xmp. 239 /* REXX - This command adds the genre of the audio file */ 233 234 Read the audio information from the file tag and copies it to another file. 235 236 :xmp. 237 /* REXX - This command copies the file tag information to another audio file */ 240 238 241 239 rc=SysSetObjectData('x&colon.\path_to_folder\audio_file.ext','MMAUDIOCOPYTAGTO=x&colon.\path_to_folder\another_file.ext') … … 311 309 param2 /* Second method parameter */ 312 310 :p. 313 rc=MFldrCallFunc(methodName, Object, 311 rc=MFldrCallFunc(methodName, Object, 314 312 param1, param2, ...); 315 313 :exmp. … … 421 419 param2 /* Second method parameter */ 422 420 :p. 423 rc=MMCallFunc(methodName, Object, 421 rc=MMCallFunc(methodName, Object, 424 422 param1, param2, ...); 425 423 :exmp. … … 517 515 :li.:link reftype=hd res=420.Disable audio file checking:elink. 518 516 :li.:link reftype=hd res=421.Disable ID3 tag reading:elink. 519 :li.:link reftype=hd res=422.Set time for message box display:elink. 517 :li.:link reftype=hd res=422.Replace M3U editor:elink. 518 :li.:link reftype=hd res=423.Replace M3U player:elink. 520 519 :eul. 521 520 -
trunk/mediafolder/prog_tutorial/newmethods.inc
r2 r104 121 121 .cwPauseAudioFile - Remarks 122 122 :p. 123 The frame handle of the media folder is given to the s kript as a parameter123 The frame handle of the media folder is given to the script as a parameter 124 124 when started. 125 125 … … 177 177 .cwPlayAudioFile - Remarks 178 178 :p. 179 The frame handle of the media folder is given to the s kript as a parameter179 The frame handle of the media folder is given to the script as a parameter 180 180 when started. The flag parameter may have one of the following values. 181 181 … … 292 292 .cwSetStatusLineText - Remarks 293 293 :p. 294 If the text parameter is 0 the folder shows it 's standard294 If the text parameter is 0 the folder shows its standard 295 295 status line text. 296 296 … … 348 348 .cwStopAudioFile - Remarks 349 349 :p. 350 The frame handle of the media folder is given to the s kript as a parameter350 The frame handle of the media folder is given to the script as a parameter 351 351 when started. 352 352 … … 407 407 .cwmmQueryTrackInfo - Remarks 408 408 :p. 409 The object must be an instance of :hp2.CWAudio:ehp2. or of one of it 's409 The object must be an instance of :hp2.CWAudio:ehp2. or of one of its 410 410 subclasses (:hp2.CWMP3:ehp2., :hp2.MMWAV:ehp2....). This method was introduced 411 411 by :hp2.CWAudio:ehp2.. Since V0.2.5 of the classes the class names are :hp2.MMAudio:ehp2. … … 446 446 :li.IDINFO_BITRATE 11 447 447 .br 448 Bitrate in Hz (numeric value). This flag is only valid for instances of class MMMP3 and 449 MMOGG. For other classes the return value is undefined. New with V0.2.7. 448 Bitrate in KB per second (numeric value). This flag is only valid for instances 449 of class MMMP3 and MMOGG. For other classes the return value is undefined. New 450 with V0.2.7. 450 451 :eul. 451 452 … … 524 525 :pd.Image format. 525 526 :eparml. 526 :pt.:hp2.info:ehp2. (numeric)527 :pd.The queried information as a string.528 527 :eparml. 529 528 530 531 532 533 -
trunk/mediafolder/res/de/about_de.dlg
r2 r104 6 6 DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE 7 7 BEGIN 8 DIALOG "Information", IDDLG_ABOUT, 115, 69, 208, 132, WS_VISIBLE, 8 DIALOG "Information", IDDLG_ABOUT, 115, 69, 208, 132, WS_VISIBLE, 9 9 FCF_TITLEBAR 10 10 BEGIN 11 11 GROUPBOX "", IDGB_ABOUT, 3, 21, 200, 108 12 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 12 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 13 13 12, DT_VCENTER | NOT WS_GROUP 14 ; CTEXT "Media-Ordner V0.2.5", IDST_PRODNAME, 16, 107, 175, 15 ; 12, DT_VCENTER | NOT WS_GROUP 16 CTEXT MFLDR_AUTHOR, IDST_PRODCOPY, 10, 87, 14 CTEXT MFLDR_AUTHOR, IDST_PRODCOPY, 10, 87, 17 15 186, 12, DT_VCENTER | NOT WS_GROUP 18 CTEXT "Graphiken von Klaus Staedtler-Przyborski", 19 IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK | 16 CTEXT "Copyright (c) netlabs.org 2020", 17 IDST_PRODCOPY2, 10, 64, 186, 12, DT_VCENTER | NOT WS_GROUP 18 CTEXT "Graphiken von Klaus Staedtler-Przyborski", 19 IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK | 20 20 NOT WS_GROUP 21 CTEXT "http://www.geocities.com/SiliconValley/Sector/5785/" 22 "index.html", IDST_URL1, 10, 46, 186, 18, 23 DT_WORDBREAK | NOT WS_GROUP 21 CTEXT "https://trac.netlabs.org/cwmmclasses", IDST_URL1, 22 10, 30, 186, 18, DT_WORDBREAK | NOT WS_GROUP 24 23 PRESPARAMS PP_FONTNAMESIZE, "8.Helv" 25 24 DEFPUSHBUTTON "~Ok", DID_OK, 83, 3, 40, 14 26 CTEXT "http://www.os2world.com/cdwriting", IDST_URL2, 10,27 30, 186, 16, DT_WORDBREAK28 PRESPARAMS PP_FONTNAMESIZE, "8.Helv"29 25 END 30 26 END -
trunk/mediafolder/res/de/about_ecs_de.dlg
r2 r104 7 7 DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE 8 8 BEGIN 9 DIALOG "Produktinformation", IDDLG_ABOUT, 110, 125, 184, 58, 9 DIALOG "Produktinformation", IDDLG_ABOUT, 110, 125, 184, 58, 10 10 WS_VISIBLE, FCF_TITLEBAR 11 11 BEGIN 12 ICON IDICON_FOLDER1, IDICON_FOLDER1, 5, 33, 16, 15, 12 ICON IDICON_FOLDER1, IDICON_FOLDER1, 5, 33, 16, 15, 13 13 WS_GROUP 14 LTEXT "Multimedia-Integration fr die Arbeitsoberflche", 15 IDST_PRODNAME, 28, 44, 154, 10, DT_VCENTER | NOT 14 LTEXT "Multimedia-Integration fr die Arbeitsoberflche", 15 IDST_PRODNAME, 28, 44, 154, 10, DT_VCENTER | NOT 16 16 WS_GROUP 17 17 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans Bold" 18 18 CONTROL "", 607, 28, 37, 150, 7, "CW_SEPARATOR", WS_VISIBLE 19 LTEXT "(C) 2002-2004 Chris Wohlgemuth", IDST_PRODCOPY, 28,19 LTEXT MFLDR_AUTHOR, IDST_PRODCOPY, 28, 20 20 26, 154, 11, DT_VCENTER | NOT WS_GROUP 21 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"22 LTEXT "Lizenziert an Serenity Systems", 608, 28, 17, 154, 9,23 DT_VCENTER24 21 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans" 25 22 DEFPUSHBUTTON "~Ok", IDSTR_CLOSETEXT, 28, 3, 30, 11 -
trunk/mediafolder/res/de/create_res_de_def.CMD
r2 r104 52 52 def=def||'0d'x||'0a'x 53 53 54 def=def||"LIBRARY MFLDR_DE INIT GLOBAL"||'0d'x||'0a'x54 def=def||"LIBRARY MFLDR_DE INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x 55 55 def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth " 56 56 def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Media-Folder V"||theVersion||" resource DLL -german-'"||'0d'x||'0a'x 57 def=def||"PROTMODE"||'0d'x||'0a'x 58 def=def||"CODE LOADONCALL DISCARDABLE"||'0d'x||'0a'x 59 def=def||"DATA SINGLE SHARED DISCARDABLE"||'0d'x||'0a'x 57 def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x 60 58 def=def||"EXPORTS "||'0d'x||'0a'x 61 59 def=def||" queryLanguage"||'0d'x||'0a'x -
trunk/mediafolder/res/en/about_ecs_en.dlg
r70 r104 7 7 DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE 8 8 BEGIN 9 DIALOG "Product Information", IDDLG_ABOUT, 100, 120, 194, 67, 9 DIALOG "Product Information", IDDLG_ABOUT, 100, 120, 194, 67, 10 10 WS_VISIBLE, FCF_TITLEBAR 11 11 BEGIN 12 12 ICON IDICON_FOLDER1, IDICON_FOLDER1, 10, 39, 16, 15, WS_GROUP 13 LTEXT "Multimedia integration for the desktop", 14 IDST_PRODNAME, 38, 50, 154, 10, DT_WORDBREAK | NOT 13 LTEXT "Multimedia integration for the desktop", 14 IDST_PRODNAME, 38, 50, 154, 10, DT_WORDBREAK | NOT 15 15 WS_GROUP 16 16 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans Bold" 17 17 CONTROL "", 607, 38, 43, 154, 7, "CW_SEPARATOR", WS_VISIBLE 18 LTEXT "(C) 2002-2004 Chris Wohlgemuth", IDST_PRODCOPY, 38,19 29, 154, 11, DT_VCENTER | DT_WORDBREAK | NOT 18 LTEXT MFLDR_AUTHOR, IDST_PRODCOPY, 38, 19 29, 154, 11, DT_VCENTER | DT_WORDBREAK | NOT 20 20 WS_GROUP 21 // PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"22 //LTEXT "Licensed to Serenity Systems", 608, 38, 19, 154, 923 21 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans" 24 22 DEFPUSHBUTTON "~Ok", IDSTR_CLOSETEXT, 38, 2, 34, 13 -
trunk/mediafolder/res/en/about_en.dlg
r2 r104 1 #define VER_STRING "Media -Ordner V" \1 #define VER_STRING "Media Folder v" \ 2 2 MFLDR_VERSION \ 3 3 BUILD_STRING … … 5 5 DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE 6 6 BEGIN 7 DIALOG "Product Information", IDDLG_ABOUT, 115, 69, 208, 132, 7 DIALOG "Product Information", IDDLG_ABOUT, 115, 69, 208, 132, 8 8 WS_VISIBLE, FCF_TITLEBAR 9 9 BEGIN 10 10 GROUPBOX "", IDGB_ABOUT, 3, 21, 200, 108 11 ; CTEXT "Media-Folder V0.2.9", IDST_PRODNAME, 36, 107, 135, 12 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 11 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 13 12 12, DT_VCENTER | NOT WS_GROUP 14 CTEXT "(C) Chris Wohlgemuth 2002/2003", IDST_PRODCOPY, 10, 87, 15 186, 12, DT_VCENTER | NOT WS_GROUP 13 CTEXT MFLDR_AUTHOR, 14 IDST_PRODCOPY, 10, 87, 186, 12, DT_VCENTER | NOT WS_GROUP 15 CTEXT "Copyright (c) netlabs.org 2020", 16 IDST_PRODCOPY2, 10, 64, 186, 12, DT_VCENTER | NOT WS_GROUP 16 17 CTEXT "Graphics by Klaus Staedtler-Przyborski", 17 IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK |18 IDST_PRODGRAPHICS, 10, 46, 186, 17, DT_WORDBREAK | 18 19 NOT WS_GROUP 19 CTEXT "http://www.geocities.com/SiliconValley/Sector/5785/" 20 "index.html", IDST_URL1, 10, 46, 186, 18, 21 DT_WORDBREAK | NOT WS_GROUP 22 PRESPARAMS PP_FONTNAMESIZE, "8.Helv" 23 CTEXT "http://www.os2world.com/cdwriting", IDST_URL2, 10, 24 30, 186, 16, DT_WORDBREAK 20 CTEXT "https://trac.netlabs.org/cwmmclasses", IDST_URL1, 21 10, 30, 186, 18, DT_WORDBREAK | NOT WS_GROUP 25 22 PRESPARAMS PP_FONTNAMESIZE, "8.Helv" 26 23 DEFPUSHBUTTON "~Ok", DID_OK, 83, 3, 40, 14 27 24 END 28 25 END 29 30 -
trunk/mediafolder/res/en/create_res_en_def.CMD
r2 r104 53 53 def=def||'0d'x||'0a'x 54 54 55 def=def||"LIBRARY MFLDR_EN INIT GLOBAL"||'0d'x||'0a'x55 def=def||"LIBRARY MFLDR_EN INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x 56 56 def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth " 57 57 def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Media-Folder V"||theVersion||" resource DLL -english-'"||'0d'x||'0a'x 58 def=def||"PROTMODE"||'0d'x||'0a'x 59 def=def||"CODE LOADONCALL DISCARDABLE"||'0d'x||'0a'x 60 def=def||"DATA SINGLE SHARED DISCARDABLE"||'0d'x||'0a'x 58 def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x 61 59 def=def||"EXPORTS "||'0d'x||'0a'x 62 60 def=def||" queryLanguage"||'0d'x||'0a'x -
trunk/mediafolder/res/en/mediafolder_en.dlg
r2 r104 41 41 GROUPBOX "Toolbar", IDGB_TOOLBAR, 9, 24, 181, 127, NOT 42 42 WS_GROUP 43 AUTOCHECKBOX "~Enable fly 43 AUTOCHECKBOX "~Enable fly-over help", IDCB_ENABLETBFLYOVER, 16, 44 44 129, 152, 10 45 45 SPINBUTTON IDSB_TBFLYOVERDELAY, 97, 115, 40, 12, 46 46 SPBS_NUMERICONLY | SPBS_MASTER | SPBS_FASTSPIN | 47 47 WS_GROUP 48 GROUPBOX "Fly over colours and font", IDGB_COLORANDFONT, 15,48 GROUPBOX "Fly-over colors and font", IDGB_COLORANDFONT, 15, 49 49 30, 168, 76, NOT WS_GROUP 50 LTEXT " Klick button for colour- or fontpalette. "50 LTEXT "Click button for color or font palette. " 51 51 " 52 Press <CTRL> during drag 'n drop to change the text colour.",52 Hold <Ctrl> during drag'n'drop to change the text color.", 53 53 IDST_TEXTDEMOFIELD, 23, 35, 95, 57, DT_WORDBREAK 54 54 PRESPARAMS PP_FOREGROUNDCOLOR, 0x000000FFL 55 55 PRESPARAMS PP_BACKGROUNDCOLOR, 0x00FFFFFFL 56 PUSHBUTTON "~Colo ur...", IDPB_COLORPALETTE, 129, 72, 45, 1456 PUSHBUTTON "~Color...", IDPB_COLORPALETTE, 129, 72, 45, 14 57 57 PUSHBUTTON "~Font...", IDPB_FONTPALETTE, 129, 49, 45, 14 58 58 PUSHBUTTON "~Undo", IDPB_COLORUNDO, 16, 7, 52, 14 … … 100 100 END 101 101 END 102 103 -
trunk/mediafolder/res/en/mediafolder_en.rc
r4 r104 15 15 BEGIN 16 16 MENUITEM "" , ID_MENUSEPARATOR, MIS_SEPARATOR 17 MENUITEM "~Product Information",ID_ABOUTITEM 17 MENUITEM "~Product Information",ID_ABOUTITEM 18 18 END 19 19 #else … … 21 21 BEGIN 22 22 MENUITEM "" , ID_MENUSEPARATOR, MIS_SEPARATOR 23 MENUITEM "~Media Folder Information",ID_ABOUTITEM 23 MENUITEM "~Media Folder Information",ID_ABOUTITEM 24 24 END 25 25 #endif … … 45 45 BEGIN 46 46 MENUITEM "~Save" , ID_MENUITEMSAVE 47 MENUITEM "" , ID_MENUSEPARATOR, MIS_SEPARATOR 47 MENUITEM "" , ID_MENUSEPARATOR, MIS_SEPARATOR 48 48 MENUITEM "~Exit" , ID_MENUITEMEXIT 49 49 END … … 53 53 BEGIN 54 54 IDSTR_CLOSETITLE "Confirmation" 55 IDSTR_CLOSETEXT "There's currently a songplaying. Do you really want to stop playing and close the player?"55 IDSTR_CLOSETEXT "There's currently an audio file playing. Do you really want to stop playing and close the player?" 56 56 IDSTRSETTING_TOOLBAR "Toolbar" 57 IDSTRS_NOFONTPALETTE "Can't open the font palette. It may have lost it 's ID. Check your INI files."58 IDSTRS_NOCOLORPALETTE "Can't open the color palette. It may have lost it 's ID. Check your INI files."57 IDSTRS_NOFONTPALETTE "Can't open the font palette. It may have lost its ID. Check your INI files." 58 IDSTRS_NOCOLORPALETTE "Can't open the color palette. It may have lost its ID. Check your INI files." 59 59 IDSTRS_MEDIAFLDRSETTINGS "Media-Folder setup" 60 60 #ifdef ECS -
trunk/mediafolder/res/it/create_res_it_def.CMD
r2 r104 53 53 def=def||'0d'x||'0a'x 54 54 55 def=def||"LIBRARY MFLDR_IT INIT GLOBAL"||'0d'x||'0a'x55 def=def||"LIBRARY MFLDR_IT INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x 56 56 def=def||"DESCRIPTION '$@#(C) Gabriele Gamba " 57 57 def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Media-Folder V"||theVersion||" resource DLL -italian-'"||'0d'x||'0a'x 58 def=def||"PROTMODE"||'0d'x||'0a'x 59 def=def||"CODE LOADONCALL DISCARDABLE"||'0d'x||'0a'x 60 def=def||"DATA SINGLE SHARED DISCARDABLE"||'0d'x||'0a'x 58 def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x 61 59 def=def||"EXPORTS "||'0d'x||'0a'x 62 60 def=def||" queryLanguage"||'0d'x||'0a'x -
trunk/mediafolder/res/it/mediafolder_it.rc
r4 r104 78 78 79 79 #ifdef ECS 80 rcinclude "about_ecs_ en.dlg"80 rcinclude "about_ecs_it.dlg" 81 81 #else 82 rcinclude "about_ en.dlg"82 rcinclude "about_it.dlg" 83 83 #endif 84 84 -
trunk/mediafolder/res/makefile
r53 r104 5 5 6 6 CC = icc 7 CPPFLAGS = /Ge- /Gm+ /G4 /Gl 8 INC = ..\ include7 CPPFLAGS = /Ge- /Gm+ /G4 /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG) 8 INC = ..\\include 9 9 INC2 = ../include 10 DEFS = 11 PROGS = 10 DEFS = 11 PROGS = 12 12 13 13 OBJDIR = ./obj … … 15 15 HELPSOURCE = $(RESDIR2)/ipf 16 16 17 OBJECTS = 17 OBJECTS = 18 18 19 19 all: $(OBJDIR)/version.h \ … … 25 25 @for i in $(LANGUAGES); \ 26 26 do \ 27 echo "[33;1;m Creating m ediafolder_"$$i".dll[0;m"; \28 make LANGUAGE=$$i $(OBJDIR)/m ediafolder_$$i.dll ; \27 echo "[33;1;m Creating mfldr_"$$i".dll[0;m"; \ 28 make LANGUAGE=$$i $(OBJDIR)/mfldr_$$i.dll ; \ 29 29 done 30 30 … … 35 35 36 36 #### Resource DLL #### 37 $(OBJDIR)/m ediafolder_$(LANGUAGE).dll: ./$(LANGUAGE)/mediafolder_$(LANGUAGE).c \37 $(OBJDIR)/mfldr_$(LANGUAGE).dll: ./$(LANGUAGE)/mediafolder_$(LANGUAGE).c \ 38 38 $(OBJDIR)/mediafolder_$(LANGUAGE).res 39 39 @./$(LANGUAGE)/create_res_$(LANGUAGE)_def.CMD $(OBJDIR)/mediafolder_$(LANGUAGE).def 40 icc $(CPPFLAGS) -I$(INC) -c /Fo$(OBJDIR)/mediafolder_$(LANGUAGE).obj $< 40 icc $(CPPFLAGS) -I$(INC) -c /Fo$(OBJDIR)/mediafolder_$(LANGUAGE).obj $< 41 41 icc $(CPPFLAGS) -I$(INC) /Fe$@ $(OBJDIR)/mediafolder_$(LANGUAGE).obj ./obj/mediafolder_$(LANGUAGE).def 42 cd $(OBJDIR) && rc mediafolder_$(LANGUAGE).res m ediafolder_$(LANGUAGE).dll42 cd $(OBJDIR) && rc mediafolder_$(LANGUAGE).res mfldr_$(LANGUAGE).dll 43 43 44 44 $(OBJDIR)/mediafolder_$(LANGUAGE).res: ./$(LANGUAGE)/mediafolder_$(LANGUAGE).rc \ … … 52 52 53 53 mediafolder.res: mediafolder.rc $(INC)\mediafolderres.h 54 rc -D $(ECS) -i $(INC) -i $(OBJDIR) -r mediafolder.rc 54 rc -D $(ECS) -i $(INC) -i $(OBJDIR) -r mediafolder.rc 55 55 56 56 clean: -
trunk/mediafolder/res/nl/about_ecs_nl.dlg
r2 r104 7 7 DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE 8 8 BEGIN 9 DIALOG "Produkt Information", IDDLG_ABOUT, 100, 120, 194, 67, 9 DIALOG "Produkt Information", IDDLG_ABOUT, 100, 120, 194, 67, 10 10 WS_VISIBLE, FCF_TITLEBAR 11 11 BEGIN 12 12 ICON IDICON_FOLDER1, IDICON_FOLDER1, 10, 39, 16, 15, WS_GROUP 13 LTEXT "Multimedia integration for the desktop", 14 IDST_PRODNAME, 38, 50, 154, 10, DT_WORDBREAK | NOT 13 LTEXT "Multimedia integration for the desktop", 14 IDST_PRODNAME, 38, 50, 154, 10, DT_WORDBREAK | NOT 15 15 WS_GROUP 16 16 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans Bold" 17 17 CONTROL "", 607, 38, 43, 154, 7, "CW_SEPARATOR", WS_VISIBLE 18 LTEXT "(C) 2002-2004 Chris Wohlgemuth", IDST_PRODCOPY, 38,19 29, 154, 11, DT_VCENTER | DT_WORDBREAK | NOT 18 LTEXT MFLDR_AUTHOR, IDST_PRODCOPY, 38, 19 29, 154, 11, DT_VCENTER | DT_WORDBREAK | NOT 20 20 WS_GROUP 21 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"22 LTEXT "Licensed to Serenity Systems", 608, 38, 19, 154, 923 21 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans" 24 22 DEFPUSHBUTTON "~Ok", IDSTR_CLOSETEXT, 38, 2, 34, 13 -
trunk/mediafolder/res/nl/about_nl.dlg
r2 r104 5 5 DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE 6 6 BEGIN 7 DIALOG "Produkt informatie", IDDLG_ABOUT, 115, 69, 208, 132, 7 DIALOG "Produkt informatie", IDDLG_ABOUT, 115, 69, 208, 132, 8 8 WS_VISIBLE, FCF_TITLEBAR 9 9 BEGIN 10 10 GROUPBOX "", IDGB_ABOUT, 3, 21, 200, 108 11 ; CTEXT "Media-map V0.2.5", IDST_PRODNAME, 36, 107, 135, 12 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 11 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 13 12 12, DT_VCENTER | NOT WS_GROUP 14 CTEXT "(C) Chris Wohlgemuth 2002/2003", IDST_PRODCOPY, 10, 87,13 CTEXT MFLDR_AUTHOR, IDST_PRODCOPY, 10, 87, 15 14 186, 12, DT_VCENTER | NOT WS_GROUP 16 CTEXT "Graphics door Klaus Staedtler-Przyborski", 17 IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK | 15 CTEXT "Copyright (c) netlabs.org 2020", 16 IDST_PRODCOPY2, 10, 64, 186, 12, DT_VCENTER | NOT WS_GROUP 17 CTEXT "Graphics door Klaus Staedtler-Przyborski", 18 IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK | 18 19 NOT WS_GROUP 19 CTEXT "http://www.geocities.com/SiliconValley/Sector/5785/" 20 "index.html", IDST_URL1, 10, 46, 186, 18, 21 DT_WORDBREAK | NOT WS_GROUP 22 PRESPARAMS PP_FONTNAMESIZE, "8.Helv" 23 CTEXT "http://www.os2world.com/cdwriting", IDST_URL2, 10, 24 30, 186, 16, DT_WORDBREAK 20 CTEXT "https://trac.netlabs.org/cwmmclasses", IDST_URL1, 21 10, 30, 186, 18, DT_WORDBREAK | NOT WS_GROUP 25 22 PRESPARAMS PP_FONTNAMESIZE, "8.Helv" 26 23 DEFPUSHBUTTON "~Ok", DID_OK, 83, 3, 40, 14 -
trunk/mediafolder/res/nl/create_res_nl_def.CMD
r2 r104 53 53 def=def||'0d'x||'0a'x 54 54 55 def=def||"LIBRARY MFLDR_NL INIT GLOBAL"||'0d'x||'0a'x55 def=def||"LIBRARY MFLDR_NL INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x 56 56 def=def||"DESCRIPTION '$@#(C) B. van Leeuwen " 57 57 def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Media-Folder V"||theVersion||" resource DLL -dutch-'"||'0d'x||'0a'x 58 def=def||"PROTMODE"||'0d'x||'0a'x 59 def=def||"CODE LOADONCALL DISCARDABLE"||'0d'x||'0a'x 60 def=def||"DATA SINGLE SHARED DISCARDABLE"||'0d'x||'0a'x 58 def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x 61 59 def=def||"EXPORTS "||'0d'x||'0a'x 62 60 def=def||" queryLanguage"||'0d'x||'0a'x -
trunk/mediafolder/res/tw/create_res_tw_def.CMD
r4 r104 53 53 def=def||'0d'x||'0a'x 54 54 55 def=def||"LIBRARY MFLDR_tw INIT GLOBAL"||'0d'x||'0a'x55 def=def||"LIBRARY MFLDR_tw INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x 56 56 def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth " 57 57 def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Media-Folder V"||theVersion||" resource DLL -Traditional Chinese-'"||'0d'x||'0a'x 58 def=def||"PROTMODE"||'0d'x||'0a'x 59 def=def||"CODE LOADONCALL DISCARDABLE"||'0d'x||'0a'x 60 def=def||"DATA SINGLE SHARED DISCARDABLE"||'0d'x||'0a'x 58 def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x 61 59 def=def||"EXPORTS "||'0d'x||'0a'x 62 60 def=def||" queryLanguage"||'0d'x||'0a'x -
trunk/mediafolder/res/tw/mediafolder_tw.dlg
r4 r104 7 7 DLGTEMPLATE IDDLG_BOTTOMFRAME LOADONCALL MOVEABLE DISCARDABLE 8 8 BEGIN 9 DIALOG "", IDDLG_BOTTOMFRAME, 12, 70, 300, 16, NOT FS_DLGBORDER | NOT 9 DIALOG "", IDDLG_BOTTOMFRAME, 12, 70, 300, 16, NOT FS_DLGBORDER | NOT 10 10 WS_SAVEBITS 11 11 BEGIN … … 16 16 DLGTEMPLATE IDDLG_FRAMERIGHT LOADONCALL MOVEABLE DISCARDABLE 17 17 BEGIN 18 DIALOG "", IDDLG_FRAMERIGHT, 134, 21, 24, 109, NOT FS_DLGBORDER | NOT 18 DIALOG "", IDDLG_FRAMERIGHT, 134, 21, 24, 109, NOT FS_DLGBORDER | NOT 19 19 WS_SAVEBITS 20 20 BEGIN … … 24 24 DLGTEMPLATE IDDLG_LEFTFRAME LOADONCALL MOVEABLE DISCARDABLE 25 25 BEGIN 26 DIALOG "", IDDLG_LEFTFRAME, 12, 6, 148, 148, NOT FS_DLGBORDER | NOT 26 DIALOG "", IDDLG_LEFTFRAME, 12, 6, 148, 148, NOT FS_DLGBORDER | NOT 27 27 WS_SAVEBITS 28 28 BEGIN 29 CONTAINER IDCNR_PLAYLIST, 14, 11, 123, 111, CCS_SINGLESEL | 29 CONTAINER IDCNR_PLAYLIST, 14, 11, 123, 111, CCS_SINGLESEL | 30 30 CCS_AUTOPOSITION | CCS_MINIRECORDCORE | WS_GROUP 31 31 PUSHBUTTON "Add", IDPB_ADD, 8, 129, 40, 14 … … 36 36 DLGTEMPLATE IDDLG_TOOLBARSETTINGS LOADONCALL MOVEABLE DISCARDABLE 37 37 BEGIN 38 DIALOG "", IDDLG_TOOLBARSETTINGS, 91, 22, 201, 199, NOT FS_DLGBORDER | 38 DIALOG "", IDDLG_TOOLBARSETTINGS, 91, 22, 201, 199, NOT FS_DLGBORDER | 39 39 WS_VISIBLE 40 40 BEGIN 41 GROUPBOX "€ušãŠC", IDGB_TOOLBAR, 9, 24, 181, 127, NOT 41 GROUPBOX "€ušãŠC", IDGB_TOOLBAR, 9, 24, 181, 127, NOT 42 42 WS_GROUP 43 AUTOCHECKBOX "±Ò¥Î§Y®ÉžÑ»¡(~E)", IDCB_ENABLETBFLYOVER, 16, 43 AUTOCHECKBOX "±Ò¥Î§Y®ÉžÑ»¡(~E)", IDCB_ENABLETBFLYOVER, 16, 44 44 129, 152, 10 45 SPINBUTTON IDSB_TBFLYOVERDELAY, 97, 115, 40, 12, 46 SPBS_NUMERICONLY | SPBS_MASTER | SPBS_FASTSPIN | 45 SPINBUTTON IDSB_TBFLYOVERDELAY, 97, 115, 40, 12, 46 SPBS_NUMERICONLY | SPBS_MASTER | SPBS_FASTSPIN | 47 47 WS_GROUP 48 GROUPBOX "§Y®ÉÃCŠâ€ÎŠr«¬", IDGB_COLORANDFONT, 15, 48 GROUPBOX "§Y®ÉÃCŠâ€ÎŠr«¬", IDGB_COLORANDFONT, 15, 49 49 30, 168, 76, NOT WS_GROUP 50 50 LTEXT "ÃCŠâ©ÎŠrÅé¿ï¥Î°ÏªºÂIÀ»«ö¶s¡C" 51 "©ì©ñ®É«öŠí <CTRL> ¥i¥H§ïÅÜŠrÅéÃCŠâ¡C", 51 "©ì©ñ®É«öŠí <CTRL> ¥i¥H§ïÅÜŠrÅéÃCŠâ¡C", 52 52 IDST_TEXTDEMOFIELD, 23, 35, 95, 57, DT_WORDBREAK 53 53 PRESPARAMS PP_FOREGROUNDCOLOR, 0x000000FFL … … 58 58 PUSHBUTTON "¹w³]È(~D)", IDPB_COLORSTANDARD, 74, 7, 52, 14 59 59 PUSHBUTTON "žÑ»¡(~H)", IDPB_COLORHELP, 132, 7, 52, 14, BS_HELP 60 RTEXT "©µ¿ð(ms)¡G", IDGB_COLORANDFONT, 35, 116, 55, 8, 60 RTEXT "©µ¿ð(ms)¡G", IDGB_COLORANDFONT, 35, 116, 55, 8, 61 61 DT_VCENTER 62 62 END … … 65 65 DLGTEMPLATE IDDLG_TOPFRAME LOADONCALL MOVEABLE DISCARDABLE 66 66 BEGIN 67 DIALOG "", IDDLG_TOPFRAME, 13, 52, 287, 26, NOT FS_DLGBORDER | 67 DIALOG "", IDDLG_TOPFRAME, 13, 52, 287, 26, NOT FS_DLGBORDER | 68 68 FS_BORDER | NOT WS_SAVEBITS 69 69 BEGIN … … 74 74 DLGTEMPLATE IDDLG_TOPMIDDLE LOADONCALL MOVEABLE DISCARDABLE 75 75 BEGIN 76 DIALOG "", IDDLG_TOPMIDDLE, 12, 51, 249, 39, NOT FS_DLGBORDER | 76 DIALOG "", IDDLG_TOPMIDDLE, 12, 51, 249, 39, NOT FS_DLGBORDER | 77 77 FS_BORDER | WS_VISIBLE | NOT WS_SAVEBITS 78 78 BEGIN 79 CONTROL "˰h(~B)", IDPB_SKIPBACK, 19, 25, 20, 14, WC_BUTTON, 80 BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_TABSTOP | 79 CONTROL "˰h(~B)", IDPB_SKIPBACK, 19, 25, 20, 14, WC_BUTTON, 80 BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_TABSTOP | 81 81 WS_VISIBLE 82 CONTROL "°±€î(~S)", IDPB_STOP, 40, 25, 22, 14, WC_BUTTON, 82 CONTROL "°±€î(~S)", IDPB_STOP, 40, 25, 22, 14, WC_BUTTON, 83 83 BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_VISIBLE 84 CONTROL "ŒÈ°±(~P)", IDPB_PAUSE, 61, 25, 20, 14, WC_BUTTON, 85 BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_VISIBLE 86 CONTROL "Œœ©ñ(~L)", IDPB_PLAY, 79, 25, 20, 14, WC_BUTTON, 84 CONTROL "ŒÈ°±(~P)", IDPB_PAUSE, 61, 25, 20, 14, WC_BUTTON, 87 85 BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_VISIBLE 88 CONTROL "€U€@º(~N)", IDPB_SKIPFORWARD, 99, 25, 20, 14, WC_BUTTON, 86 CONTROL "Œœ©ñ(~L)", IDPB_PLAY, 79, 25, 20, 14, WC_BUTTON, 87 BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_VISIBLE 88 CONTROL "€U€@º(~N)", IDPB_SKIPFORWARD, 99, 25, 20, 14, WC_BUTTON, 89 89 BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_VISIBLE 90 90 AUTOCHECKBOX "«ÂÐ(~R)", IDCB_REPEAT, 133, 13, 73, 10,WS_VISIBLE|BS_USERBUTTON | BS_AUTOCHECKBOX … … 93 93 CTEXT "0:00", IDST_PLAYTIME, 133, 24, 102, 10, DT_VCENTER 94 94 PRESPARAMS PP_FONTNAMESIZE, "10.Helv" 95 CONTROL "µ¶qºb", IDSL_VOLUMEARM, 209, 5, 14, 14, 95 CONTROL "µ¶qºb", IDSL_VOLUMEARM, 209, 5, 14, 14, 96 96 WC_BUTTON, BS_USERBUTTON | WS_TABSTOP|BS_USERBUTTON 97 PUSHBUTTON "µ¶q", IDSL_VOLUME, 19, 4, 69, 14, 97 PUSHBUTTON "µ¶q", IDSL_VOLUME, 19, 4, 69, 14, 98 98 BS_NOPOINTERFOCUS | NOT WS_TABSTOP | NOT WS_VISIBLE |BS_USERBUTTON 99 99 END … … 106 106 DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE 107 107 BEGIN 108 DIALOG "²£«~žê°T", IDDLG_ABOUT, 115, 69, 208, 132, 108 DIALOG "²£«~žê°T", IDDLG_ABOUT, 115, 69, 208, 132, 109 109 WS_VISIBLE, FCF_TITLEBAR 110 110 BEGIN 111 111 GROUPBOX "", IDGB_ABOUT, 3, 21, 200, 108 112 ; CTEXT "Media-Folder V0.2.5", IDST_PRODNAME, 36, 107, 135, 113 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 112 CTEXT VER_STRING, IDST_PRODNAME, 10, 107, 187, 114 113 12, DT_VCENTER | NOT WS_GROUP 115 CTEXT "(C) Chris Wohlgemuth 2002/2003", IDST_PRODCOPY, 10, 87,114 CTEXT MFLDR_AUTHOR, IDST_PRODCOPY, 10, 87, 116 115 186, 12, DT_VCENTER | NOT WS_GROUP 117 CTEXT "Graphics by Klaus Staedtler-Przyborski", 118 IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK | 116 CTEXT "Copyright (c) netlabs.org 2020", 117 IDST_PRODCOPY2, 10, 64, 186, 12, DT_VCENTER | NOT WS_GROUP 118 CTEXT "Graphics by Klaus Staedtler-Przyborski", 119 IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK | 119 120 NOT WS_GROUP 120 CTEXT "http://www.geocities.com/SiliconValley/Sector/5785/" 121 "index.html", IDST_URL1, 10, 46, 186, 18, 122 DT_WORDBREAK | NOT WS_GROUP 121 CTEXT "https://trac.netlabs.org/cwmmclasses", IDST_URL1, 122 10, 30, 186, 18, DT_WORDBREAK | NOT WS_GROUP 123 123 PRESPARAMS PP_FONTNAMESIZE, "8.Helv" 124 124 DEFPUSHBUTTON "~Ok", DID_OK, 83, 3, 40, 14 125 CTEXT "http://www.os2world.com/cdwriting", IDST_URL2, 10,126 30, 186, 16, DT_WORDBREAK127 PRESPARAMS PP_FONTNAMESIZE, "8.Helv"128 125 END 129 126 END
Note:
See TracChangeset
for help on using the changeset viewer.