2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FWeb_HistoryItemImpl.h
20 * @brief The file contains the declaration of _HistoryItemImpl class.
22 * The file contains the declaration of _HistoryItemImpl class.
24 #ifndef _FWEB_INTERNAL_BOOKMARK_ITEM_IMPL_H_
25 #define _FWEB_INTERNAL_BOOKMARK_ITEM_IMPL_H_
27 #include <FBaseString.h>
29 namespace Tizen { namespace Web
33 class _BookmarkItemImpl
34 : public Tizen::Base::Object
37 _BookmarkItemImpl(void);
39 virtual ~_BookmarkItemImpl(void);
41 void SetBookmarkItem(RecordId id, const Tizen::Base::String& url, const Tizen::Base::String& title, RecordId parentId, bool isFolder);
43 Tizen::Base::String GetTitle(void) const;
45 Tizen::Base::String GetUrl(void) const;
47 Tizen::Graphics::Bitmap* GetFaviconN(void) const;
49 RecordId GetParentFolderId(void) const;
51 bool IsFolder(void) const;
53 virtual int GetHashCode(void) const;
55 virtual bool Equals(const Object& obj) const;
57 static _BookmarkItemImpl* GetInstance(BookmarkItem* pBookmarkItem);
59 static const _BookmarkItemImpl* GetInstance(const BookmarkItem* pBookmarkItem);
68 Tizen::Base::String __url;
70 Tizen::Base::String __title;
71 }; // _BookmarkItemImpl
74 #endif // _FWEB_INTERNAL_BOOKMARK_ITEM_IMPL_H_