[Common-cvs] include ihxmmfdatasource.h,1.2,1.3
rrajesh at helixcommunity.org rrajesh at helixcommunity.orgUpdate of /cvsroot/common/include In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv11729 Modified Files: ihxmmfdatasource.h Log Message: "Nokia submits this code under the terms of a commercial contribution > agreement with RealNetworks, and I am authorized to contribute this > code under said agreement." > > Modified by: rajesh.rathinasamy at nokia.com > > Reviewed by: > > Date: 17-May-2007 > > Project: SymbianMmf > > ErrorId: ETZG-732BAQ > > Synopsis: Detection of MMC Card removal during playback when Symbian > data source is used > > MMC card removal during playout results in read error which was not > handled. Added a new API to datasource interface similar to ferror(). > Only symbianMMf uses the data source interface now, so adding a new > interface does not have any impact on other platforms. > > Also updated the install pcf file to include meta data dll to the > video and audio controller package files. > > > Root Cause of the problem: Implementation > > Files Modified: > common/include/ihxmmfdatasource.h > common/fileio/hxdatasource.cpp > common/fileio/platform/symbian/hxdatasource_ccontent.cpp > common/fileio/platform/symbian/hxdatasource_descriptor.cpp > common/fileio/platform/symbian/hxdatasourcemmfclip.cpp > common/fileio/pub/hxdatasource.h > filesystem/local/mini/minifileobj.cpp > filesystem/local/mini/minifileobj.h > filesystem/progdown/platform/symbian/pdfileobj.cpp > clientapps/symbianMmf/audiocontroller/installMMF.pcf > clientapps/symbianMmf/videocontroller/installMMF.pcf > > > Image Size and Heap Use impact: no major impact > > Module Release testing (STIF) : Passed. > > Test case(s) Added : No. > > Memory leak check performed : Yes. No new leaks introduced. > > Platforms and Profiles Build Verified: > helix-client-s60-32-mmf-mdf-arm > > Platforms and Profiles Functionality verified: armv5,winscw > > Branch: Head & 210CayS Index: ihxmmfdatasource.h =================================================================== RCS file: /cvsroot/common/include/ihxmmfdatasource.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ihxmmfdatasource.h 20 Sep 2006 00:00:23 -0000 1.2 +++ ihxmmfdatasource.h 22 May 2007 14:52:07 -0000 1.3 @@ -122,6 +122,9 @@ INT32 &ulValue) PURE; STDMETHOD(GetSize) (THIS_ UINT32 &ulSize) PURE; + + STDMETHOD(GetLastError) (THIS_) PURE; + }; #endif // _IHXMMFDATASOURCE_H_