inc/mdssqliteconnection.h
branchRCL_3
changeset 6 646a02f170b9
parent 1 acef663c1218
child 13 4a4892eec172
--- a/inc/mdssqliteconnection.h	Fri Feb 19 23:14:48 2010 +0200
+++ b/inc/mdssqliteconnection.h	Fri Mar 12 15:44:28 2010 +0200
@@ -76,6 +76,16 @@
         */        
         void ConstructL();
 
+        /**
+        * Delete and re-create database.
+        * @param aDbFileName Database filename and path
+        * @param asqlSecurityPolicy sql policy
+        * @param aKMdsSqlDbaConfig database connection configure
+        */    
+        TInt DeleteAndReCreateDB( const HBufC* aDbFileName,
+                                  const RSqlSecurityPolicy& asqlSecurityPolicy,
+                                  const TDesC8* aKMdsSqlDbaConfig );
+        
     public: // Methods from CMdSSqLiteConnection
 
 		/**
@@ -130,6 +140,11 @@
         void CurrentRowL( const RMdsStatement& aQuery, RRowData& aRow );
 
         /**
+         * Returns id of the last inserted row
+         */
+        TItemId LastInsertedRowId();
+
+        /**
          * terminates a running query or execution loop
          * @param aStatement ID of the statement
          */