]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/osx/webviewhistoryitem_webkit.h
Use "_x64" instead of "amd64" for x64 MSW makefile builds.
[wxWidgets.git] / include / wx / osx / webviewhistoryitem_webkit.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: include/wx/osx/webviewhistoryitem.h
3// Purpose: wxWebViewHistoryItem 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_WEBVIEWHISTORYITEM_H_
11#define _WX_OSX_WEBVIEWHISTORYITEM_H_
12
13#include "wx/setup.h"
14
15#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
16 || defined(__WXOSX_CARBON__))
17
18#include "wx/osx/core/objcid.h"
19
20class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
21{
22public:
23 wxWebViewHistoryItem(const wxString& url, const wxString& title) :
24 m_url(url), m_title(title) {}
25 wxString GetUrl() { return m_url; }
26 wxString GetTitle() { return m_title; }
27
28 friend class wxWebViewWebKit;
29
30private:
31 wxString m_url, m_title;
32 wxObjCID m_histItem;
33};
34
35#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
36
37#endif // _WX_OSX_WEBVIEWHISTORYITEM_H_