]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/webviewhistoryitem_webkit.h
Update wxWebView guards to stop backend compilation when wxUSE_WEBVIEW is 0.
[wxWidgets.git] / include / wx / gtk / webviewhistoryitem_webkit.h
CommitLineData
eafdb19c 1/////////////////////////////////////////////////////////////////////////////
c13d6ac1
SL
2// Name: include/wx/gtk/webviewhistoryitem.h
3// Purpose: wxWebViewHistoryItem header for GTK
eafdb19c
SL
4// Author: Steven Lamerton
5// Id: $Id$
6// Copyright: (c) 2011 Steven Lamerton
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
c13d6ac1
SL
10#ifndef _WX_GTK_WEBVIEWHISTORYITEM_H_
11#define _WX_GTK_WEBVIEWHISTORYITEM_H_
eafdb19c
SL
12
13#include "wx/setup.h"
14
9d2f31db 15#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
eafdb19c 16
263e3a83
SL
17#include "webkit/webkit.h"
18
467d261e 19class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
eafdb19c
SL
20{
21public:
c13d6ac1 22 wxWebViewHistoryItem(const wxString& url, const wxString& title) :
eafdb19c
SL
23 m_url(url), m_title(title) {}
24 wxString GetUrl() { return m_url; }
25 wxString GetTitle() { return m_title; }
26
263e3a83
SL
27 friend class wxWebViewWebKit;
28
eafdb19c
SL
29private:
30 wxString m_url, m_title;
263e3a83 31 WebKitWebHistoryItem* m_histItem;
eafdb19c
SL
32};
33
9d2f31db 34#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
eafdb19c 35
c13d6ac1 36#endif // _WX_GTK_WEBVIEWHISTORYITEM_H_