diff -r 2455ef1f5bbc -r d5e927d5853b javaextensions/iapinfo/inc.s60/javacommdb.h --- 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 #include #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* iTable; + +public: + IapInfoSession* iSession; }; #endif // JAVACOMMDB_H