// 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
//
#include <FIo.h>
#include "IntTypes.h"
+#include "IntBookmarkData.h"
+#include "IntHistoryData.h"
/**
* @class PresentationModelBase
*/
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);
result GetColumn(int nIndex, Tizen::Base::DateTime& dtVal);
+ result GetColumn(int nIndex,Tizen::Base::ByteBuffer& favIconBuffer);
+
static bool GetCurrentDateTime(Tizen::Base::DateTime& dt);
/**