--- a/cpsecplugins/simpincodeplugin/src/seccodemodel_symbian.cpp Fri Jun 11 14:28:40 2010 +0300
+++ b/cpsecplugins/simpincodeplugin/src/seccodemodel_symbian.cpp Thu Jun 24 12:46:20 2010 +0300
@@ -23,6 +23,7 @@
// User includes
#include "seccodemodel_p.h"
#include "seccodeuiglobal.h"
+#include <../../inc/cpsecplugins.h>
// ======== MEMBER FUNCTIONS ========
@@ -50,6 +51,7 @@
*/
void SecCodeModelPrivate::ConstructL()
{
+ RDEBUG("0", 0);
iSecurity = CSecuritySettings::NewL();
}
@@ -68,9 +70,11 @@
*/
bool SecCodeModelPrivate::pinCodeRequest() const
{
+ RDEBUG("0", 0);
bool isLockEnabled = false;
QT_TRAP_THROWING(isLockEnabled = iSecurity->IsLockEnabledL(
RMobilePhone::ELockICC));
+ RDEBUG("isLockEnabled", isLockEnabled);
return isLockEnabled;
}
@@ -79,8 +83,10 @@
*/
bool SecCodeModelPrivate::changePinCodeRequest()
{
+ RDEBUG("0", 0);
bool result = false;
QT_TRAP_THROWING(result =iSecurity->ChangePinRequestL());
+ RDEBUG("result", result);
return result;
}
@@ -89,7 +95,9 @@
*/
int SecCodeModelPrivate::changePinCode()
{
+ RDEBUG("0", 0);
QT_TRAP_THROWING(iSecurity->ChangePinL());
+ RDEBUG("0", 0);
return 0;
}
@@ -98,6 +106,8 @@
*/
int SecCodeModelPrivate::changePin2Code()
{
+ RDEBUG("0", 0);
QT_TRAP_THROWING(iSecurity->ChangePin2L());
+ RDEBUG("0", 0);
return 0;
}