equal
deleted
inserted
replaced
20 |
20 |
21 #include <avkon.rsg> |
21 #include <avkon.rsg> |
22 #include <avkon.hrh> |
22 #include <avkon.hrh> |
23 #include <centralrepository.h> |
23 #include <centralrepository.h> |
24 #include <vcommanddomaincrkeys.h> |
24 #include <vcommanddomaincrkeys.h> |
|
25 #include <e32property.h> |
|
26 #include <ScreensaverInternalPSKeys.h> |
25 |
27 |
26 #include <vuivoicerecognition.rsg> |
28 #include <vuivoicerecognition.rsg> |
27 |
29 |
28 #include "vuivoicerecognition.hrh" |
30 #include "vuivoicerecognition.hrh" |
29 |
31 |
339 |
341 |
340 User::LeaveIfError( client->Get( KVuiDemoMode, |
342 User::LeaveIfError( client->Get( KVuiDemoMode, |
341 iTutorialMode ) ); |
343 iTutorialMode ) ); |
342 |
344 |
343 CleanupStack::PopAndDestroy( client ); |
345 CleanupStack::PopAndDestroy( client ); |
|
346 |
|
347 if ( iTutorialMode ) |
|
348 { |
|
349 //Allow screensaver if in tutorial mode |
|
350 RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver, 0 ); |
|
351 } |
344 } |
352 } |
345 |
353 |
346 // --------------------------------------------------------------------------- |
354 // --------------------------------------------------------------------------- |
347 // CTutorial::SaveSettingsL |
355 // CTutorial::SaveSettingsL |
348 // --------------------------------------------------------------------------- |
356 // --------------------------------------------------------------------------- |