javaextensions/iapinfo/inc.s60/javacommdb.h
branchRCL_3
changeset 27 d5e927d5853b
parent 26 2455ef1f5bbc
--- a/javaextensions/iapinfo/inc.s60/javacommdb.h	Wed Sep 01 12:33:18 2010 +0100
+++ b/javaextensions/iapinfo/inc.s60/javacommdb.h	Tue Sep 14 21:06:50 2010 +0300
@@ -23,6 +23,7 @@
 #include <commsdat.h>
 #include <metadatabase.h>
 #include "com_nokia_mid_iapinfo_CommsTable.h"
+#include "iapinfosession.h"
 
 using namespace CommsDat;
 
@@ -41,6 +42,8 @@
 public:
 
     ~ JavaCommDB();
+    
+    JavaCommDB(IapInfoSession *aSess);
 
     /**
      * Opens the given table.
@@ -50,12 +53,12 @@
      */
     void OpenL(const TDesC&);
 
+    static void Destroy(JavaCommDB* aObj);
     /**
      * Close the table and delete allocated member objects.
-     * @since S60 v3.0
-     * @return error code
+     * @since S60 v3.0     
      */
-    TInt Close();
+    void Close();
 
     /**
      * Get number of records in the current table.
@@ -133,6 +136,9 @@
      * Initialized in the Open() function.
      */
     CMDBRecordSet<CCDRecordBase>* iTable;
+
+public:    
+    IapInfoSession* iSession; 
 };
 
 #endif // JAVACOMMDB_H