javaextensions/pim/agnadapter/src.s60/cpimeventadapteraccess.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 77 7cee158cb8cd
--- a/javaextensions/pim/agnadapter/src.s60/cpimeventadapteraccess.cpp	Wed Sep 15 12:05:25 2010 +0300
+++ b/javaextensions/pim/agnadapter/src.s60/cpimeventadapteraccess.cpp	Wed Oct 13 14:23:59 2010 +0300
@@ -139,8 +139,7 @@
     return EFalse;
 }
 
-TBool CPIMEventAdapterAccess::OpenEventListL(CCalSession* aCalSession,
-        const TDesC* aListName,
+TBool CPIMEventAdapterAccess::OpenEventListL(const TDesC* aListName,
         MPIMEventAdapterManager** aRetAdapterManager,
         MPIMEventListAdapter** aRetListAdapter,
         MPIMLocalizationData** aRetLocalizationData)
@@ -182,8 +181,8 @@
         CPIMAgnApptAdapter* adapter = CPIMAgnApptAdapter::NewL(iFuncServer);
         CleanupStack::PushL(adapter);
 
-        listAdapter = CPIMEventListAdapter::NewL(CCalEntry::EAppt,adapter,
-                      iFuncServer, aCalSession);
+        listAdapter = CPIMEventListAdapter::NewL(CCalEntry::EAppt, adapter,
+                      iFuncServer);
 
         CleanupStack::Pop(adapter);
         CleanupStack::Pop(adapterManager);
@@ -201,8 +200,8 @@
         CPIMAgnMemoAdapter* adapter = CPIMAgnMemoAdapter::NewL(iFuncServer);
         CleanupStack::PushL(adapter);
 
-        listAdapter = CPIMEventListAdapter::NewL(CCalEntry::EEvent,adapter,
-                      iFuncServer, aCalSession);
+        listAdapter = CPIMEventListAdapter::NewL(CCalEntry::EEvent, adapter,
+                      iFuncServer);
 
         CleanupStack::Pop(adapter);
         CleanupStack::Pop(adapterManager);
@@ -220,8 +219,8 @@
         CPIMAgnAnnivAdapter* adapter = CPIMAgnAnnivAdapter::NewL(iFuncServer);
         CleanupStack::PushL(adapter);
 
-        listAdapter = CPIMEventListAdapter::NewL(CCalEntry::EAnniv,adapter,
-                      iFuncServer, aCalSession);
+        listAdapter = CPIMEventListAdapter::NewL(CCalEntry::EAnniv, adapter,
+                      iFuncServer);
 
         CleanupStack::Pop(adapter);
         CleanupStack::Pop(adapterManager);
@@ -245,11 +244,9 @@
     return ETrue;
 }
 
-TBool CPIMEventAdapterAccess::OpenToDoListL(CCalSession* /*aCalSession*/,
-        const TDesC* /*aListName*/,
+TBool CPIMEventAdapterAccess::OpenToDoListL(const TDesC* /*aListName*/,
         MPIMToDoAdapterManager** /*aRetAdapterManager*/,
-        MPIMToDoListAdapter** /*aRetListAdapter*/,
-        MPIMLocalizationData** /*aRetLocalizationData*/)
+        MPIMToDoListAdapter** /*aRetListAdapter*/, MPIMLocalizationData** /*aRetLocalizationData*/)
 {
     JELOG2(EPim);
     // no ToDo lists