--- a/securitydialogs/lockclient/src/keyguardaccessapi.cpp Thu Aug 19 10:45:23 2010 +0300
+++ b/securitydialogs/lockclient/src/keyguardaccessapi.cpp Tue Aug 31 16:04:40 2010 +0300
@@ -24,11 +24,15 @@
#include <e32property.h> // P&S API
#include <e32debug.h>
+#include <QDebug>
+
// ---------------------------------------------------------------------------
// Standard Symbian OS construction sequence
// ---------------------------------------------------------------------------
EXPORT_C CKeyguardAccessApi* CKeyguardAccessApi::NewL( )
{
+ RDEBUG("0", 0);
+
CKeyguardAccessApi* self = new (ELeave) CKeyguardAccessApi( );
CleanupStack::PushL( self );
self->ConstructL( );
@@ -41,6 +45,7 @@
// ---------------------------------------------------------------------------
CKeyguardAccessApi::CKeyguardAccessApi()
{
+ RDEBUG("0", 0);
}
// ---------------------------------------------------------------------------
@@ -61,6 +66,7 @@
// ---------------------------------------------------------------------------
void CKeyguardAccessApi::ConstructL( )
{
+ RDEBUG("0", 0);
iLockAccessExtension = new (ELeave) RLockAccessExtension;
}
@@ -69,6 +75,8 @@
// ---------------------------------------------------------------------------
EXPORT_C TBool CKeyguardAccessApi::IsKeylockEnabled()
{
+
+ RDEBUG("0", 0);
TInt value;
TInt err = RProperty::Get(KPSUidAvkonDomain, KAknKeyguardStatus, value);
if ( err == KErrNone )
@@ -94,6 +102,7 @@
// ---------------------------------------------------------------------------
EXPORT_C TBool CKeyguardAccessApi::IsKeyguardEnabled()
{
+ RDEBUG("0", 0);
TInt value;
TInt err = RProperty::Get(KPSUidAvkonDomain, KAknKeyguardStatus, value);
if ( err == KErrNone )
@@ -134,12 +143,15 @@
// ---------------------------------------------------------------------------
EXPORT_C TInt CKeyguardAccessApi::DisableKeyguard( TBool aWithNote )
{
+ RDEBUG("aWithNote", aWithNote);
if ( iLockAccessExtension )
{
+ RDEBUG("0", 1);
return iLockAccessExtension->SendMessage( ELockAppDisableKeyguard, aWithNote );
}
else
{
+ RDEBUG("0", 0);
return KErrNotFound;
}
}
@@ -149,6 +161,7 @@
// ---------------------------------------------------------------------------
EXPORT_C TInt CKeyguardAccessApi::OfferKeyguard()
{
+ RDEBUG("0", 0);
if ( iLockAccessExtension )
{
return iLockAccessExtension->SendMessage( ELockAppOfferKeyguard );
@@ -164,6 +177,7 @@
// ---------------------------------------------------------------------------
EXPORT_C TInt CKeyguardAccessApi::ShowKeysLockedNote()
{
+ RDEBUG("0", 0);
if ( iLockAccessExtension )
{
return iLockAccessExtension->SendMessage( ELockAppShowKeysLockedNote );