2011-07-31 10:06:33 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-08-15 08:31:31 -04:00
|
|
|
// Name: include/wx/osx/webviewhistoryitem.h
|
|
|
|
// Purpose: wxWebViewHistoryItem header for OSX
|
2011-07-31 10:06:33 -04:00
|
|
|
// Author: Steven Lamerton
|
|
|
|
// Copyright: (c) 2011 Steven Lamerton
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2011-08-15 08:31:31 -04:00
|
|
|
#ifndef _WX_OSX_WEBVIEWHISTORYITEM_H_
|
|
|
|
#define _WX_OSX_WEBVIEWHISTORYITEM_H_
|
2011-07-31 10:06:33 -04:00
|
|
|
|
|
|
|
#include "wx/setup.h"
|
|
|
|
|
2011-09-12 14:35:39 -04:00
|
|
|
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
|
|
|
|
|| defined(__WXOSX_CARBON__))
|
2011-07-31 10:06:33 -04:00
|
|
|
|
2012-05-26 08:29:39 -04:00
|
|
|
#include "wx/osx/core/objcid.h"
|
2012-05-20 16:29:50 -04:00
|
|
|
|
2011-08-19 06:45:16 -04:00
|
|
|
class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
|
2011-07-31 10:06:33 -04:00
|
|
|
{
|
|
|
|
public:
|
2011-08-15 08:31:31 -04:00
|
|
|
wxWebViewHistoryItem(const wxString& url, const wxString& title) :
|
2011-07-31 10:06:33 -04:00
|
|
|
m_url(url), m_title(title) {}
|
|
|
|
wxString GetUrl() { return m_url; }
|
|
|
|
wxString GetTitle() { return m_title; }
|
|
|
|
|
2011-08-05 12:40:46 -04:00
|
|
|
friend class wxWebViewWebKit;
|
|
|
|
|
2011-07-31 10:06:33 -04:00
|
|
|
private:
|
|
|
|
wxString m_url, m_title;
|
2012-05-20 16:29:50 -04:00
|
|
|
wxObjCID m_histItem;
|
2011-07-31 10:06:33 -04:00
|
|
|
};
|
|
|
|
|
2012-03-28 14:00:30 -04:00
|
|
|
#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
|
2011-07-31 10:06:33 -04:00
|
|
|
|
2011-08-15 08:31:31 -04:00
|
|
|
#endif // _WX_OSX_WEBVIEWHISTORYITEM_H_
|