diff -r bf7ee68962da -r 773449708c84 javaextensions/iapinfo/inc.s60/javacommdb.h --- a/javaextensions/iapinfo/inc.s60/javacommdb.h Wed Aug 18 09:43:15 2010 +0300 +++ b/javaextensions/iapinfo/inc.s60/javacommdb.h Thu Sep 02 20:20:40 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