]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/webviewhistoryitem_webkit.h
Define __VISUALC__ for ICC under Windows again.
[wxWidgets.git] / include / wx / osx / webviewhistoryitem_webkit.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/osx/webviewhistoryitem.h
3 // Purpose: wxWebViewHistoryItem header for OSX
4 // Author: Steven Lamerton
5 // Copyright: (c) 2011 Steven Lamerton
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef _WX_OSX_WEBVIEWHISTORYITEM_H_
10 #define _WX_OSX_WEBVIEWHISTORYITEM_H_
11
12 #include "wx/setup.h"
13
14 #if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
15 || defined(__WXOSX_CARBON__))
16
17 #include "wx/osx/core/objcid.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 wxObjCID m_histItem;
32 };
33
34 #endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
35
36 #endif // _WX_OSX_WEBVIEWHISTORYITEM_H_