harvester/harvesterplugins/AudioPlugin/src/harvesteraudioplugin.cpp
branchRCL_3
changeset 26 9f21bab39f42
parent 19 82c0024438c8
child 27 4a4892eec172
equal deleted inserted replaced
22:ab88d4a85041 26:9f21bab39f42
    26 
    26 
    27 #include "harvestercommon.h"
    27 #include "harvestercommon.h"
    28 #include "harvesteraudioplugin.h"
    28 #include "harvesteraudioplugin.h"
    29 #include "harvesteraudiopluginutils.h"
    29 #include "harvesteraudiopluginutils.h"
    30 #include "mdsutils.h"
    30 #include "mdsutils.h"
       
    31 #include "mdscommoninternal.h"
    31 
    32 
    32 #include "harvesterlog.h"
    33 #include "harvesterlog.h"
    33 
    34 
    34 const TInt KMimeLength( 10 );
    35 const TInt KMimeLength( 10 );
    35 const TUid KHarvesterRepoUid = { 0x200009FE };
    36 const TUid KHarvesterRepoUid = { 0x200009FE };
   397     TTimeIntervalSeconds timeOffsetSeconds = User::UTCOffset();
   398     TTimeIntervalSeconds timeOffsetSeconds = User::UTCOffset();
   398     TInt16 timeOffsetMinutes = timeOffsetSeconds.Int() / 60;
   399     TInt16 timeOffsetMinutes = timeOffsetSeconds.Int() / 60;
   399     CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iTimeOffsetPropertyDef, &timeOffsetMinutes, aIsAdd );
   400     CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iTimeOffsetPropertyDef, &timeOffsetMinutes, aIsAdd );
   400 	
   401 	
   401     if ( song.Length() > 0
   402     if ( song.Length() > 0
   402         && song.Length() < iMaxTextLength )
   403         && song.Length() < KMaxTitleFieldLength )
   403         {    
   404         {    
   404         CMdeObjectWrapper::HandleObjectPropertyL( mdeObject, 
   405         CMdeObjectWrapper::HandleObjectPropertyL( mdeObject, 
   405         		*iPropDefs->iTitlePropertyDef, &song, EFalse );
   406         		*iPropDefs->iTitlePropertyDef, &song, EFalse );
   406         }
   407         }
   407 
   408