cpsecplugins/cpadvancedsecplugin/src/cpsecmodsyncwrapper.cpp
changeset 37 7bad16cccaca
parent 19 098e361762d2
--- a/cpsecplugins/cpadvancedsecplugin/src/cpsecmodsyncwrapper.cpp	Fri Jun 11 14:28:40 2010 +0300
+++ b/cpsecplugins/cpadvancedsecplugin/src/cpsecmodsyncwrapper.cpp	Wed Jun 23 19:10:54 2010 +0300
@@ -26,7 +26,7 @@
 #include <mctauthobject.h>
 #include <unifiedkeystore.h>
 #include <mctkeystore.h>
-
+#include <../../inc/cpsecplugins.h>
 
 
 // ============================ MEMBER FUNCTIONS ===============================
@@ -62,6 +62,7 @@
 //
 CSecModUISyncWrapper* CSecModUISyncWrapper::NewL()
     {
+    RDEBUG("0", 0);
     CSecModUISyncWrapper* wrap = CSecModUISyncWrapper::NewLC();
     CleanupStack::Pop(wrap);
     return wrap;
@@ -102,6 +103,7 @@
 TInt CSecModUISyncWrapper::GetAuthObjectInterface(
     MCTToken& aToken, MCTTokenInterface*& aTokenInterface)
     {
+    RDEBUG("0", 0);
     if( !IsActive() && !iWait.IsStarted() )
         {
         iOperation = EOperationGetAOInterface;
@@ -148,6 +150,7 @@
     RMPointerArray<CCTKeyInfo>& aKeysInfos,
     const TCTKeyAttributeFilter& aFilter)
     {
+    RDEBUG("0", 0);
     if( !IsActive() && !iWait.IsStarted() )
         {
         iOperation = EOperationListKeys;
@@ -169,6 +172,7 @@
     CUnifiedKeyStore& aKeyStore,
     TCTTokenObjectHandle aHandle)
     {
+    RDEBUG("0", 0);
     if( !IsActive() && !iWait.IsStarted() )
         {
         iOperation = EOperationDelKey;
@@ -189,6 +193,7 @@
 TInt CSecModUISyncWrapper::ChangeReferenceData(
     MCTAuthenticationObject& aAuthObject)
     {
+    RDEBUG("0", 0);
     if( !IsActive() && !iWait.IsStarted() )
         {
         iOperation = EOperationChangeReferenceData;
@@ -209,6 +214,7 @@
 TInt CSecModUISyncWrapper::UnblockAuthObject(
     MCTAuthenticationObject& aAuthObject)
     {
+    RDEBUG("0", 0);
     if( !IsActive() && !iWait.IsStarted() )
         {
         iOperation = EOperationUnblockAO;
@@ -229,6 +235,7 @@
 TInt CSecModUISyncWrapper::EnableAuthObject(
     MCTAuthenticationObject& aAuthObject)
     {
+    RDEBUG("0", 0);
     if( !IsActive() && !iWait.IsStarted() )
         {
         iOperation = EOperationEnableAO;
@@ -291,6 +298,7 @@
     MCTAuthenticationObject& aAuthObject,
     TInt& aStime )
     {
+    RDEBUG("0", 0);
     if( !IsActive() && !iWait.IsStarted() )
         {
         iOperation = EOperationTimeRemAO;
@@ -311,6 +319,7 @@
 //
 void CSecModUISyncWrapper::DoCancel()
     {
+    RDEBUG("iOperation", iOperation);
     switch ( iOperation )
         {
         case EOperationInit: