--- a/classicui_plat/find_item_ui_api/tsrc/src/testdomfinditem.cpp Tue Feb 02 01:00:49 2010 +0200
+++ b/classicui_plat/find_item_ui_api/tsrc/src/testdomfinditem.cpp Fri Apr 16 15:13:44 2010 +0300
@@ -20,7 +20,6 @@
// INCLUDE FILES
#include <stiftestinterface.h>
#include <settingserverclient.h>
-#include <screensaverinternalpskeys.h>
#include <e32property.h>
#include <coemain.h>
@@ -53,8 +52,6 @@
delete iLog;
CCoeEnv::Static()->DeleteResourceFile( iOffset );
- RestoreScreenSaver();
-
}
// -----------------------------------------------------------------------------
@@ -108,8 +105,6 @@
iOffset = CCoeEnv::Static()->AddResourceFileL( KResourceFile );
SendTestClassVersion();
-
- TurnOffScreenSaver();
}
// -----------------------------------------------------------------------------
@@ -162,30 +157,4 @@
return ( CScriptBase* ) Ctestdomfinditem::NewL( aTestModuleIf );
}
-// -----------------------------------------------------------------------------
-// Turn off ScreenSaver
-// -----------------------------------------------------------------------------
-//
-void Ctestdomfinditem::TurnOffScreenSaver()
- {
- TInt err1 = RProperty::Get( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
- iOldScreenSaverProperty );
- TInt err2 = RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
- KScreenSaverAllowScreenSaver );
- RDebug::Printf( "screensaver property=%d err1=%d err2=%d\n",
- iOldScreenSaverProperty, err1, err2 );
- }
-
-// -----------------------------------------------------------------------------
-// Restore ScreenSaver
-// -----------------------------------------------------------------------------
-//
-void Ctestdomfinditem::RestoreScreenSaver()
- {
- RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
- iOldScreenSaverProperty );
- User::ResetInactivityTime();
- }
-
-
// End of File