[Clientapps-cvs] symbianMmf/audiocontroller hxmmfaudioctrl.cpp, 1.22, 1.23
praveenkumar at helixcommunity.org praveenkumar at helixcommunity.orgUpdate of /cvsroot/clientapps/symbianMmf/audiocontroller In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv8890/audiocontroller Modified Files: hxmmfaudioctrl.cpp 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: Praveen.Thimmashetty at nokia.com Reviewed by: Date: 03-February-2008 Project: SymbianMmf ErrorId: SUB 409-795 Synopsis: CR: New Custom interface API for handling metadata update events between Engine and UI. Please find the attached design document for more information. Root Cause of the problem: New Feature Files Modified: Clientapps\symbianMmf\hxmmfmetadata.cpp Clientapps\symbianMmf\hxmmfmetadata.h Clientapps\symbianMmf\hxmmfstatectrl.cpp Clientapps\symbianMmf\hxmmfstatectrl.h Clientapps\symbianMmf\hxmmfstatectrlobs.h Clientapps\symbianMmf\audiocontroller\hxmmfaudioctrl.cpp Clientapps\symbianMmf\hxmmfbasectrl.cpp Clientapps\symbianMmf\hxmmfbasectrl.h Clientapps\symbianMmf\videocontroller\hxmmfctrlimpl.cpp Clientapps\symbianMmf\installMMF.pcf New files added: Common\system\pub\platform\symbian\MMFMetadataEventConfigConstants.h 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: hxmmfaudioctrl.cpp =================================================================== RCS file: /cvsroot/clientapps/symbianMmf/audiocontroller/hxmmfaudioctrl.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- hxmmfaudioctrl.cpp 13 Dec 2007 18:23:21 -0000 1.22 +++ hxmmfaudioctrl.cpp 8 Feb 2008 18:37:30 -0000 1.23 @@ -55,7 +55,7 @@ #include <mmf/server/MmfUrl.h> #include <mmf/common/MmfErrors.h> #include <mmfropcustomcommandconstants.h> - +#include "MMFMetadataEventConfigConstants.h" // // Helix includes @@ -469,7 +469,20 @@ break; } } - + else if ( aMessage.Destination().InterfaceId() == KUidInterfaceMMFControllerMetadataEventMsg ) + { + switch (aMessage.Function()) + { + case EMMFGetMetadataEventConfig: + status = GetMetadataEventConfig(aMessage); + break; + case EMMFSetMetadataEventConfig: + status = SetMetadataEventConfig(aMessage); + break; + default: + break; + } + } aMessage.Complete(status); }