]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/webviewhistoryitem_webkit.h
The rounded corners look really dumb at this size.
[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 // Copyright: (c) 2011 Steven Lamerton
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef _WX_GTK_WEBVIEWHISTORYITEM_H_
10 #define _WX_GTK_WEBVIEWHISTORYITEM_H_
11
12 #include "wx/setup.h"
13
14 #if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
15
16 class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
17 {
18 public:
19 wxWebViewHistoryItem(const wxString& url, const wxString& title) :
20 m_url(url), m_title(title) {}
21 wxString GetUrl() { return m_url; }
22 wxString GetTitle() { return m_title; }
23
24 friend class wxWebViewWebKit;
25
26 private:
27 wxString m_url, m_title;
28 void* m_histItem;
29 };
30
31 #endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
32
33 #endif // _WX_GTK_WEBVIEWHISTORYITEM_H_