]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/webhistoryitem_webkit.h
Fix compilation for OSX backend.
[wxWidgets.git] / include / wx / gtk / webhistoryitem_webkit.h
CommitLineData
eafdb19c
SL
1/////////////////////////////////////////////////////////////////////////////
2// Name: include/wx/gtk/webhistoryitem.h
3// Purpose: wxWebHistoryItem 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_WEBHISTORYITEM_H_
11#define _WX_GTK_WEBHISTORYITEM_H_
12
13#include "wx/setup.h"
14
bd7901aa 15#if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
eafdb19c 16
263e3a83
SL
17#include "webkit/webkit.h"
18
eafdb19c
SL
19class WXDLLIMPEXP_WEB wxWebHistoryItem
20{
21public:
22 wxWebHistoryItem(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
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
bd7901aa 34#endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
eafdb19c
SL
35
36#endif // _WX_GTK_WEBHISTORYITEM_H_