Changeset 104 for trunk/mediafolder


Ignore:
Timestamp:
Oct 2, 2023, 11:34:35 PM (2 years ago)
Author:
gyoung
Message:

Remaining changes from merge with Lars 2.9 branch

Location:
trunk
Files:
46 edited
10 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/mediafolder/Help/makefile

    r4 r104  
    1515       
    1616mediafldr.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
    1820ifdef    ECS_COMPILE
    1921        ipfc mediafldr_ecs.ipf mediafldr.hlp
     
    2123        ipfc mediafldr031_ecs.ipf mediafldr031.hlp
    2224        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
    2427else
    2528        ipfc mediafldr.ipf
     
    2730        ipfc mediafldr031.ipf
    2831        ipfc mediafldr039.ipf
    29         ipfc mediafldr088.ipf
     32        ipfc mediafldr088.ipf   
     33        ipfc mediafldr033.ipf
     34        ipfc mediafldr034.ipf
    3035endif
    3136
     
    4348
    4449distribution:
    45 
  • trunk/mediafolder/Help/mediafldr.ipf

    r2 r104  
    11:userdoc.
    22
    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 The 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
     11This object is a Media folder. Drag one or more audio files into it for
     12playing. To reorder, ensure that View | Sort > Always maintain sort order option
     13is deselected, as well as any other sort options which might affect manual
     14ordering, 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
     17control playback. The Repeat checkbox will cause the currently selected track to
     18continuously replay. The Random checkbox will select tracks arbitrarily, unless
     19the Repeat checkbox has been set.
     20
     21:p.More information and updates&colon.
     22
     23:p.https&colon.//trac.netlabs.org/cwmmclasses/wiki
     24
    2525: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.
     26A suitable MP3 MMIOProc is required in order to play MP3 files, as is a suitable
     27MMIOProc for Ogg (Vorbis and FLAC) files. These are included in the MMAudio Pak
     282, 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.)
    3633: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
     39By default, Media folders are displayed in Details view, listing track-
     40specific details for each file or object which has been added to the main
     41folder.
     42
     43:p.To switch to Compact view, select View | Compact from the main menu. In this
     44mode, 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
     48if 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
     54Use the following keys to control the Media folder. The buttons in the upper
     55part of the folder must have focus when using these keys. Use
     56:hp2.&lt.Tab&gt.: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
    5166:eul.
    5267
    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
     72Below the player buttons is the Volume slider. This controls the volume level
     73for 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
     79To the right of the player buttons is the Track position slider. Drag the
     80slider 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
     86Toward the lower left of the player folder is a square box. Drag and drop a
     87media file on the Launchpad to add it to the palette. The filename is displayed
     88in the button's tooltip. Drag and drop additional files in between existing
     89items in the Launchpad or to the right of the last item. Click any one of these
     90to begin playing it.
     91
     92:p.The Launchpad is common across all Media, CD player, and M3U playlist
     93folders.
     94
     95:note.When play is started in this manner, the
     96:link reftype=hd refid=mtrackpos.Track position slider:elink. does not reflect
     97the current playback state, and the player buttons do not control playback. Use
     98the 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
     101the Launchpad, do not add CD tracks here. CD tracks will not be playable from
     102the Launchpad.
     103
     104.* ----------------------------------------------------------------------------
     105:h1 res=200 name=cplayer
     106    x=left y=bottom width=100% height=100%.CD player
     107
     108This object is a CD player with CDDB support. Track titles and other metadata
     109are queried from a configured FreeDB-compatible server if an internet connection
     110is available.
     111
     112:p.More information and updates&colon.
     113
     114:p.https&colon.//trac.netlabs.org/cwmmclasses/wiki
     115
    70116: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.
     117Most CDDB servers follow the FreeDB practice of requiring a valid email address
     118for access. Use the FreeDB Client configuration object in the Multimedia folder
     119to set this.
    73120: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
     126By default, the CD player is displayed in Details view, listing details for each
     127track on the mounted disc.
     128
     129:p.To switch to Compact view, select View | Compact from the main menu. In this
     130mode, 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
     134then 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
     140Use the following keys to control the CD Player. The buttons in the upper
     141part of the player must have focus when using these keys. Use
     142:hp2.&lt.Tab&gt.: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
    88151:eul.
    89152
    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
     157Below the player buttons is the Volume slider. This controls the volume level
     158for 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
     164To the right of the player buttons is the Track position slider. Drag the
     165slider 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
     171Toward the lower left of the player folder is a square box. Drag and drop a
     172media file on the Launchpad to add it to the palette. The filename is displayed
     173in the button's tooltip. Drag and drop additional files in between existing
     174items in the Launchpad or to the right of the last item. Click any one of these
     175to begin playing it.
     176
     177:p.The Launchpad is common across all Media, CD player, and M3U playlist
     178folders.
     179
     180:note.When play is started in this manner, the
     181:link reftype=hd refid=mtrackpos.Track position slider:elink. does not reflect
     182the current playback state, and the player buttons do not control playback. Use
     183the 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
     186the Launchpad, do not add CD tracks here. CD tracks will not be playable from
     187the Launchpad.
     188
     189.* ----------------------------------------------------------------------------
     190:h1 res=300 name=peditor
     191    x=left y=bottom width=100% height=100%.Playlist editor
     192
     193Use the Playlist editor to modify M3U playlists. An M3U playlist is a text
     194file which contains paths (URLs) to the tracks it references.
     195
     196:p.M3U (Moving Picture Experts Group Audio Layer 3 Uniform Resource Locator) is
     197a :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
     200that :hp1.Always maintain sort order:ehp1. option on the :hp2.Sort:ehp2. submenu
     201is deselected, as well as any other sort options which might affect manual
     202ordering, and drag and drop the tracks as desired. Save the playlist by
     203selecting :hp2.File | Save:ehp2. from the menu.
     204
     205:p.To create a new playlist, drag the M3U playlist template from the Multimedia
     206Templates 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
     216Toward the lower left of the M3U playlist editor is a square box. Drag and drop
     217a media file on the Launchpad to add it to the palette. The filename is
     218displayed in the button's tooltip. Drag and drop additional files in between
     219existing items in the Launchpad or to the right of the last item. Click any one
     220of these to begin playing it.
     221
     222:p.The Launchpad is common across all Media, CD player, and M3U playlist
     223folders.
     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
     228the Launchpad, do not add CD tracks here. CD tracks will not be playable from
     229the Launchpad.
    108230
    109231:euserdoc.
    110 
  • trunk/mediafolder/MMconfigPage/cddbPage.def

    r2 r104  
    11LIBRARY cddbpage INITINSTANCE LONGNAMES
    2 PROTMODE
    32DESCRIPTION 'CDDB Config page - (c) Copyright Chris Wohlgemuth 2002'
    43DATA MULTIPLE NONSHARED
    5 STACKSIZE 32768
    64EXPORTS
    75     InsertCDDBConfigPage      @1
  • trunk/mediafolder/ProgFolder/makefile

    r53 r104  
    11################################################
    22#
    3 #                       Makefile for class CWProgFolder 
     3#                       Makefile for class CWProgFolder
    44#
    55#                          (C) Chris Wohlgenuth 1999-2001
    6 # 
     6#
    77#          E-mail:    christopher.wohlgemuth@bch.siemens.de
    88#
     
    5151
    5252CC           = icc
    53 LIB_DIR      = $d:/emx/lib 
     53LIB_DIR      = $d:/emx/lib
    5454CPPFLAGS     = /Ge- /Gm+ -G4 -Gl /O+ -Oc+ /C+ /Q+
    5555INC             = ../include
    5656INC2            = ..\include
    57 DEFS         = 
    58 PROGS        = 
     57DEFS         =
     58PROGS        =
    5959ODIR            = .
    6060CPPDIR  = .
     
    6363DLLDIR          =       ../../dist/DLL
    6464
    65 all:     progfolder.dll
     65all:     progfldr.dll
    6666
    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
     67progfldr.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 ..
    7275               
    7376progfolder.obj:         progfolder.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
     
    7578
    7679pframeproc.obj:         pframeproc.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
    77         icc $(CPPFLAGS) -I$(INC) $< 
     80        icc $(CPPFLAGS) -I$(INC) $<
    7881
    7982storewindow.obj:        storewindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
    80         icc $(CPPFLAGS) -I$(INC) $< 
     83        icc $(CPPFLAGS) -I$(INC) $<
    8184
    8285separatorwindow.obj: separatorwindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
    83         icc $(CPPFLAGS) -I$(INC) $< 
     86        icc $(CPPFLAGS) -I$(INC) $<
    8487
    8588clean:
     
    9396
    9497#distribution:
    95 #       -cp progfolder.dll $(DLLDIR)/progfldr.dll
     98#       -cp progfldr.dll $(DLLDIR)/progfldr.dll
    9699
  • trunk/mediafolder/c/audioshadow/makefile

    r2 r104  
    66CC           = icc
    77#CPPFLAGS     = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    8 CPPFLAGS     = /G5 /Ge- /Gm+ /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    9 LIBS         =  mmPM2.lib rexx.lib                 
     8CPPFLAGS     = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
     9LIBS         =  mmPM2.lib rexx.lib
    1010INC     =       ..\include
    1111HELPERDIR       =       .\helper
    12 DEFS         = 
    13 PROGS        = 
     12DEFS         =
     13PROGS        =
    1414ODIR            = ./obj
    1515CPPDIR  = .
     
    1818OBJECTS =       audioshadowoverridenwpmethods.obj audioshadowoverridenwpclsmethods.obj
    1919
    20 all:    mediafolder.dll
     20all:    mediafld.dll
    2121
    22 mediafolder.dll:        $(OBJECTS)
     22mediafld.dll:   $(OBJECTS)
    2323                cd ../. && make
    2424
  • trunk/mediafolder/c/cddb/cddb.cpp

    r40 r104  
    8888    delete(tempTrack);
    8989  }
    90  
     90
    9191  if(nextCddb)delete nextCddb;
    9292
     
    129129  if(tempTrack) {
    130130    /* 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);
    132132    delete(track);
    133133    return;
     
    136136  tempTrack=firstTrack;
    137137  while(tempTrack->nextTrack) {
    138     tempTrack=tempTrack->nextTrack; 
     138    tempTrack=tempTrack->nextTrack;
    139139  }
    140140  tempTrack->nextTrack=track;
    141   return; 
     141  return;
    142142}
    143143
     
    152152      return tempTrack;
    153153
    154     tempTrack=tempTrack->nextTrack; 
     154    tempTrack=tempTrack->nextTrack;
    155155  }
    156156
     
    169169
    170170#if 0
    171 /* now defined in printHelper.cpp 
     171/* now defined in printHelper.cpp
    172172   or cddbhelper.cpp. By choosing the right module to link to, it's possible
    173173   to redirect the messages without changing this module. Used for different
     
    191191  fileHandle=open("cddb.out",O_APPEND|O_TEXT|O_WRONLY);
    192192  if(fileHandle==-1) {
    193     printError("Cannot open cddb.out");
     193    printError((char *)"Cannot open cddb.out");
    194194    return;
    195195  }
     
    205205
    206206int readResponse(int s, char * buffer,int size)
    207 { 
     207{
    208208  int a;
    209209  int rc;
    210  
     210
    211211  rc=1;
    212212  for(a=0;a<size&&rc>0;a++) {
     
    217217    }
    218218    if(rc==-1)
    219       return CDDB_ERROR;   
    220   }
    221    
     219      return CDDB_ERROR;
     220  }
     221
    222222  return CDDB_ERROR;
    223223}
     
    237237    case '3': return CDDB_MORE;
    238238    case '4':
    239       printError("CDDB server error");
     239      printError((char *)"CDDB server error");
    240240      return CDDB_ERROR;
    241241    case '5':
    242       printError("CDDB client error");
     242      printError((char *)"CDDB client error");
    243243      return CDDB_ERROR;
    244244    default:
    245       printError("Unknown error");
     245      printError((char *)"Unknown error");
    246246      break;
    247247    }
     
    258258  /* Handshaking */
    259259  if(verbose)
    260     printError("Handshaking...    ");
     260    printError((char *)"Handshaking...    ");
    261261  sprintf(buffer,"cddb hello %s %s %s %s\n",username,hostname,clientname,version);
    262   if(verbose==2) 
     262  if(verbose==2)
    263263    printError(buffer);
    264264  rc=write(s,buffer,strlen(buffer));
    265265  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
    274274  rc=readResponse(s,buffer,sizeof(buffer));
    275275  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)
    280280    printErrorCR(buffer);
    281  
     281
    282282  if(check_cddb_code(buffer)==CDDB_ERROR)
    283283    return -1;
     
    297297  do {
    298298    if(verbose)
    299       printError("\nSetting protocol level...    ");
     299      printError((char *)"\nSetting protocol level...    ");
    300300    sprintf(buffer,"proto %d\n",iProtLevel);
    301301    printError(buffer);
    302302    rc=write(s,buffer,strlen(buffer));
    303303    if(rc==-1) {
    304       printError("Protocol: cannot write to CDDB server");
     304      printError((char *)"Protocol: cannot write to CDDB server");
    305305      return -1;
    306306    }
    307307    if(verbose)
    308       printError("done\n");
     308      printError((char *)"done\n");
    309309    if(verbose==2)
    310       printError("Response: ");
    311    
     310      printError((char *)"Response: ");
     311
    312312    rc=readResponse(s,buffer,sizeof(buffer));
    313313    if(rc==CDDB_ERROR) {
    314       printError("Set protocol: cannot get response");
     314      printError((char *)"Set protocol: cannot get response");
    315315      return -1;
    316316    }
    317317    if(verbose==2)
    318318      printErrorCR(buffer);
    319    
     319
    320320    /* Check cddb code */
    321321    if(check_cddb_code(buffer)==CDDB_ERROR) {
     
    326326      break;
    327327    /* protocol not supported. Decrement level and try again. */
    328     iProtLevel--;     
     328    iProtLevel--;
    329329  }while(iProtLevel>0);
    330  
     330
    331331  return 0;
    332332}
     
    343343  do {
    344344    rc=readResponse(s,buffer,sizeof(buffer)); /* Get next line */
    345    
     345
    346346    if(rc==CDDB_ERROR)
    347347      return root; /* return what we have so far */
     
    351351
    352352    /* 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 */
    354354    /* Get the data for this match */
    355355    sscanf(buffer, " %20s %x %100[^/\r\n] / %100[^\r\n]", Cddb->category,&Cddb->discid,Cddb->artist,Cddb->title);
     
    359359    else
    360360      root->linkCddb(Cddb);
    361    
     361
    362362  }while(true);
    363363
     
    383383  /* Sending query */
    384384  if(verbose)
    385     printError("Sending query cmd...    ");
     385    printError((char *)"Sending query cmd...    ");
    386386  /* Build cmd-line */
    387387  sprintf(buffer,"cddb query %08x %d",cddbInfo->discid,cddbInfo->numTracks);
     
    389389    rc=snprintf(track,sizeof(track)," %d",cddbInfo->startSector[a]);
    390390    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");
    392392      return 0;
    393393    }
    394394    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");
    396396      return 0;
    397397    }
     
    401401  rc=snprintf(track,sizeof(track), " %d\n",cddbInfo->discLength);
    402402  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");
    404404    return 0;
    405405  }
    406406  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");
    408408    return 0;
    409409  }
     
    415415  rc=write(s,buffer,strlen(buffer));
    416416  if(rc==-1) {
    417     printError("Query: cannot write to CDDB server");
     417    printError((char *)"Query: cannot write to CDDB server");
    418418    return 0;
    419419  }
    420420  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
    425425  rc=readResponse(s,buffer,sizeof(buffer));
    426426  //rc=read(s,buffer,sizeof(buffer)-1);
    427427  if(rc==CDDB_ERROR) {
    428     printError("Query: cannot get response");
     428    printError((char *)"Query: cannot get response");
    429429    return 0;
    430430  }
     
    440440    {
    441441    case 200:  /* exact match */
    442       Cddb=new cddb("","","");
     442      Cddb=new cddb((char *)"",(char *)"",(char *)"");
    443443
    444444      sscanf(buffer+4, "%20s %x %100[^/\r\n] / %100[^\r\n]", Cddb->category,&Cddb->discid,Cddb->artist,Cddb->title);
     
    457457  /* We shouldn't reach this */
    458458  return 0;
    459 } 
     459}
    460460
    461461/* Reads the CDDB banner from the server after connecting */
     
    471471  rc=readResponse(s,buffer,sizeof(buffer));
    472472  if(rc==CDDB_ERROR) {
    473     printError("Cannot read CDDB-Banner");
     473    printError((char *)"Cannot read CDDB-Banner");
    474474    return -1;
    475475  }
     
    493493  int iTrack=0;
    494494  int iTemp=0;
    495  
     495
    496496  do{
    497497    rc=readResponse(s,buffer,sizeof(buffer));
    498498    if(rc==CDDB_ERROR) {
    499       printError("Read request: cannot get response");
     499      printError((char *)"Read request: cannot get response");
    500500      return CDDB_ERROR;
    501501    }
     
    504504    if(buffer[0]!='.')
    505505      printData(buffer);
    506    
     506
    507507    if(buffer[0]=='#') /* This is a comment */
    508508      { }
     
    511511      if(buffer[0]=='.') /* End of data */
    512512        return CDDB_OK; /* Done */
    513      
     513
    514514      //printf("Found data: %s\n",buffer);
    515515      sscanf(buffer,"%20[^0-9=]",key);
     
    524524  }while(rc==CDDB_MORE);
    525525
     526  return CDDB_OK;
    526527}
    527528
     
    534535
    535536  /* 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... ");
    539540  if(verbose==2)
    540541    printError(buffer);
    541  
     542
    542543  rc=write(s,buffer,strlen(buffer));
    543544  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
    552553  rc=readResponse(s,buffer,sizeof(buffer));
    553554  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)
    558559    printError(buffer);
    559560  if(check_cddb_code(buffer)==CDDB_ERROR)
    560561    return CDDB_ERROR;
    561562
    562   /* Get the data */ 
     563  /* Get the data */
    563564  read_and_parse(s,Cddb);
    564   return CDDB_OK; 
     565  return CDDB_OK;
    565566}
    566567
     
    577578  /* Creating socket */
    578579  if(verbose)
    579     printError("Creating socket...     ");
     580    printError((char *)"Creating socket...     ");
    580581  s=socket(AF_INET,SOCK_STREAM,0);
    581582  if(s==-1) {
    582     printError("Cannot create socket!");
     583    printError((char *)"Cannot create socket!");
    583584    return -1;
    584585  }
    585586  *skt=s;
    586587  if(verbose)
    587     printError("Socket created\n");
     588    printError((char *)"Socket created\n");
    588589
    589590  /* Querying host */
    590591  if(verbose)
    591     printError("Querying host...     ");
     592    printError((char *)"Querying host...     ");
    592593  he = gethostbyname(host);
    593594  if(he==NULL) {
    594     printError("Cannot get host address.\ngethostbyname() returned error:  ");
     595    printError((char *)"Cannot get host address.\ngethostbyname() returned error:  ");
    595596    switch (h_errno)
    596597      {
    597598      case HOST_NOT_FOUND:
    598         printError("Host not found\n");
     599        printError((char *)"Host not found\n");
    599600        break;
    600601      case TRY_AGAIN:
    601         printError("Temporary error. Try again later.\n");
     602        printError((char *)"Temporary error. Try again later.\n");
    602603        break;
    603604      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");
    605606        break;
    606607      case NO_RECOVERY:
    607         printError("Unrecoverable error.\n");
     608        printError((char *)"Unrecoverable error.\n");
    608609        break;
    609610      default:
    610         printError("Unknown error\n");
     611        printError((char *)"Unknown error\n");
    611612      }
    612613    /* Close the socket */
    613614    close(s);
    614615    return -1;
    615   }   
    616 
    617   if(verbose)
    618     printError("Host found.\n");
     616  }
     617
     618  if(verbose)
     619    printError((char *)"Host found.\n");
    619620
    620621
    621622  /* Connecting to host */
    622623  if(verbose)
    623     printError("Connecting to host...    ");
     624    printError((char *)"Connecting to host...    ");
    624625  memset(&sa_in,0, sizeof(struct sockaddr_in));
    625626
     
    634635      {
    635636      case EBADF:
    636         printError("No valid socket descriptor");
     637        printError((char *)"No valid socket descriptor");
    637638        break;
    638639      case EISCONN:
    639         printError("The socket is already connected\n");
     640        printError((char *)"The socket is already connected\n");
    640641        break;
    641642      case ETIMEDOUT:
    642         printError("No connection. Timed out.\n");
     643        printError((char *)"No connection. Timed out.\n");
    643644        break;
    644645      case ECONNREFUSED:
    645         printError("Connection refused by  host.\n");
     646        printError((char *)"Connection refused by  host.\n");
    646647        break;
    647648      case EADDRNOTAVAIL:
    648         printError("Address not avaiable.\n");
     649        printError((char *)"Address not avaiable.\n");
    649650        break;
    650651
    651652      default:
    652         printError("General failure: Cannot connect to host\n");
     653        printError((char *)"General failure: Cannot connect to host\n");
    653654      }
    654655    close(s);
     
    656657  }
    657658  if(verbose)
    658     printError("connected.\n");
     659    printError((char *)"connected.\n");
    659660  return 0;
    660661}
  • trunk/mediafolder/c/cddb/makefile

    r53 r104  
    77#CPPFLAGSSTATIC     = -O -Zomf -Zsys -Zmt -s
    88
    9 CPPFLAGSVAC  = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+
     9CPPFLAGSVAC  = /Ge- /Gm+ /G4 /Gl- /O+ /Oc+ /Ol- /Q+
    1010INC             = ../../include
    1111MOREINC         = $(COMMONSRC)/include
    12 DEFS         = 
    13 PROGS        = 
     12DEFS         =
     13PROGS        =
    1414ODIR            = .
    1515CPPDIR  = .
     
    2929all:     pmcddb.exe pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll
    3030
    31 nlv:    pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll 
     31nlv:    pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll
    3232
    3333pmdb001.dll:    ./res/pmcddb001.c ./res/pmcddb001.res
     
    3636                cp ./res/pmcddb001.dll pmdb001.dll
    3737
    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
    3939                cd ./Res && make
    4040
     
    4343                cp ./res/pmcddb049.dll pmdb049.dll
    4444
    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
    4646                cd ./Res && make
    4747
     
    5050                cp ./res/pmcddb031.dll pmdb031.dll
    5151
    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
    5353                cd ./Res && make
    5454
     
    5757                cp ./res/pmcddb039.dll pmdb039.dll
    5858
    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
    6060                cd ./Res && make
    6161
     
    6666                cp ./res/pmcddb088.dll pmdb088.dll
    6767
    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
    6969                cd ./Res && make
    7070
    7171
    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) $<
    7474
    75 cd.obj: cd.c
     75cd.o:   cd.c
    7676                gcc -c $< -I$(INC) -Zcrtdll -Zomf
    7777
    78 helper.obj:     helper.c
     78helper.o:       helper.c
    7979                gcc -c $< -I$(INC) -Zcrtdll -Zomf
    8080
    81 message.obj:    message.c
     81message.o:      message.c
    8282                gcc -c $< -I$(INC) -Zcrtdll -Zomf
    8383
     
    8585        $(CC) $< $(CPPFLAGS) -I$(INC) -I$(MOREINC) $(LIBOBJECTS) $(OBJECTS) $(CDDBOBJ)  -lsocket -lstdc++6_dll.lib pmcddb.def
    8686
    87 cddb.obj:       cddb.cpp $(INC)\cddb.hh
     87cddb.o: cddb.cpp $(INC)\cddb.hh
    8888                gcc -c cddb.cpp -I$(INC) -Zcrtdll -Zomf
    8989
    90 cddbcls.obj:    cddbcls.cpp $(INC)\cddb.hh $(INC)\cddb.h
     90cddbcls.o:      cddbcls.cpp $(INC)\cddb.hh $(INC)\cddb.h
    9191                cd ../pm_launchers && make
    9292
    9393
    94 printHelper.obj:        printHelper.cpp
     94printHelper.o:  printHelper.cpp
    9595                gcc -c printHelper.cpp -I$(INC) -Zcrtdll -Zomf
    9696
    97 cddbhelper.obj: $(HELPERDIR)\cddbhelper.cpp
     97cddbhelper.o:   $(HELPERDIR)\cddbhelper.cpp
    9898                gcc -c $< -I$(INC) -Zcrtdll -Zomf
    9999
  • trunk/mediafolder/c/cddb/printhelper.cpp

    r2 r104  
    3030 */
    3131
    32 void extern printError(char* errorString)
     32void printError(char* errorString)
    3333{
    3434  fprintf(stderr,"%s",errorString);
    3535}
    3636
    37 void extern printErrorCR(char* errorString)
     37void printErrorCR(char* errorString)
    3838{
    3939  fprintf(stderr,"%s\n",errorString);
     
    4141
    4242
    43 void extern printData(char* outString)
     43void printData(char* outString)
    4444{
    4545  int fileHandle;
  • trunk/mediafolder/c/cddb/res/makefile

    r53 r104  
    1313
    1414CPPFILES        =
    15 all:     pmcddb001.dll pmcddb049.dll pmcddb031.dll pmcddb039.dll pmcddb088.dll
     15all:     pmcddb001.dll pmcddb049.dll pmcddb031.dll pmcddb039.dll pmcddb088.dll pmcddb033.dll pmcddb034.dll
    1616
    1717
     
    2929                gcc -Zdll -Zomf -I$(INC) pmcddb049.c pmcddb049.def
    3030                rc pmcddb049.res pmcddb049.dll
    31 #               icc $(CPPFLAGS) -I$(INC) pmcddb001.c pmcddb04á.def
    3231
    3332pmcddb049.res:  pmcddb049.rc pmcddb049.dlg $(INC)\pmcddbres.h
     
    3736                gcc -Zdll -Zomf -I$(INC) pmcddb031.c pmcddb031.def
    3837                rc pmcddb031.res pmcddb031.dll
    39 #               icc $(CPPFLAGS) -I$(INC) pmcddb001.c pmcddb04á.def
    4038
    4139pmcddb031.res:  pmcddb031.rc pmcddb031.dlg $(INC)\pmcddbres.h
     
    4543                gcc -Zdll -Zomf -I$(INC) pmcddb039.c pmcddb039.def
    4644                rc pmcddb039.res pmcddb039.dll
    47 #               icc $(CPPFLAGS) -I$(INC) pmcddb001.c pmcddb04á.def
    4845
    4946pmcddb039.res:  pmcddb039.rc pmcddb039.dlg $(INC)\pmcddbres.h
     
    5754                rc  -i $(INC) -r pmcddb088.rc
    5855
     56pmcddb033.dll:  pmcddb033.c pmcddb033.res
     57                gcc -Zdll -Zomf -I$(INC) pmcddb033.c pmcddb033.def
     58                rc pmcddb033.res pmcddb033.dll
     59
     60pmcddb033.res:  pmcddb033.rc pmcddb033.dlg $(INC)\pmcddbres.h
     61                rc  -i $(INC) -r pmcddb033.rc
     62
     63pmcddb034.dll:  pmcddb034.c pmcddb034.res
     64                gcc -Zdll -Zomf -I$(INC) pmcddb034.c pmcddb034.def
     65                rc pmcddb034.res pmcddb034.dll
     66
     67pmcddb034.res:  pmcddb034.rc pmcddb034.dlg $(INC)\pmcddbres.h
     68                rc  -i $(INC) -r pmcddb034.rc
     69
    5970clean:
    6071        -rm *.obj
     
    6475cleaner:
    6576        -rm *.*~
    66 
    67        
    68 
  • trunk/mediafolder/c/cddb/res/pmcddb001.DEF

    r43 r104  
    1818; */
    1919
    20 LIBRARY PMDB001 INITGLOBAL
     20LIBRARY PMDB001 INITINSTANCE TERMINSTANCE
    2121DESCRIPTION '$@#(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 
     22DATA MULTIPLE NONSHARED
     23EXPORTS
    2624      queryLanguage = _queryLanguage
  • trunk/mediafolder/c/cddb/res/pmcddb031.DEF

    r43 r104  
    1818; */
    1919
    20 LIBRARY PMDB031 INITGLOBAL
     20LIBRARY PMDB031 INITINSTANCE TERMINSTANCE
    2121DESCRIPTION '$@#(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 
     22DATA MULTIPLE NONSHARED
     23EXPORTS
    2624        queryLanguage = _queryLanguage
  • trunk/mediafolder/c/cddb/res/pmcddb039.DEF

    r43 r104  
    1818; */
    1919
    20 LIBRARY PMDB039 INITGLOBAL
     20LIBRARY PMDB039 INITINSTANCE TERMINSTANCE
    2121DESCRIPTION '$@#(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
     22DATA MULTIPLE NONSHARED
    2523EXPORTS
    2624        queryLanguage = _queryLanguage
  • trunk/mediafolder/c/cddb/res/pmcddb049.DEF

    r43 r104  
    1818; */
    1919
    20 LIBRARY PMDB049 INITGLOBAL
     20LIBRARY PMDB049 INITINSTANCE TERMINSTANCE
    2121DESCRIPTION '$@#(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 
     22DATA MULTIPLE NONSHARED
     23EXPORTS
    2624        queryLanguage = _queryLanguage
  • trunk/mediafolder/c/cddb/res/pmcddb088.DEF

    r43 r104  
    1818; */
    1919
    20 LIBRARY PMDB088 INITGLOBAL
     20LIBRARY PMDB088 INITINSTANCE TERMINSTANCE
    2121DESCRIPTION '$@#(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 
     22DATA MULTIPLE NONSHARED
     23EXPORTS
    2624        queryLanguage = _queryLanguage
  • trunk/mediafolder/c/cdfldr/makefile

    r2 r104  
    55CC           = icc
    66#CPPFLAGS     = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    7 CPPFLAGS     = /G5 /Ge- /Gm+ /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    8 LIBS         =  mmPM2.lib rexx.lib                 
     7CPPFLAGS     = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
     8LIBS         =  mmPM2.lib rexx.lib
    99INC     =       ..\include
    1010HELPERDIR       =       ..\helper
    11 DEFS         = 
    12 PROGS        = 
     11DEFS         =
     12PROGS        =
    1313ODIR            = ./obj
    1414CPPDIR  = .
     
    1818        ..\helper\cd.obj cdfldrdialogprocs.obj
    1919
    20 all:    mediafolder.dll
     20all:    mediafld.dll
    2121
    2222
     
    2424        icc $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
    2525
    26 mediafolder.dll:
     26mediafld.dll:
    2727                cd ../. && make
    2828
  • trunk/mediafolder/c/createcd/makefile

    r2 r104  
    44
    55CC           = icc
    6 LIB_DIR      = $d:/emx/lib 
     6LIB_DIR      = $d:/emx/lib
    77CPPFLAGS     = -O -Zomf -Zcrtdll -s
    8 CPPFLAGSVAC  = /Ge /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ /Ss
     8CPPFLAGSVAC  = /Ge /Gm+ /G4 /Gl- /O+ /Oc+ /Ol- /Q+ /Ss
    99INC             = ../../include
    10 DEFS         = 
    11 PROGS        = 
     10DEFS         =
     11PROGS        =
    1212ODIR            = .
    1313CPPDIR  = .
     
    2020
    2121
    22 creatcd.exe:    createcd.c 
     22creatcd.exe:    createcd.c
    2323ifdef    ECS_COMPILE
    24          icc  $(CPPFLAGSVAC) -I$(INC) $< 
     24         icc  $(CPPFLAGSVAC) -I$(INC) $<
    2525else
    26         icc  $(CPPFLAGSVAC) -I$(INC) $< 
     26        icc  $(CPPFLAGSVAC) -I$(INC) $<
    2727#       gcc  $(CPPFLAGS) -I$(INC) $< -Zlinker /PMTYPE:VIO
    2828endif
  • trunk/mediafolder/c/helper/cddbhelper.cpp

    r57 r104  
    3838 */
    3939
    40 void extern printError(char* errorString)
     40void printError(char* errorString)
    4141{
    4242    char buffer[CCHMAXPATH] = {0};
     
    5555}
    5656
    57 void extern printErrorCR(char* errorString)
     57void printErrorCR(char* errorString)
    5858{
    5959  fprintf(stderr,"%s\n",errorString);
     
    6363
    6464
    65 void extern printData(char* outString)
     65void printData(char* outString)
    6666{
    6767  int fileHandle;
    6868  int rc;
    6969
    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
    7171     the discid (this is the native format of the data hold by a cddb server) */
    7272  fileHandle=open(cddbDataFile,O_APPEND|O_TEXT|O_WRONLY|O_CREAT,S_IWRITE);
  • trunk/mediafolder/c/helper/except.cpp

    r41 r104  
    455455{
    456456  ULONG rc = XCPT_CONTINUE_SEARCH;
    457  
     457
    458458  if (pERepRec->fHandlerFlags & EH_EXIT_UNWIND)
    459459    return (XCPT_CONTINUE_SEARCH);
     
    495495{
    496496  ULONG rc = XCPT_CONTINUE_SEARCH;
    497  
     497
    498498  if (pERepRec->fHandlerFlags & EH_EXIT_UNWIND)
    499499    return (XCPT_CONTINUE_SEARCH);
     
    502502  if (pERepRec->fHandlerFlags & EH_NESTED_CALL)
    503503    return (XCPT_CONTINUE_SEARCH);
    504  
     504
    505505  if ((pERepRec->ExceptionNum & XCPT_SEVERITY_CODE) == XCPT_FATAL_EXCEPTION)
    506506    {
     
    530530
    531531  return 'c';
    532 } 
     532}
    533533
    534534ULONG APIENTRY HandleFatalException (PEXCEPTIONREPORTRECORD       pERepRec,
     
    641641          }
    642642#endif
    643        
     643
    644644        fAlreadyTrapped = TRUE;
    645645        /* end  John Currier's recursion prevention */
     
    11671167}
    11681168
    1169 #include <exe.h>
    11701169#include <newexe.h>
    11711170#define  FOR_EXEHDR  1  /* avoid define conflicts between newexe.h and exe386.h */
     
    18201819               do {
    18211820                  read(fh,(void *)&FirstLine,sizeof(FirstLine));
    1822    
     1821
    18231822                  if (FirstLine.LineNum!=0) {
    18241823                     fprintf(hTrap,"Missing Line table information\n");
     
    18491848                        }
    18501849                        break;
    1851    
     1850
    18521851                     case 1:
    18531852                        lseek(fh, sizeof(struct linlist_rec), SEEK_CUR);
    18541853                        break;
    1855    
     1854
    18561855                     case 2:
    18571856                        lseek(fh, sizeof(struct linsourcelist_rec), SEEK_CUR);
    18581857                        break;
    1859    
     1858
    18601859                     case 3:
    18611860                        lseek(fh, sizeof(struct filenam_rec), SEEK_CUR);
    18621861                        break;
    1863    
     1862
    18641863                     case 4:
    18651864                        lseek(fh, sizeof(struct pathtab_rec), SEEK_CUR);
    18661865                        break;
    1867    
     1866
    18681867                  }
    18691868               }
  • trunk/mediafolder/c/helper/makefile

    r2 r104  
    44
    55CC           = icc
    6 CPPFLAGS     = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    7                  
     6CPPFLAGS     = /Ge- /Gm+ /G4 /Gl- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
     7
    88INC     =       ..\include
    9 DEFS         = 
    10 PROGS        = 
     9DEFS         =
     10PROGS        =
    1111ODIR            = ./obj
    1212CPPDIR  = .
  • trunk/mediafolder/c/m3ufolder/makefile

    r2 r104  
    55CC           = icc
    66#CPPFLAGS     = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    7 CPPFLAGS     = /G5 /Ge- /Gm+ /Gl  /O+ /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG)
    8 LIBS         =  mmPM2.lib rexx.lib                 
     7CPPFLAGS     = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG)
     8LIBS         =  mmPM2.lib rexx.lib
    99INC     =       ..\include
    1010HELPERDIR       =       ..\helper
    11 DEFS         = 
    12 PROGS        = 
     11DEFS         =
     12PROGS        =
    1313ODIR            = ./obj
    1414CPPDIR  = .
    1515
    1616
    17 all:    mediafolder.dll
     17all:    mediafld.dll
    1818
    1919.cpp.obj:
    2020        icc $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
    2121
    22 mediafolder.dll:
     22mediafld.dll:
    2323                cd ../. && make
    2424
  • trunk/mediafolder/c/makefile

    r2 r104  
    77        cd ../. && make
    88
    9 mediafolder.dll:
     9mediafld.dll:
    1010
    1111clean:
  • trunk/mediafolder/c/mediafldr/makefile

    r2 r104  
    55CC           = icc
    66#CPPFLAGS     = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    7 CPPFLAGS     = /G5 /Ge- /Gm+ /Gl  /O+ /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG)
    8 LIBS         =  mmPM2.lib rexx.lib                 
     7CPPFLAGS     = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG)
     8LIBS         =  mmPM2.lib rexx.lib
    99INC     =       ..\include
    1010HELPERDIR       =       ..\helper
    11 DEFS         = 
    12 PROGS        = 
     11DEFS         =
     12PROGS        =
    1313ODIR            = ./obj
    1414CPPDIR  = .
     
    2626        cd ../. && make
    2727
    28 mediafolder.dll:
     28mediafld.dll:
    2929#$(OBJECTS)
    3030                cd ../. && make
  • trunk/mediafolder/create_mfldr_def.CMD

    r2 r104  
    33call SysLoadFuncs
    44
    5 deffile=ARG(1)
     5deffile=strip(ARG(1))
    66if ARG(1)="" then deffile="tst.def"
    77
     
    3636def=def||'0d'x||'0a'x
    3737
    38 def=def||"LIBRARY MEDIAFLD INITGLOBAL"||'0d'x||'0a'x
     38def=def||"LIBRARY MEDIAFLD INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
    3939def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth "
    4040def=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
     41def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x
    4442def=def||"EXPORTS  "||'0d'x||'0a'x
    4543def=def||"        CWMediaFolderClassData"||'0d'x||'0a'x
     
    5957def=def||"        M_CWAudioShadowNewClass"||'0d'x||'0a'x
    6058def=def||""||'0d'x||'0a'x
    61 def=def||"       CWCDFolderClassData"||'0d'x||'0a'x
     59def=def||"        CWCDFolderClassData"||'0d'x||'0a'x
    6260def=def||"        CWCDFolderCClassData"||'0d'x||'0a'x
    6361def=def||"        CWCDFolderNewClass"||'0d'x||'0a'x
  • trunk/mediafolder/include/mediafolderres.h

    r4 r104  
    121121#define IDGB_ABOUT                  605
    122122#define IDST_URL2                   606
     123#define IDST_PRODCOPY2        607
    123124
    124125#define IDSL_TEST                   305
     
    127128
    128129#define IDPTR_ARROWWE              2    /* WE Cursor for slider controls */
    129 
    130 
    131 
    132 
    133 
    134 
    135 
    136 
  • trunk/mediafolder/include/wpobject.hh

    r59 r104  
    1818      #define OBJSTYLE_NOLINK          4
    1919      #define OBJSTYLE_NOCOPY          8
    20       #define OBJSTYLE_NOTDEFAULTICON 16   /* Intentionally not declared CLSSTYLE */ 
     20      #define OBJSTYLE_NOTDEFAULTICON 16   /* Intentionally not declared CLSSTYLE */
    2121      #define OBJSTYLE_TEMPLATE       32
    2222      #define OBJSTYLE_NODELETE       64
     
    2727      #define OBJSTYLE_NORENAME     2048
    2828      #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) */
    3737
    3838     /*  Class style flags (see wpclsQueryStyle) */
     
    4747      #define CLSSTYLE_NEVERVISIBLE   OBJSTYLE_NOTVISIBLE
    4848      #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) */
    6060
    6161      #define SETTINGS_PAGE_REMOVED  -1
     
    153153         HWND            hwndCnr;      /* Cnr into which object is inserted */
    154154         PMINIRECORDCORE pRecord;      /* Record pointer within that cnr */
    155          ULONG           ulUser;       /* For application use RECSH */ 
     155         ULONG           ulUser;       /* For application use RECSH */
    156156      } RECORDITEM;
    157157      typedef RECORDITEM *PRECORDITEM;
     
    359359      #define SEARCH_THIS_FOLDER 2
    360360      #define SEARCH_THIS_TREE   3
    361  
     361
    362362
    363363      /* Find method related types and constants */
     
    402402      #define CTXT_PUTDOWN_CANCEL 0x2000000          /*rme88844*/
    403403
    404  
     404
    405405     /* Flags for the wpDisplayMenu() method */
    406406
     
    420420      #define WPMENUID_SELECT             4
    421421      #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*/
    468468
    469469
     
    11561156 * New Method: wpDrop
    11571157 */
    1158 typedef MRESULT   SOMLINK somTP_WPObject_wpDrop(WPObject *somSelf, 
    1159                 HWND hwndCnr, 
    1160                 PDRAGINFO pdrgInfo, 
     1158typedef MRESULT   SOMLINK somTP_WPObject_wpDrop(WPObject *somSelf,
     1159                HWND hwndCnr,
     1160                PDRAGINFO pdrgInfo,
    11611161                PDRAGITEM pdrgItem);
    11621162//#pragma linkage(somTP_WPObject_wpDrop, system)
     
    12561256     virtual BOOL wpAssertObjectMutexSem();
    12571257     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,
    12611261                                               PRECORDINSERT pRecInsert);
    12621262     virtual BOOL wpCnrRemoveObject(HWND hwndCnr);
    12631263     virtual BOOL wpCnrSetEmphasis(ULONG ulEmphasisAttr, BOOL fTurnOn);
    12641264     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,
    12671267                                        ULONG menuID);
    12681268     virtual void wpCopiedFromTemplate();
    12691269     virtual WPObject* wpCopyObject(WPFolder* Folder, BOOL fLock);
    1270      virtual WPObject* wpCreateAnother(PSZ pszTitle, PSZ pszSetupEnv, 
     1270     virtual WPObject* wpCreateAnother(PSZ pszTitle, PSZ pszSetupEnv,
    12711271                                       WPFolder* Folder);
    1272      virtual WPObject* wpCreateFromTemplate(WPFolder* folder, 
     1272     virtual WPObject* wpCreateFromTemplate(WPFolder* folder,
    12731273                                            BOOL fLock);
    1274      virtual WPObject* wpCreateShadowObject(WPFolder* Folder, 
     1274     virtual WPObject* wpCreateShadowObject(WPFolder* Folder,
    12751275                                            BOOL fLock);
    12761276     virtual ULONG wpDelete(ULONG fConfirmations);
    12771277     virtual BOOL wpDeleteFromObjUseList(PUSEITEM pUseItem);
    12781278     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,
    12811281                                ULONG ulReserved);
    12821282     virtual BOOL wpDoesObjectMatch(PVOID pvoidExtendedCriteria);
    12831283     virtual MRESULT wpDraggedOverObject(WPObject* DraggedOverObject);
    12841284     virtual MRESULT wpDragOver(HWND hwndCnr, PDRAGINFO pdrgInfo);
    1285      virtual MRESULT wpDrop(HWND hwndCnr, PDRAGINFO pdrgInfo, 
     1285     virtual MRESULT wpDrop(HWND hwndCnr, PDRAGINFO pdrgInfo,
    12861286                            PDRAGITEM pdrgItem);
    12871287     virtual BOOL wpDroppedOnObject(WPObject* DroppedOnObject);
    12881288     virtual MRESULT wpEndConversation(ULONG ulItemID, ULONG flResult);
    1289      virtual ULONG wpFilterPopupMenu(ULONG ulFlags, HWND hwndCnr, 
     1289     virtual ULONG wpFilterPopupMenu(ULONG ulFlags, HWND hwndCnr,
    12901290                                     BOOL fMultiSelect);
    12911291     virtual PUSEITEM wpFindUseItem(ULONG type, PUSEITEM pCurrentItem);
     
    12951295     virtual BOOL wpHide();
    12961296     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,
    12991299                                         ULONG SubMenuID);
    13001300     virtual ULONG wpInsertSettingsPage(HWND hwndNotebook, PPAGEINFO ppageinfo);
    13011301     virtual BOOL wpMenuItemHelpSelected(ULONG MenuId);
    13021302     virtual BOOL wpMenuItemSelected(HWND hwndFrame, ULONG ulMenuId);
    1303      virtual BOOL wpModifyPopupMenu(HWND hwndMenu, HWND hwndCnr, 
     1303     virtual BOOL wpModifyPopupMenu(HWND hwndMenu, HWND hwndCnr,
    13041304                                    ULONG iPosition);
    13051305     virtual BOOL wpMoveObject(WPFolder* Folder);
     
    13301330     virtual ULONG wpRequestObjectMutexSem(ULONG ulTimeout);
    13311331     virtual BOOL wpRestore();
    1332      virtual BOOL wpRestoreData(PSZ pszClass, ULONG ulKey, PBYTE pValue, 
     1332     virtual BOOL wpRestoreData(PSZ pszClass, ULONG ulKey, PBYTE pValue,
    13331333                                PULONG pcbValue);
    13341334     virtual BOOL wpRestoreLong(PSZ pszClass, ULONG ulKey, PULONG pulValue);
    13351335     virtual BOOL wpRestoreState(ULONG ulReserved);
    1336      virtual BOOL wpRestoreString(PSZ pszClass, ULONG ulKey, 
     1336     virtual BOOL wpRestoreString(PSZ pszClass, ULONG ulKey,
    13371337                                  PSZ pszValue, PULONG pcbValue);
    1338      virtual BOOL wpSaveData(PSZ pszClass, ULONG ulKey, PBYTE pValue, 
     1338     virtual BOOL wpSaveData(PSZ pszClass, ULONG ulKey, PBYTE pValue,
    13391339                             ULONG cbValue);
    13401340     virtual BOOL wpSaveImmediate();
     
    13431343     virtual BOOL wpSaveState();
    13441344     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,
    13461346                                    PSZ pszValue, PULONG pcbValue);
    13471347     virtual void wpSetConcurrentView(ULONG ulCCView);
     
    13501350     virtual BOOL wpSetDefaultView(ULONG ulView);
    13511351     virtual BOOL wpSetError(ULONG ulErrorId);
    1352      virtual BOOL wpSetIconHandle(HPOINTER hptrNewIcon);
    13531352     virtual USHORT wpQueryScreenGroupID(USHORT usPrevSgId);
    13541353     virtual BOOL wpSetupOnce(PSZ pszSetupString);
     
    13681367     virtual void wpObjectReady(ULONG ulCode, WPObject* refObject);
    13691368     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,
    13721371                                               M_WPObject* shadowClass);
    13731372     virtual BOOL wpCnrDeleteUseItem(HWND hwndCnr);
     
    13831382     virtual BOOL wpIsLocked();
    13841383     virtual PULONG wpQueryContainerFlagPtr();
    1385      virtual ULONG wpWaitForClose(LHANDLE lhView, ULONG ulViews, 
     1384     virtual ULONG wpWaitForClose(LHANDLE lhView, ULONG ulViews,
    13861385                                  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 ( \
    13901413                              "wpSetTitle", \
    13911414                              "wpQueryTitle", \
     
    14651488                              *, \
    14661489                              "wpRegisterView", \
    1467                               *, \
     1490                              "wpIdentify", \
    14681491                              "wpSetDefaultHelp", \
    14691492                              "wpQueryDefaultHelp", \
     
    15291552                              "wpIsObjectInitialized", \
    15301553                              "wpCreateShadowObjectExt", \
    1531                               "wpSetIconHandle", \
     1554                              *, \
    15321555                              *, \
    15331556                              *, \
     
    15371560                              "wpSetupOnce", \
    15381561                              "wpAddObjectGeneralPage2", \
     1562                              *, \
     1563                              *, \
     1564                              "wpModifyMenu", \
     1565                              "wpFilterMenu", \
     1566                              "wpInsertMenuItems", \
     1567                              "wpSetMenuStyle", \
     1568                              "wpQueryMenuStyle", \
     1569                              *, \
     1570                              *, \
     1571                              *, \
     1572                              *, \
     1573                              *, \
     1574                              *, \
     1575                              *, \
    15391576                              *, \
    15401577                              *)
     
    17631800 * New Method: wpclsQueryObject
    17641801 */
    1765 typedef WPObject*   SOMLINK somTP_M_WPObject_wpclsQueryObject(M_WPObject *somSelf, 
     1802typedef WPObject*   SOMLINK somTP_M_WPObject_wpclsQueryObject(M_WPObject *somSelf,
    17661803                HOBJECT hObject);
    17671804//#pragma linkage(somTP_M_WPObject_wpclsQueryObject, system)
     
    18411878     virtual BOOL wpclsCreateDefaultTemplates(WPObject* Folder);
    18421879     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,
    18451882                                      WPFolder* Folder, ULONG ulUser);
    1846      virtual WPObject* wpclsNew(PSZ pszTitle, PSZ pszSetupEnv, 
     1883     virtual WPObject* wpclsNew(PSZ pszTitle, PSZ pszSetupEnv,
    18471884                                WPFolder* Folder, BOOL fLock);
    1848      virtual BOOL wpclsQueryDefaultHelp(PULONG pHelpPanelId, 
     1885     virtual BOOL wpclsQueryDefaultHelp(PULONG pHelpPanelId,
    18491886                                        PSZ pszHelpLibrary);
    18501887     virtual ULONG wpclsQueryDefaultView();
    18511888     virtual PCLASSDETAILS wpclsQueryDetails();
    1852      virtual ULONG wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo, 
     1889     virtual ULONG wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo,
    18531890                                         PULONG pSize);
    1854      virtual BOOL wpclsQueryExtendedCriteria(PSZ pszName, ULONG ulSearchType, 
     1891     virtual BOOL wpclsQueryExtendedCriteria(PSZ pszName, ULONG ulSearchType,
    18551892                                             PVOID pvoidExtendedCriteria);
    18561893     virtual WPObject* wpclsQueryFolder(PSZ pszLocation, BOOL fLock);
    18571894     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,
    18601897                                       PULONG pulClassCriteriaSize);
    18611898     virtual ULONG wpclsQueryStyle();
    18621899     virtual PSZ wpclsQueryTitle();
    18631900     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,
    18671904                                       POBJECT pBuffer, PULONG pCount);
    1868      virtual BOOL wpclsFindObjectNext(HFIND hFind, POBJECT pBuffer, 
     1905     virtual BOOL wpclsFindObjectNext(HFIND hFind, POBJECT pBuffer,
    18691906                                      PULONG pCount);
    18701907     virtual BOOL wpclsFindObjectEnd(HFIND hFind);
     
    18771914     virtual void wpclsDecUsage();
    18781915     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,
    18821919                                             ULONG NumRecords);
    18831920     virtual WPObject* wpclsFindOneObject(HWND hwndOwner, PSZ pszFindParams);
     
    18861923     virtual BOOL wpclsSetIcon(HPOINTER hptrNewIcon);
    18871924     virtual WPObject* wpclsObjectFromHandle(HOBJECT hObject);
    1888      virtual BOOL wpclsRemoveObjects(HWND hwndCnr, PVOID* pRecordArray, 
     1925     virtual BOOL wpclsRemoveObjects(HWND hwndCnr, PVOID* pRecordArray,
    18891926                                     ULONG NumRecords, BOOL RemoveAll);
    1890      virtual ~M_WPObject(); 
     1927     virtual ~M_WPObject();
    18911928     virtual void somClassReady();
    18921929     virtual SOMObject* somNew();
  • trunk/mediafolder/makefile

    r53 r104  
    55CC           = icc
    66#CPPFLAGS     = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    7 CPPFLAGS     = /G5 /Ge- /Gm+ /Gl  /O+ /Ss /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG)
    8 
    9 
    10 LIBS         =  mmPM2.lib rexx.lib                 
     7CPPFLAGS     = /G5 /Ge- /Gm+ /Gl- /Ga- /O+ /Ss /Oc+ /Ol- /Q+ /D$(ECS) $(VACDEBUG)
     8
     9
     10LIBS         =  somtk.lib mmPM2.lib rexx.lib
    1111INC     =       ./include
    1212
     
    1414
    1515HELPERDIR       =       ./c/helper
    16 DEFS         = 
    17 PROGS        = 
     16DEFS         =
     17PROGS        =
    1818CDIR            =       ./c
    1919IDLDIR          =       ../classes/idl
     
    7474#
    7575#######################################
    76 all:    mediafolder.dll mediafolder_en.dll mediafolder_nl.dll mediafolder_de.dll mediafolder_it.dll \
     76all:    mediafld.dll mfldr_en.dll mfldr_nl.dll mfldr_de.dll mfldr_it.dll \
    7777        ./help/mediafldr.hlp \
    7878        prog_tutorial\mediafldrprog.inf ./c/createcd/createcd.exe
     
    9494#######################################
    9595#
    96 # Compile 
     96# Compile
    9797#
    9898#######################################
     
    117117
    118118$(OBJDIR)/%.obj:        $(HELPERDIR)/%.cpp
    119         $(COMPILE) 
     119        $(COMPILE)
    120120
    121121$(HELPERDIR)/%.obj:     ./helper/%.cpp $(INC)\mediafolder.hh
    122122        $(COMPILE)
    123123
    124 mediafolder.dll:        $(OBJECTS) progfolder\progfolder.def $(INC)\mediafolderres.h ./res/mediafolder.res
     124mediafld.dll:   $(OBJECTS) progfolder\progfolder.def $(INC)\mediafolderres.h ./res/mediafolder.res
    125125                -cd ../. && make bld
    126126                @create_mfldr_def.CMD mediafolder.DEF
    127127                implib /NOLOGO lib\progfldr.lib progfolder\progfolder.def
    128                 icc -Ge- /Q+ /D$(ECS) /FM $(OBJECTS) lib\progfldr.lib $(LIBS) mediafolder.def
    129                 rc ./res/mediafolder.res $@ 
    130                 MAPSYM mediafolder
    131 
    132 mediafolder_en.dll:     
    133                 -cd ./res && make
    134 
    135 mediafolder_de.dll:
    136                 -cd ./res && make
    137 
    138 mediafolder_nl.dll:
    139                 -cd ./res && make
    140 
    141 mediafolder_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
     132mfldr_en.dll:   
     133                -cd ./res && make
     134
     135mfldr_de.dll:
     136                -cd ./res && make
     137
     138mfldr_nl.dll:
     139                -cd ./res && make
     140
     141mfldr_it.dll:
    142142                -cd ./res && make
    143143
     
    210210        -mkdir ..\..\$(PKGNAME)-$(VERSION)-ger\CWMFldr-$(VERSION)-ger\FreeDB\logfiles
    211211        -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
    213213        cp bin/*.cmd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/
    214214        cp bin/*.rx ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/
    215215        cp bin/*.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/dll/
    216216        cp ./c/createcd/createcd.exe  ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/
    217         cp ./mediafolder.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mediafld.dll
    218         cp ./res/obj/mediafolder_de.dll ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mfldr_de.dll
     217        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
    219219        cp ./help/mediafldr049.hlp ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin/mediafld.hlp
    220220        cp ./install/MFLDRGER.ins  ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/MFLDRGER.INS
     
    242242        -mkdir ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\FreeDB\logfiles
    243243        -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
    245245        cp bin/*.cmd ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/
    246246        cp bin/*.rx ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/
    247247        cp bin/*.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/dll/
    248248        cp ./c/createcd/createcd.exe  ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/
    249         cp ./mediafolder.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll
    250         cp ./res/obj/mediafolder_en.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mfldr_en.dll
     249        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
    251251        cp ./help/mediafldr.hlp ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.hlp
    252252        cp ./install/MEDIAFLD.ins  ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/MEDIAFLD.INS
     
    269269        -mkdir ..\..\$(PKGNAME)-$(VERSION)-eng\CWMFldr-$(VERSION)-eng\FreeDB\logfiles
    270270        -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
    272272        -cp doc/Readme.eng ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/
    273273        -cp doc/FILE_ID.DIZ ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/
     
    278278        -cp Skripte_eng/* ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/Skripte/
    279279        -cp ./help/mediafldr.hlp ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.hlp
    280         -cp ./mediafolder.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll
     280        -cp ./mediafld.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll
    281281        -cp ./mediafolder001.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/media001.dll
    282282        -cp ./install/MEDIAFLD.INS  ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/
     
    303303        -mkdir ..\..\$(ECSBASE)-eng\FreeDB\logfiles
    304304        -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
    306306        -cp bin/*.cmd ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/
    307307        -cp bin/*.rx ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/
    308308        -cp bin/progfldr.dll ../../$(ECSBASE)-eng/dll/
    309309        -cp ./help/mediafldr.hlp ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/mediafld.hlp
    310         -cp ./mediafolder.dll ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/mediafld.dll
     310        -cp ./mediafld.dll ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/mediafld.dll
    311311        -cp ./mediafolder001.dll ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin/media001.dll
    312312        -cp ./install/createcd.exe  ../../$(ECSBASE)-eng/$(ECSMFLDRDIR)/bin
  • trunk/mediafolder/prog_tutorial/hiddenfeatures.inc

    r4 r104  
    1212:p.
    1313Even if a new program isn't specified in the INI file the classes improve the default
    14 behaviour by not starting the player as part of the WPS process. So if the player crashes
    15 the WPS doesn't crash anymore .
     14behavior by not starting the player as part of the WPS process. So if the player crashes
     15the WPS doesn't crash anymore.
    1616
    1717
     
    3030:p.
    3131Even if a new program isn't specified in the INI file the classes improve the default
    32 behaviour by not starting the editor as part of the WPS process. So if the editor crashes
     32behavior by not starting the editor as part of the WPS process. So if the editor crashes
    3333the WPS doesn't crash anymore.
    3434
     
    4747:p.
    4848Even if a new program isn't specified in the INI file the classes improve the default
    49 behaviour by not starting the player as part of the WPS process. So if the player crashes
    50 the WPS doesn't crash anymore .
     49behavior by not starting the player as part of the WPS process. So if the player crashes
     50the WPS doesn't crash anymore.
    5151
    5252
     
    6464:p.
    6565Even if a new program isn't specified in the INI file the classes improve the default
    66 behaviour by not starting the player as part of the WPS process. So if the player crashes
    67 the WPS doesn't crash anymore .
     66behavior by not starting the player as part of the WPS process. So if the player crashes
     67the WPS doesn't crash anymore.
    6868
    6969
     
    8181:p.
    8282Even if a new program isn't specified in the INI file the classes improve the default
    83 behaviour by not starting the player as part of the WPS process. So if the default player crashes
     83behavior by not starting the player as part of the WPS process. So if the default player crashes
    8484the WPS doesn't crash, too.
    8585
     
    108108:ent.
    109109:p.
    110 Default behaviour 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 MP3 player.
     110Default behavior is to create a new Media folder and fill it with the tracks specified in the
     111M3U file. Using this setting it's possible to use another M3U player.
    112112
    113113
     
    126126:p.
    127127Even if a new program isn't specified in the INI file the classes improve the default
    128 behaviour by not starting the editor as part of the WPS process. So if the editor crashes
    129 the WPS doesn't crash anymore. 
     128behavior by not starting the editor as part of the WPS process. So if the editor crashes
     129the WPS doesn't crash anymore.
    130130
    131131
  • trunk/mediafolder/prog_tutorial/mediafldrprog.ipf

    r4 r104  
    33:docprof.
    44
    5 :title.Programming tutorial for Multimedia classes 
     5:title.Programming tutorial for Multimedia classes
    66
    77:h1 res=100.Introduction
     
    1313For use of the REXX interface
    1414: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.
     15WPS-Wizard V0.2.0 (http&colon.//www.os2world.com/cdwriting)
     16:p.
     17or above must be installed.
    2118
    2219:h1 res=200
     
    2926:li.:link reftype=hd res=211.MEDIAFLDRPLAY:elink.   Start playing
    3027:li.:link reftype=hd res=215.MEDIAFLDRPLAYFIRST:elink.   Start first track
    31 :li.:link reftype=hd res=212.MEDIAFLDRPREV:elink.   Skip to previus track
    32 :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
    3330:li.:link reftype=hd res=213.MEDIAFLDRSTOP:elink.   Stop playing
    3431:li.:link reftype=hd res=214.MEDIAFLDRVOLUME:elink. Set volume
     
    146143:p.
    147144Set the track name of the audio file. This information is saved in the EA of the file. For
    148 MP3 files this information id also saved in the ID3 tag.
     145MP3 files this information is also saved in the ID3 tag.
    149146:xmp.
    150147/* REXX - This command adds the track name to the audio file */
     
    225222Reread the audio information from the file and update internal object data.
    226223:xmp.
    227 /* REXX - This command adds the genre of the audio file */
     224/* REXX - This command rereads the information of the audio file */
    228225
    229226rc=SysSetObjectData('x&colon.\path_to_folder\audio_file.ext','MMREFRESH=1')
     
    234231group=2
    235232.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
     234Read 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 */
    240238
    241239rc=SysSetObjectData('x&colon.\path_to_folder\audio_file.ext','MMAUDIOCOPYTAGTO=x&colon.\path_to_folder\another_file.ext')
     
    311309param2         /* Second method parameter */
    312310:p.
    313 rc=MFldrCallFunc(methodName, Object, 
     311rc=MFldrCallFunc(methodName, Object,
    314312                 param1, param2, ...);
    315313:exmp.
     
    421419param2         /* Second method parameter */
    422420:p.
    423 rc=MMCallFunc(methodName, Object, 
     421rc=MMCallFunc(methodName, Object,
    424422                 param1, param2, ...);
    425423:exmp.
     
    517515:li.:link reftype=hd res=420.Disable audio file checking:elink.
    518516: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.
    520519:eul.
    521520
  • trunk/mediafolder/prog_tutorial/newmethods.inc

    r2 r104  
    121121.cwPauseAudioFile - Remarks
    122122:p.
    123 The frame handle of the media folder is given to the skript as a parameter
     123The frame handle of the media folder is given to the script as a parameter
    124124when started.
    125125
     
    177177.cwPlayAudioFile - Remarks
    178178:p.
    179 The frame handle of the media folder is given to the skript as a parameter
     179The frame handle of the media folder is given to the script as a parameter
    180180when started. The flag parameter may have one of the following values.
    181181
     
    292292.cwSetStatusLineText - Remarks
    293293:p.
    294 If the text parameter is 0 the folder shows it's standard
     294If the text parameter is 0 the folder shows its standard
    295295status line text.
    296296
     
    348348.cwStopAudioFile - Remarks
    349349:p.
    350 The frame handle of the media folder is given to the skript as a parameter
     350The frame handle of the media folder is given to the script as a parameter
    351351when started.
    352352
     
    407407.cwmmQueryTrackInfo - Remarks
    408408:p.
    409 The object must be an instance of :hp2.CWAudio:ehp2. or of one of it's
     409The object must be an instance of :hp2.CWAudio:ehp2. or of one of its
    410410subclasses (:hp2.CWMP3:ehp2., :hp2.MMWAV:ehp2....). This method was introduced
    411411by :hp2.CWAudio:ehp2.. Since V0.2.5 of the classes the class names are :hp2.MMAudio:ehp2.
     
    446446:li.IDINFO_BITRATE           11
    447447.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.
     448Bitrate in KB per second (numeric value). This flag is only valid for instances
     449of class MMMP3 and MMOGG. For other classes the return value is undefined. New
     450with V0.2.7.
    450451:eul.
    451452
     
    524525:pd.Image format.
    525526:eparml.
    526 :pt.:hp2.info:ehp2. (numeric)
    527 :pd.The queried information as a string.
    528527:eparml.
    529528
    530 
    531 
    532 
    533 
  • trunk/mediafolder/res/de/about_de.dlg

    r2 r104  
    66DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
    77BEGIN
    8     DIALOG  "Information", IDDLG_ABOUT, 115, 69, 208, 132, WS_VISIBLE, 
     8    DIALOG  "Information", IDDLG_ABOUT, 115, 69, 208, 132, WS_VISIBLE,
    99            FCF_TITLEBAR
    1010    BEGIN
    1111        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,
    1313                        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,
    1715                        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 |
    2020                        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
    2423                        PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    2524        DEFPUSHBUTTON   "~Ok", DID_OK, 83, 3, 40, 14
    26         CTEXT           "http://www.os2world.com/cdwriting", IDST_URL2, 10,
    27                         30, 186, 16, DT_WORDBREAK
    28                         PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    2925    END
    3026END
  • trunk/mediafolder/res/de/about_ecs_de.dlg

    r2 r104  
    77DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
    88BEGIN
    9     DIALOG  "Produktinformation", IDDLG_ABOUT, 110, 125, 184, 58, 
     9    DIALOG  "Produktinformation", IDDLG_ABOUT, 110, 125, 184, 58,
    1010            WS_VISIBLE, FCF_TITLEBAR
    1111    BEGIN
    12         ICON            IDICON_FOLDER1, IDICON_FOLDER1, 5, 33, 16, 15, 
     12        ICON            IDICON_FOLDER1, IDICON_FOLDER1, 5, 33, 16, 15,
    1313                        WS_GROUP
    14         LTEXT           "Multimedia-Integration fr die Arbeitsoberfl„che", 
    15                         IDST_PRODNAME, 28, 44, 154, 10, DT_VCENTER | NOT 
     14        LTEXT           "Multimedia-Integration fr die Arbeitsoberfl„che",
     15                        IDST_PRODNAME, 28, 44, 154, 10, DT_VCENTER | NOT
    1616                        WS_GROUP
    1717                        PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans Bold"
    1818        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,
    2020                        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_VCENTER
    2421                        PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"
    2522        DEFPUSHBUTTON   "~Ok", IDSTR_CLOSETEXT, 28, 3, 30, 11
  • trunk/mediafolder/res/de/create_res_de_def.CMD

    r2 r104  
    5252def=def||'0d'x||'0a'x
    5353
    54 def=def||"LIBRARY MFLDR_DE INITGLOBAL"||'0d'x||'0a'x
     54def=def||"LIBRARY MFLDR_DE INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
    5555def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth "
    5656def=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
     57def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x
    6058def=def||"EXPORTS  "||'0d'x||'0a'x
    6159def=def||"        queryLanguage"||'0d'x||'0a'x
  • trunk/mediafolder/res/en/about_ecs_en.dlg

    r70 r104  
    77DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
    88BEGIN
    9     DIALOG  "Product Information", IDDLG_ABOUT, 100, 120, 194, 67, 
     9    DIALOG  "Product Information", IDDLG_ABOUT, 100, 120, 194, 67,
    1010            WS_VISIBLE, FCF_TITLEBAR
    1111    BEGIN
    1212        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
    1515                        WS_GROUP
    1616                        PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans Bold"
    1717        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
    2020                        WS_GROUP
    21         //                PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"
    22         //LTEXT           "Licensed to Serenity Systems", 608, 38, 19, 154, 9
    2321                        PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"
    2422        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" \
    22MFLDR_VERSION \
    33BUILD_STRING
     
    55DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
    66BEGIN
    7     DIALOG  "Product Information", IDDLG_ABOUT, 115, 69, 208, 132, 
     7    DIALOG  "Product Information", IDDLG_ABOUT, 115, 69, 208, 132,
    88            WS_VISIBLE, FCF_TITLEBAR
    99    BEGIN
    1010        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,
    1312                        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
    1617        CTEXT           "Graphics by Klaus Staedtler-Przyborski",
    17                         IDST_PRODGRAPHICS, 10, 64, 186, 17, DT_WORDBREAK |
     18                        IDST_PRODGRAPHICS, 10, 46, 186, 17, DT_WORDBREAK |
    1819                        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
    2522                        PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    2623        DEFPUSHBUTTON   "~Ok", DID_OK, 83, 3, 40, 14
    2724    END
    2825END
    29 
    30 
  • trunk/mediafolder/res/en/create_res_en_def.CMD

    r2 r104  
    5353def=def||'0d'x||'0a'x
    5454
    55 def=def||"LIBRARY MFLDR_EN INITGLOBAL"||'0d'x||'0a'x
     55def=def||"LIBRARY MFLDR_EN INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
    5656def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth "
    5757def=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
     58def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x
    6159def=def||"EXPORTS  "||'0d'x||'0a'x
    6260def=def||"        queryLanguage"||'0d'x||'0a'x
  • trunk/mediafolder/res/en/mediafolder_en.dlg

    r2 r104  
    4141        GROUPBOX        "Toolbar", IDGB_TOOLBAR, 9, 24, 181, 127, NOT
    4242                        WS_GROUP
    43         AUTOCHECKBOX    "~Enable fly over help", IDCB_ENABLETBFLYOVER, 16,
     43        AUTOCHECKBOX    "~Enable fly-over help", IDCB_ENABLETBFLYOVER, 16,
    4444                        129, 152, 10
    4545        SPINBUTTON      IDSB_TBFLYOVERDELAY, 97, 115, 40, 12,
    4646                        SPBS_NUMERICONLY | SPBS_MASTER | SPBS_FASTSPIN |
    4747                        WS_GROUP
    48         GROUPBOX        "Fly over colours and font", IDGB_COLORANDFONT, 15,
     48        GROUPBOX        "Fly-over colors and font", IDGB_COLORANDFONT, 15,
    4949                        30, 168, 76, NOT WS_GROUP
    50         LTEXT           "Klick button for colour- or fontpalette.           "
     50        LTEXT           "Click button for color or font palette.           "
    5151                        "             
    52 Press <CTRL> during drag 'n drop to change the text colour.",
     52Hold <Ctrl> during drag'n'drop to change the text color.",
    5353                        IDST_TEXTDEMOFIELD, 23, 35, 95, 57, DT_WORDBREAK
    5454                        PRESPARAMS PP_FOREGROUNDCOLOR, 0x000000FFL
    5555                        PRESPARAMS PP_BACKGROUNDCOLOR, 0x00FFFFFFL
    56         PUSHBUTTON      "~Colour...", IDPB_COLORPALETTE, 129, 72, 45, 14
     56        PUSHBUTTON      "~Color...", IDPB_COLORPALETTE, 129, 72, 45, 14
    5757        PUSHBUTTON      "~Font...", IDPB_FONTPALETTE, 129, 49, 45, 14
    5858        PUSHBUTTON      "~Undo", IDPB_COLORUNDO, 16, 7, 52, 14
     
    100100    END
    101101END
    102 
    103 
  • trunk/mediafolder/res/en/mediafolder_en.rc

    r4 r104  
    1515BEGIN
    1616   MENUITEM  "" , ID_MENUSEPARATOR, MIS_SEPARATOR
    17    MENUITEM "~Product Information",ID_ABOUTITEM   
     17   MENUITEM "~Product Information",ID_ABOUTITEM
    1818END
    1919#else
     
    2121BEGIN
    2222   MENUITEM  "" , ID_MENUSEPARATOR, MIS_SEPARATOR
    23    MENUITEM "~Media Folder Information",ID_ABOUTITEM   
     23   MENUITEM "~Media Folder Information",ID_ABOUTITEM
    2424END
    2525#endif
     
    4545BEGIN
    4646        MENUITEM "~Save"   ,            ID_MENUITEMSAVE
    47         MENUITEM ""           ,                 ID_MENUSEPARATOR, MIS_SEPARATOR               
     47        MENUITEM ""           ,                 ID_MENUSEPARATOR, MIS_SEPARATOR
    4848        MENUITEM "~Exit" ,                      ID_MENUITEMEXIT
    4949END
     
    5353BEGIN
    5454IDSTR_CLOSETITLE "Confirmation"
    55 IDSTR_CLOSETEXT  "There's currently a song playing. Do you really want to stop playing and close the player?"
     55IDSTR_CLOSETEXT  "There's currently an audio file playing. Do you really want to stop playing and close the player?"
    5656IDSTRSETTING_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."
     57IDSTRS_NOFONTPALETTE          "Can't open the font palette. It may have lost its ID. Check your INI files."
     58IDSTRS_NOCOLORPALETTE         "Can't open the color palette. It may have lost its ID. Check your INI files."
    5959IDSTRS_MEDIAFLDRSETTINGS   "Media-Folder setup"
    6060#ifdef ECS
  • trunk/mediafolder/res/it/create_res_it_def.CMD

    r2 r104  
    5353def=def||'0d'x||'0a'x
    5454
    55 def=def||"LIBRARY MFLDR_IT INITGLOBAL"||'0d'x||'0a'x
     55def=def||"LIBRARY MFLDR_IT INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
    5656def=def||"DESCRIPTION '$@#(C) Gabriele Gamba "
    5757def=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
     58def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x
    6159def=def||"EXPORTS  "||'0d'x||'0a'x
    6260def=def||"        queryLanguage"||'0d'x||'0a'x
  • trunk/mediafolder/res/it/mediafolder_it.rc

    r4 r104  
    7878
    7979#ifdef ECS
    80 rcinclude "about_ecs_en.dlg"
     80rcinclude "about_ecs_it.dlg"
    8181#else
    82 rcinclude "about_en.dlg"
     82rcinclude "about_it.dlg"
    8383#endif
    8484
  • trunk/mediafolder/res/makefile

    r53 r104  
    55
    66CC           = icc
    7 CPPFLAGS     = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
    8 INC     =       ..\include
     7CPPFLAGS     = /Ge- /Gm+ /G4 /Gl- /Ga- /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
     8INC     =       ..\\include
    99INC2    =       ../include
    10 DEFS         = 
    11 PROGS        = 
     10DEFS         =
     11PROGS        =
    1212
    1313OBJDIR  =       ./obj
     
    1515HELPSOURCE      =       $(RESDIR2)/ipf
    1616
    17 OBJECTS = 
     17OBJECTS =
    1818
    1919all:            $(OBJDIR)/version.h \
     
    2525                @for i in $(LANGUAGES); \
    2626                do \
    27                         echo "[33;1;m Creating mediafolder_"$$i".dll[0;m";  \
    28                         make LANGUAGE=$$i $(OBJDIR)/mediafolder_$$i.dll ; \
     27                        echo "[33;1;m Creating mfldr_"$$i".dll[0;m";  \
     28                        make LANGUAGE=$$i $(OBJDIR)/mfldr_$$i.dll ; \
    2929                done
    3030
     
    3535
    3636#### Resource DLL ####
    37 $(OBJDIR)/mediafolder_$(LANGUAGE).dll:  ./$(LANGUAGE)/mediafolder_$(LANGUAGE).c \
     37$(OBJDIR)/mfldr_$(LANGUAGE).dll:        ./$(LANGUAGE)/mediafolder_$(LANGUAGE).c \
    3838                                                $(OBJDIR)/mediafolder_$(LANGUAGE).res
    3939                @./$(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 $<
    4141                icc $(CPPFLAGS) -I$(INC) /Fe$@  $(OBJDIR)/mediafolder_$(LANGUAGE).obj ./obj/mediafolder_$(LANGUAGE).def
    42                 cd $(OBJDIR) && rc  mediafolder_$(LANGUAGE).res mediafolder_$(LANGUAGE).dll
     42                cd $(OBJDIR) && rc  mediafolder_$(LANGUAGE).res mfldr_$(LANGUAGE).dll
    4343       
    4444$(OBJDIR)/mediafolder_$(LANGUAGE).res:  ./$(LANGUAGE)/mediafolder_$(LANGUAGE).rc \
     
    5252
    5353mediafolder.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
    5555
    5656clean:
  • trunk/mediafolder/res/nl/about_ecs_nl.dlg

    r2 r104  
    77DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
    88BEGIN
    9     DIALOG  "Produkt Information", IDDLG_ABOUT, 100, 120, 194, 67, 
     9    DIALOG  "Produkt Information", IDDLG_ABOUT, 100, 120, 194, 67,
    1010            WS_VISIBLE, FCF_TITLEBAR
    1111    BEGIN
    1212        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
    1515                        WS_GROUP
    1616                        PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans Bold"
    1717        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
    2020                        WS_GROUP
    21                         PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"
    22         LTEXT           "Licensed to Serenity Systems", 608, 38, 19, 154, 9
    2321                        PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans"
    2422        DEFPUSHBUTTON   "~Ok", IDSTR_CLOSETEXT, 38, 2, 34, 13
  • trunk/mediafolder/res/nl/about_nl.dlg

    r2 r104  
    55DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
    66BEGIN
    7     DIALOG  "Produkt informatie", IDDLG_ABOUT, 115, 69, 208, 132, 
     7    DIALOG  "Produkt informatie", IDDLG_ABOUT, 115, 69, 208, 132,
    88            WS_VISIBLE, FCF_TITLEBAR
    99    BEGIN
    1010        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,
    1312                        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,
    1514                        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 |
    1819                        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
    2522                        PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    2623        DEFPUSHBUTTON   "~Ok", DID_OK, 83, 3, 40, 14
  • trunk/mediafolder/res/nl/create_res_nl_def.CMD

    r2 r104  
    5353def=def||'0d'x||'0a'x
    5454
    55 def=def||"LIBRARY MFLDR_NL INITGLOBAL"||'0d'x||'0a'x
     55def=def||"LIBRARY MFLDR_NL INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
    5656def=def||"DESCRIPTION '$@#(C) B. van Leeuwen "
    5757def=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
     58def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x
    6159def=def||"EXPORTS  "||'0d'x||'0a'x
    6260def=def||"        queryLanguage"||'0d'x||'0a'x
  • trunk/mediafolder/res/tw/create_res_tw_def.CMD

    r4 r104  
    5353def=def||'0d'x||'0a'x
    5454
    55 def=def||"LIBRARY MFLDR_tw INITGLOBAL"||'0d'x||'0a'x
     55def=def||"LIBRARY MFLDR_tw INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
    5656def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth "
    5757def=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
     58def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x
    6159def=def||"EXPORTS  "||'0d'x||'0a'x
    6260def=def||"        queryLanguage"||'0d'x||'0a'x
  • trunk/mediafolder/res/tw/mediafolder_tw.dlg

    r4 r104  
    77DLGTEMPLATE IDDLG_BOTTOMFRAME LOADONCALL MOVEABLE DISCARDABLE
    88BEGIN
    9     DIALOG  "", IDDLG_BOTTOMFRAME, 12, 70, 300, 16, NOT FS_DLGBORDER | NOT 
     9    DIALOG  "", IDDLG_BOTTOMFRAME, 12, 70, 300, 16, NOT FS_DLGBORDER | NOT
    1010            WS_SAVEBITS
    1111    BEGIN
     
    1616DLGTEMPLATE IDDLG_FRAMERIGHT LOADONCALL MOVEABLE DISCARDABLE
    1717BEGIN
    18     DIALOG  "", IDDLG_FRAMERIGHT, 134, 21, 24, 109, NOT FS_DLGBORDER | NOT 
     18    DIALOG  "", IDDLG_FRAMERIGHT, 134, 21, 24, 109, NOT FS_DLGBORDER | NOT
    1919            WS_SAVEBITS
    2020    BEGIN
     
    2424DLGTEMPLATE IDDLG_LEFTFRAME LOADONCALL MOVEABLE DISCARDABLE
    2525BEGIN
    26     DIALOG  "", IDDLG_LEFTFRAME, 12, 6, 148, 148, NOT FS_DLGBORDER | NOT 
     26    DIALOG  "", IDDLG_LEFTFRAME, 12, 6, 148, 148, NOT FS_DLGBORDER | NOT
    2727            WS_SAVEBITS
    2828    BEGIN
    29         CONTAINER       IDCNR_PLAYLIST, 14, 11, 123, 111, CCS_SINGLESEL | 
     29        CONTAINER       IDCNR_PLAYLIST, 14, 11, 123, 111, CCS_SINGLESEL |
    3030                        CCS_AUTOPOSITION | CCS_MINIRECORDCORE | WS_GROUP
    3131        PUSHBUTTON      "Add", IDPB_ADD, 8, 129, 40, 14
     
    3636DLGTEMPLATE IDDLG_TOOLBARSETTINGS LOADONCALL MOVEABLE DISCARDABLE
    3737BEGIN
    38     DIALOG  "", IDDLG_TOOLBARSETTINGS, 91, 22, 201, 199, NOT FS_DLGBORDER | 
     38    DIALOG  "", IDDLG_TOOLBARSETTINGS, 91, 22, 201, 199, NOT FS_DLGBORDER |
    3939            WS_VISIBLE
    4040    BEGIN
    41         GROUPBOX        "€ušãŠC", IDGB_TOOLBAR, 9, 24, 181, 127, NOT 
     41        GROUPBOX        "€ušãŠC", IDGB_TOOLBAR, 9, 24, 181, 127, NOT
    4242                        WS_GROUP
    43         AUTOCHECKBOX    "±Ò¥Î§Y®ÉžÑ»¡(~E)", IDCB_ENABLETBFLYOVER, 16, 
     43        AUTOCHECKBOX    "±Ò¥Î§Y®ÉžÑ»¡(~E)", IDCB_ENABLETBFLYOVER, 16,
    4444                        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 |
    4747                        WS_GROUP
    48         GROUPBOX        "§Y®ÉÃCŠâ€ÎŠr«¬", IDGB_COLORANDFONT, 15, 
     48        GROUPBOX        "§Y®ÉÃCŠâ€ÎŠr«¬", IDGB_COLORANDFONT, 15,
    4949                        30, 168, 76, NOT WS_GROUP
    5050        LTEXT           "ÃCŠâ©ÎŠrÅé¿ï¥Î°ÏªºÂIÀ»«ö¶s¡C"
    51                         "©ì©ñ®É«öŠí <CTRL> ¥i¥H§ïÅÜŠrÅéÃCŠâ¡C", 
     51                        "©ì©ñ®É«öŠí <CTRL> ¥i¥H§ïÅÜŠrÅéÃCŠâ¡C",
    5252                        IDST_TEXTDEMOFIELD, 23, 35, 95, 57, DT_WORDBREAK
    5353                        PRESPARAMS PP_FOREGROUNDCOLOR, 0x000000FFL
     
    5858        PUSHBUTTON      "¹w³]­È(~D)", IDPB_COLORSTANDARD, 74, 7, 52, 14
    5959        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,
    6161                        DT_VCENTER
    6262    END
     
    6565DLGTEMPLATE IDDLG_TOPFRAME LOADONCALL MOVEABLE DISCARDABLE
    6666BEGIN
    67     DIALOG  "", IDDLG_TOPFRAME, 13, 52, 287, 26, NOT FS_DLGBORDER | 
     67    DIALOG  "", IDDLG_TOPFRAME, 13, 52, 287, 26, NOT FS_DLGBORDER |
    6868            FS_BORDER | NOT WS_SAVEBITS
    6969    BEGIN
     
    7474DLGTEMPLATE IDDLG_TOPMIDDLE LOADONCALL MOVEABLE DISCARDABLE
    7575BEGIN
    76     DIALOG  "", IDDLG_TOPMIDDLE, 12, 51, 249, 39, NOT FS_DLGBORDER | 
     76    DIALOG  "", IDDLG_TOPMIDDLE, 12, 51, 249, 39, NOT FS_DLGBORDER |
    7777            FS_BORDER | WS_VISIBLE | NOT WS_SAVEBITS
    7878    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 |
    8181                        WS_VISIBLE
    82         CONTROL         "°±€î(~S)", IDPB_STOP, 40, 25, 22, 14, WC_BUTTON, 
     82        CONTROL         "°±€î(~S)", IDPB_STOP, 40, 25, 22, 14, WC_BUTTON,
    8383                        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,
    8785                        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,
    8989                        BS_USERBUTTON | BS_NOPOINTERFOCUS | WS_VISIBLE
    9090        AUTOCHECKBOX    "­«ÂÐ(~R)", IDCB_REPEAT, 133, 13, 73, 10,WS_VISIBLE|BS_USERBUTTON | BS_AUTOCHECKBOX
     
    9393        CTEXT           "0:00", IDST_PLAYTIME, 133, 24, 102, 10, DT_VCENTER
    9494                        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,
    9696                        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,
    9898                        BS_NOPOINTERFOCUS | NOT WS_TABSTOP | NOT WS_VISIBLE |BS_USERBUTTON
    9999    END
     
    106106DLGTEMPLATE IDDLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
    107107BEGIN
    108     DIALOG  "²£«~žê°T", IDDLG_ABOUT, 115, 69, 208, 132, 
     108    DIALOG  "²£«~žê°T", IDDLG_ABOUT, 115, 69, 208, 132,
    109109            WS_VISIBLE, FCF_TITLEBAR
    110110    BEGIN
    111111        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,
    114113                        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,
    116115                        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 |
    119120                        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
    123123                        PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    124124        DEFPUSHBUTTON   "~Ok", DID_OK, 83, 3, 40, 14
    125         CTEXT           "http://www.os2world.com/cdwriting", IDST_URL2, 10,
    126                         30, 186, 16, DT_WORDBREAK
    127                         PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    128125    END
    129126END
Note: See TracChangeset for help on using the changeset viewer.