]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/webviewhistoryitem_webkit.h
removing NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation
[wxWidgets.git] / include / wx / osx / webviewhistoryitem_webkit.h
CommitLineData
eafdb19c 1/////////////////////////////////////////////////////////////////////////////
c13d6ac1
SL
2// Name: include/wx/osx/webviewhistoryitem.h
3// Purpose: wxWebViewHistoryItem header for OSX
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_OSX_WEBVIEWHISTORYITEM_H_
11#define _WX_OSX_WEBVIEWHISTORYITEM_H_
eafdb19c
SL
12
13#include "wx/setup.h"
14
9d2f31db
SL
15#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
16 || defined(__WXOSX_CARBON__))
eafdb19c 17
467d261e 18class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
eafdb19c
SL
19{
20public:
c13d6ac1 21 wxWebViewHistoryItem(const wxString& url, const wxString& title) :
eafdb19c
SL
22 m_url(url), m_title(title) {}
23 wxString GetUrl() { return m_url; }
24 wxString GetTitle() { return m_title; }
25
515fd027
SL
26 friend class wxWebViewWebKit;
27
eafdb19c
SL
28private:
29 wxString m_url, m_title;
515fd027 30 struct objc_object *m_histItem;
eafdb19c
SL
31};
32
9d2f31db 33#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
eafdb19c 34
c13d6ac1 35#endif // _WX_OSX_WEBVIEWHISTORYITEM_H_