]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/webhistoryitem_webkit.h
Add support for custom scheme handling and virtual file systems to the OSX WebKit...
[wxWidgets.git] / include / wx / osx / webhistoryitem_webkit.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/osx/webhistoryitem.h
3 // Purpose: wxWebHistoryItem header for OSX
4 // Author: Steven Lamerton
5 // Id: $Id$
6 // Copyright: (c) 2011 Steven Lamerton
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_OSX_WEBHISTORYITEM_H_
11 #define _WX_OSX_WEBHISTORYITEM_H_
12
13 #include "wx/setup.h"
14
15 #if wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
16 || defined(__WXOSX_CARBON__))
17
18 class WXDLLIMPEXP_WEB wxWebHistoryItem
19 {
20 public:
21 wxWebHistoryItem(const wxString& url, const wxString& title) :
22 m_url(url), m_title(title) {}
23 wxString GetUrl() { return m_url; }
24 wxString GetTitle() { return m_title; }
25
26 friend class wxWebViewWebKit;
27
28 private:
29 wxString m_url, m_title;
30 struct objc_object *m_histItem;
31 };
32
33 #endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXOSX_MAC__)
34
35 #endif // _WX_OSX_WEBHISTORYITEM_H_