Fixed Nabi Issues
[apps/osp/Internet.git] / inc / IntPresentationModelBase.h
index 08a2252..4562ab1 100644 (file)
@@ -2,7 +2,7 @@
 
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
@@ -29,6 +29,8 @@
 #include <FIo.h>
 
 #include "IntTypes.h"
+#include "IntBookmarkData.h"
+#include "IntHistoryData.h"
 
 /**
  * @class      PresentationModelBase
@@ -103,6 +105,20 @@ public:
         */
         result ExecuteQuery(const Tizen::Base::String& pszFormatQuery, int& nRowCount);
 
+        /**
+         * This function drops the existing tables from database
+         *
+         * @return      An error code
+         * @param              No parameter
+         * @exception  E_SUCCESS               The table is dropped successfully from database
+         * @exception  E_FAILURE               The table drop is unsuccessful
+         */
+        result ExecuteBookmarkQuery(const Tizen::Base::String& pszFormatQuery, int& nRowCount, BookmarkData& bookmark);
+
+        result ExecuteHistoryQuery(const Tizen::Base::String& pszFormatQuery, int& nRowCount, History& history);
+
+        result ExecuteUpdateHistoryFavIconQuery(const Tizen::Base::String& formatQuery, int& nRowCount, History& history);
+
         result GetColumn(int nIndex, Tizen::Base::String& strVal);
 
         result GetColumn(int nIndex, int& nIntVal);
@@ -111,6 +127,8 @@ public:
 
         result GetColumn(int nIndex, Tizen::Base::DateTime& dtVal);
 
+        result GetColumn(int nIndex,Tizen::Base::ByteBuffer& favIconBuffer);
+
        static bool GetCurrentDateTime(Tizen::Base::DateTime& dt);
 
        /**