contentstorage/srvsrc/casrv.cpp
changeset 103 b99b84bcd2d1
parent 80 397d00875918
child 109 e0aa398e6810
--- a/contentstorage/srvsrc/casrv.cpp	Fri Jun 11 13:58:37 2010 +0300
+++ b/contentstorage/srvsrc/casrv.cpp	Wed Jun 23 18:33:40 2010 +0300
@@ -24,6 +24,7 @@
 #include "casrvengutils.h"
 #include "castorageproxy.h"
 #include "casrvmanager.h"
+#include "caprogressnotifier.h"
 
 // ==================== LOCAL FUNCTIONS ====================
 
@@ -124,6 +125,7 @@
         }
     delete iSrvManager;
     delete iSrvEngUtils;
+    delete iProgressNotifier;
     delete iStorageProxy;
     }
 
@@ -154,7 +156,8 @@
     iSessionCount = 0;
     iStorageProxy = CCaStorageProxy::NewL();
     iSrvEngUtils = CCaSrvEngUtils::NewL();
-    iSrvManager = CCaSrvManager::NewL(*iStorageProxy, iSrvEngUtils);
+    iProgressNotifier = CCaProgressNotifier::NewL( *iStorageProxy );
+    iSrvManager = CCaSrvManager::NewL( *iStorageProxy, iSrvEngUtils );
     TInt errCode = iSrvManager->LoadOperationErrorCodeL();
     if( KSqlErrNotDb <= errCode && errCode <= KSqlErrGeneral )
         {