Changeset 3
- Timestamp:
- Jul 13, 2017, 4:16:49 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.inc
r2 r3 1 BUILD_STRING = -Build 20 1 21/03/051 BUILD_STRING = -Build 205 24/03/05 -
trunk/changes-0_2_9.txt
r2 r3 5 5 -Help for audio stream class. 6 6 -Close confirmation dialog of media folder is now modal to the folder 7 -Audio information for shadows in media folders wasn't shown when linked object wasn't touched first. 8 -Mediafolder refresh triggers new time calculation. 9 -Stop menu item of audio stream objects didn't work. 7 10 8 11 0.2.8: -
trunk/classes/REPLACE.CMD
r2 r3 1 1 /* rexx - replace DLL */ 2 2 3 3 'replace H:\cwmm\classes\cwmm.dll D:\MMOS2\MMCLASS\CWMM.DLL' 4 'replace H:\cwmm\classes\Res\dll\mmres_DE.dll d:\MMOS2\MMCLASS\bin\mmres_DE.dll' 5 'replace H:\cwmm\classes\Res\dll\mmres_EN.dll d:\MMOS2\MMCLASS\bin\mmres_EN.dll' 4 6 5 7 'replace H:\cwmm\classes\cwmm.dll J:\MMOS2\CWMM\CWMM.DLL' -
trunk/classes/c/c_audio/cwastream.c
r2 r3 129 129 OPENPARAMS * pParams; 130 130 131 pParams=PVOIDFROMMP(mp2);/* Get parameter block */ 132 if(!pParams) 133 { 134 WinPostMsg(hwnd,WM_QUIT,0,0); 135 return MRFALSE; 136 } 137 138 WinSetWindowULong(hwnd, QWL_USER, (ULONG)pParams); 139 thisPtr=pParams->wpObject; 131 /* Depending on mp1 the parameter in mp2 is either a pointer 132 to OPENPARAMS (mp1==ACKEY_START) or the object pointer (mp1==ACK_STOP) */ 133 if(ACKEY_START==LONGFROMMP(mp1)) { 134 pParams=PVOIDFROMMP(mp2);/* Get parameter block */ 135 if(!pParams) 136 { 137 WinPostMsg(hwnd,WM_QUIT,0,0); 138 return MRFALSE; 139 } 140 WinSetWindowULong(hwnd, QWL_USER, (ULONG)pParams); 141 thisPtr=pParams->wpObject; 142 } 143 else 144 thisPtr=(MMAudio*)PVOIDFROMMP(mp2); 140 145 141 146 if(somIsObj(thisPtr)) { … … 169 174 _cwmmSetRecordTitles(thisPtr, "Can't connect to server!", TRUE); 170 175 WinStartTimer(WinQueryAnchorBlock(hwnd), hwnd, 2, 4000); 171 /* WinPostMsg(hwnd,WM_QUIT,0,0);*/172 176 return MRFALSE; 173 177 } … … 202 206 203 207 WinStopTimer(WinQueryAnchorBlock(hwnd),hwnd,1 ); 204 208 205 209 sprintf(chrCommand,"stop wave%d wait", thisPtr); 206 210 mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0); … … 276 280 } 277 281 282 278 283 MRESULT EXPENTRY streamUrlDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 279 284 { … … 288 293 WinSetWindowULong(WinWindowFromID(hwnd,IDEF_URL), 289 294 QWL_USER,(ULONG)cwAudioStream);//Save object ptr. 290 295 291 296 WinSendMsg(WinWindowFromID(hwnd,IDEF_URL),EM_SETTEXTLIMIT,MPFROMSHORT((SHORT)sizeof(chrURL)),0); 292 297 -
trunk/classes/c/c_audio/cwaudio.c
r2 r3 3494 3494 BOOL bContinue=FALSE; 3495 3495 MMAudio *somSelf=(MMAudio*)mp1; 3496 WPObject *pLinkObj=NULLHANDLE; 3496 3497 MMAudioData *somThis= MMAudioGetData(somSelf); 3497 3498 ULONG ulLoop; … … 3534 3535 3535 3536 Check if parent folder is closed. If yes, don't start file scanning. 3537 3538 @@CHANGE 0.2.9 3539 3540 Check if we have a shadow in an open folder. 3541 3536 3542 */ 3543 3537 3544 wpFolder=_wpQueryFolder(somSelf); 3538 3545 if(somIsObj(wpFolder)) { 3539 if(!_wpFindViewItem(wpFolder , VIEW_ANY, NULLHANDLE)) 3540 break; 3541 } 3542 3546 if(!_wpFindViewItem(wpFolder , VIEW_ANY, NULLHANDLE)) { 3547 PUSEITEM pUseItem; 3548 BOOL fOpenView=FALSE; 3549 /* Ok, our object isn't in an open folder, but we may have a shadow somewhere in an 3550 open folder. */ 3551 for(pUseItem=_wpFindUseItem(somSelf, USAGE_LINK, NULL);pUseItem; 3552 pUseItem=_wpFindUseItem(somSelf, USAGE_LINK, pUseItem)) 3553 { 3554 PLINKITEM pLI=(PLINKITEM)++pUseItem; 3555 pLinkObj=pLI->LinkObj; /* The awake shadow */ 3556 3557 if(somIsObj(pLinkObj)) { 3558 wpFolder=_wpQueryFolder(pLinkObj); 3559 if(somIsObj(wpFolder)) { 3560 if(_wpFindViewItem(wpFolder , VIEW_ANY, NULLHANDLE)) { 3561 fOpenView=TRUE; 3562 break; 3563 } 3564 }/* somIsObj(wpFolder) */ 3565 } 3566 }/* for() */ 3567 if(!fOpenView) 3568 break; 3569 } 3570 } 3571 3543 3572 /* Get file name */ 3544 3573 ulSize=sizeof(fName); … … 3830 3859 if(ulLoop<20) 3831 3860 _wpSaveDeferred(somSelf); 3861 /* Now we have the audio info */ 3832 3862 _wpCnrRefreshDetails(somSelf); 3833 3863 /* 3864 @@CHANGE 0.2.9 3865 3866 Also refresh shadows in containers. For now we only support one shadow but that doesn't is a problem 3867 because after the first shadow the linked object has queried the audio data and every other shadow 3868 that will be awaked can use that info without ending here. Only problem may be the user opens a lot 3869 of folders with shadows and we are not fast enough but I don't care at the momen ;-). 3870 */ 3871 if(pLinkObj!=NULLHANDLE && somIsObj(pLinkObj)) /* The check on NULLHANDLE is very fast while somIsObj() needs 3872 quite some time. So we check for a valid object only if we 3873 can be quite sure we have an object (pointer!=NULLHANDLE). */ 3874 _wpCnrRefreshDetails(pLinkObj); 3834 3875 return (MRESULT) FALSE; 3835 3876 } -
trunk/classes/c/cwmm.DEF
r2 r3 25 25 26 26 LIBRARY CWMM INITGLOBAL 27 DESCRIPTION '$@#(C) C. Wohlgemuth 2005:0.2 #@##1## 21/03/05 23:20:28My ;-) ::::9::@@CWMM-classes V0.2.9'27 DESCRIPTION '$@#(C) C. Wohlgemuth 2005:0.2 #@##1## 11/05/05 17:35:09 My ;-) ::::9::@@CWMM-classes V0.2.9' 28 28 29 29 PROTMODE -
trunk/make.inc
r2 r3 9 9 #That's used for createcd.exe until I find a decent documentation for make to do it better... 10 10 #Also used for including the right icons 11 ECS_COMPILE = YES11 #ECS_COMPILE = YES 12 12 13 13 ifdef ECS_COMPILE -
trunk/mediafolder/c/mediafldr/mediadialogprocs.cpp
r2 r3 1698 1698 } 1699 1699 } 1700 /* Start timer which triggers time calculation */ 1701 WinStartTimer(WinQueryAnchorBlock(hwnd),hwnd, IDTIMER_STATUS, 300); 1700 /* 1701 FIXME: 1702 Start timer which triggers time calculation. The timer is rather long so the objects may 1703 awake first. This is not yet bullet proof, because if there're a lot of objects in the folder 1704 the time will be too short. */ 1705 WinStartTimer(WinQueryAnchorBlock(hwnd),hwnd, IDTIMER_STATUS, 5000); 1702 1706 return (MRESULT)FALSE; 1703 1707 } -
trunk/mediafolder/c/mediafldr/mediafolderoverridenwpmethods.cpp
r2 r3 964 964 } 965 965 966 #if 0966 //#if 0 967 967 BOOL CWMediaFolder::wpRefresh(ULONG ulView, PVOID pReserved) 968 968 { 969 969 somId mySomId; 970 971 if((mySomId=somIdFromString("wpAddSettingsPages"))!=NULLHANDLE) { 972 rc=((somTD_WPObject_wpAddSettingsPages) 970 ULONG rc; 971 972 if((mySomId=somIdFromString("wpRefresh"))!=NULLHANDLE) { 973 rc=((somTD_WPFileSystem_wpRefresh) 973 974 somParentNumResolve(__ClassObject->somGetPClsMtabs(), 974 975 1, 975 976 __ClassObject-> 976 somGetMethodToken(mySomId)) 977 )(this, hwndNotebook);977 somGetMethodToken(mySomId)) 978 )(this, ulView,pReserved); 978 979 SOMFree(mySomId); 979 980 } … … 981 982 rc=CWProgFolder::wpRefresh(ulView, pReserved); 982 983 983 } 984 #endif 984 /* Start timer which triggers time calculation */ 985 WinStartTimer(WinQueryAnchorBlock(hwndBottom),hwndBottom, IDTIMER_STATUS, 300); 986 return rc; 987 } 988 //#endif 985 989 986 990 BOOL CWMediaFolder::wpAddSettingsPages(HWND hwndNotebook) … … 988 992 ULONG rc; 989 993 somId mySomId; 990 994 991 995 if((mySomId=somIdFromString("wpAddSettingsPages"))!=NULLHANDLE) { 992 996 rc=((somTD_WPObject_wpAddSettingsPages) -
trunk/mediafolder/makefile
r2 r3 222 222 cp ./install/freedbgr.ins ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/FreeDB/ 223 223 cp Skripte_ger/* ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/Skripte/ 224 #-cd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin && lxlite *225 #-cd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/DLL && lxlite *226 #-cd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/FreeDB && lxlite *224 -cd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/bin && lxlite * 225 -cd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/DLL && lxlite * 226 -cd ../../$(PKGNAME)-$(VERSION)-ger/CWMFldr-$(VERSION)-ger/FreeDB && lxlite * 227 227 228 228 done: … … 246 246 cp ./c/createcd/createcd.exe ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/ 247 247 cp ./mediafolder.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.dll 248 cp ./res/obj/mediafolder_ de.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mfldr_en.dll248 cp ./res/obj/mediafolder_en.dll ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mfldr_en.dll 249 249 cp ./help/mediafldr.hlp ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/bin/mediafld.hlp 250 250 cp ./install/MEDIAFLD.ins ../../$(PKGNAME)-$(VERSION)-eng/CWMFldr-$(VERSION)-eng/MEDIAFLD.INS -
trunk/todo.txt
r2 r3 1 Cache Information for audio shadows so mp3 tracks from CD work in media folders. 2 1 3 Allow additional parameters for player and editor 2 4 CDFolder: Create folder script
Note:
See TracChangeset
for help on using the changeset viewer.