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_HISTORY_ITEM_IMPL_H_
25 #define _FWEB_INTERNAL_HISTORY_ITEM_IMPL_H_
27 #include <FBaseString.h>
29 namespace Tizen { namespace Web { namespace Controls
32 }}} // Tizen::Web::Controls
34 namespace Tizen { namespace Web
39 class _HistoryItemImpl
40 : public Tizen::Base::Object
43 _HistoryItemImpl(void);
45 virtual ~_HistoryItemImpl(void);
47 void SetHistoryItem(const Tizen::Base::String& url, const Tizen::Base::String& title, int id = -1);
49 Tizen::Base::String GetTitle(void) const;
51 Tizen::Base::String GetUrl(void) const;
53 Tizen::Graphics::Bitmap* GetFaviconN(void) const;
55 static _HistoryItemImpl* GetInstance(HistoryItem* pHistoryItem);
57 static const _HistoryItemImpl* GetInstance(const HistoryItem* pHistoryItem);
62 Tizen::Base::String __url;
64 Tizen::Base::String __title;
65 }; // _HistoryItemImpl
68 #endif // _FWEB_INTERNAL_HISTORY_ITEM_IMPL_H_