Rename web library to webview.
[wxWidgets.git] / include / wx / gtk / webviewhistoryitem_webkit.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/gtk/webviewhistoryitem.h
3 // Purpose: wxWebViewHistoryItem header for GTK
4 // Author: Steven Lamerton
5 // Id: $Id$
6 // Copyright: (c) 2011 Steven Lamerton
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_GTK_WEBVIEWHISTORYITEM_H_
11 #define _WX_GTK_WEBVIEWHISTORYITEM_H_
12
13 #include "wx/setup.h"
14
15 #if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
16
17 #include "webkit/webkit.h"
18
19 class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
20 {
21 public:
22 wxWebViewHistoryItem(const wxString& url, const wxString& title) :
23 m_url(url), m_title(title) {}
24 wxString GetUrl() { return m_url; }
25 wxString GetTitle() { return m_title; }
26
27 friend class wxWebViewWebKit;
28
29 private:
30 wxString m_url, m_title;
31 WebKitWebHistoryItem* m_histItem;
32 };
33
34 #endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
35
36 #endif // _WX_GTK_WEBVIEWHISTORYITEM_H_