equal
deleted
inserted
replaced
25 #include <caf/caf.h> |
25 #include <caf/caf.h> |
26 |
26 |
27 #include "harvesteraudioplugin.h" |
27 #include "harvesteraudioplugin.h" |
28 #include "harvesteraudiopluginutils.h" |
28 #include "harvesteraudiopluginutils.h" |
29 #include "mdsutils.h" |
29 #include "mdsutils.h" |
|
30 #include "mdscommoninternal.h" |
30 |
31 |
31 #include "harvesterlog.h" |
32 #include "harvesterlog.h" |
32 |
33 |
33 const TInt KMimeLength( 10 ); |
34 const TInt KMimeLength( 10 ); |
34 const TUid KHarvesterRepoUid = { 0x200009FE }; |
35 const TUid KHarvesterRepoUid = { 0x200009FE }; |
394 TTimeIntervalSeconds timeOffsetSeconds = User::UTCOffset(); |
395 TTimeIntervalSeconds timeOffsetSeconds = User::UTCOffset(); |
395 TInt16 timeOffsetMinutes = timeOffsetSeconds.Int() / 60; |
396 TInt16 timeOffsetMinutes = timeOffsetSeconds.Int() / 60; |
396 CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iTimeOffsetPropertyDef, &timeOffsetMinutes, aIsAdd ); |
397 CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iTimeOffsetPropertyDef, &timeOffsetMinutes, aIsAdd ); |
397 |
398 |
398 if ( song.Length() > 0 |
399 if ( song.Length() > 0 |
399 && song.Length() < iMaxTextLength ) |
400 && song.Length() < KMaxTitleFieldLength ) |
400 { |
401 { |
401 CMdeObjectWrapper::HandleObjectPropertyL( mdeObject, |
402 CMdeObjectWrapper::HandleObjectPropertyL( mdeObject, |
402 *iPropDefs->iTitlePropertyDef, &song, EFalse ); |
403 *iPropDefs->iTitlePropertyDef, &song, EFalse ); |
403 } |
404 } |
404 |
405 |