equal
deleted
inserted
replaced
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 |