equal
deleted
inserted
replaced
158 iIap = stream.ReadInt32L(); |
158 iIap = stream.ReadInt32L(); |
159 |
159 |
160 TInt low = stream.ReadInt32L(); |
160 TInt low = stream.ReadInt32L(); |
161 TInt high = stream.ReadInt32L(); |
161 TInt high = stream.ReadInt32L(); |
162 iUpdateFeedTime = MAKE_TINT64(high, low); |
162 iUpdateFeedTime = MAKE_TINT64(high, low); |
|
163 |
|
164 iDeleteAutomatically = (TAutoDeleteSetting) stream.ReadInt32L(); |
163 TInt dummy; |
165 TInt dummy; |
164 dummy = stream.ReadInt32L(); // was iSelectOnlyUnplayed |
|
165 dummy = stream.ReadInt32L(); // was iSeekStepTime |
166 dummy = stream.ReadInt32L(); // was iSeekStepTime |
166 |
167 |
167 CleanupStack::PopAndDestroy(1); // readStream and iniFile |
168 CleanupStack::PopAndDestroy(1); // readStream and iniFile |
168 DP("CSettingsEngine::LoadSettingsL\t Settings loaded OK"); |
169 DP("CSettingsEngine::LoadSettingsL\t Settings loaded OK"); |
169 } |
170 } |
191 stream.WriteInt32L(iDownloadSuspended); |
192 stream.WriteInt32L(iDownloadSuspended); |
192 stream.WriteInt32L(iIap); |
193 stream.WriteInt32L(iIap); |
193 |
194 |
194 stream.WriteInt32L(I64LOW(iUpdateFeedTime.Int64())); |
195 stream.WriteInt32L(I64LOW(iUpdateFeedTime.Int64())); |
195 stream.WriteInt32L(I64HIGH(iUpdateFeedTime.Int64())); |
196 stream.WriteInt32L(I64HIGH(iUpdateFeedTime.Int64())); |
196 stream.WriteInt32L(0); // was iSelectOnlyUnplayed |
197 stream.WriteInt32L(iDeleteAutomatically); |
197 stream.WriteInt32L(0); // was iSeekStepTime |
198 stream.WriteInt32L(0); // was iSeekStepTime |
198 |
199 |
199 stream.CommitL(); |
200 stream.CommitL(); |
200 store->CommitL(); |
201 store->CommitL(); |
201 CleanupStack::PopAndDestroy(2); // stream and store |
202 CleanupStack::PopAndDestroy(2); // stream and store |
346 EXPORT_C void CSettingsEngine::SetDownloadSuspended(TBool aSuspended) |
347 EXPORT_C void CSettingsEngine::SetDownloadSuspended(TBool aSuspended) |
347 { |
348 { |
348 DP1("CSettingsEngine::SetDownloadSuspended, aSuspended=%d", aSuspended); |
349 DP1("CSettingsEngine::SetDownloadSuspended, aSuspended=%d", aSuspended); |
349 iDownloadSuspended = aSuspended; |
350 iDownloadSuspended = aSuspended; |
350 } |
351 } |
|
352 |
|
353 EXPORT_C TAutoDeleteSetting CSettingsEngine::DeleteAutomatically() |
|
354 { |
|
355 return iDeleteAutomatically; |
|
356 } |
|
357 |
|
358 EXPORT_C void CSettingsEngine::SetDeleteAutomatically(TAutoDeleteSetting aDeleteAuto) |
|
359 { |
|
360 iDeleteAutomatically = aDeleteAuto; |
|
361 } |