2011-07-31 14:06:33 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-08-15 12:31:31 +00:00
|
|
|
// Name: include/wx/gtk/webviewhistoryitem.h
|
|
|
|
// Purpose: wxWebViewHistoryItem header for GTK
|
2011-07-31 14:06:33 +00:00
|
|
|
// Author: Steven Lamerton
|
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 2011 Steven Lamerton
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2011-08-15 12:31:31 +00:00
|
|
|
#ifndef _WX_GTK_WEBVIEWHISTORYITEM_H_
|
|
|
|
#define _WX_GTK_WEBVIEWHISTORYITEM_H_
|
2011-07-31 14:06:33 +00:00
|
|
|
|
|
|
|
#include "wx/setup.h"
|
|
|
|
|
2011-09-12 18:35:39 +00:00
|
|
|
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
|
2011-07-31 14:06:33 +00:00
|
|
|
|
2011-08-19 10:45:16 +00:00
|
|
|
class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
|
2011-07-31 14:06:33 +00:00
|
|
|
{
|
|
|
|
public:
|
2012-03-28 18:00:30 +00:00
|
|
|
wxWebViewHistoryItem(const wxString& url, const wxString& title) :
|
2011-07-31 14:06:33 +00:00
|
|
|
m_url(url), m_title(title) {}
|
|
|
|
wxString GetUrl() { return m_url; }
|
|
|
|
wxString GetTitle() { return m_title; }
|
|
|
|
|
2011-07-31 15:37:55 +00:00
|
|
|
friend class wxWebViewWebKit;
|
|
|
|
|
2011-07-31 14:06:33 +00:00
|
|
|
private:
|
|
|
|
wxString m_url, m_title;
|
2011-11-17 01:23:03 +00:00
|
|
|
void* m_histItem;
|
2011-07-31 14:06:33 +00:00
|
|
|
};
|
|
|
|
|
2011-09-12 18:35:39 +00:00
|
|
|
#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
|
2011-07-31 14:06:33 +00:00
|
|
|
|
2011-08-15 12:31:31 +00:00
|
|
|
#endif // _WX_GTK_WEBVIEWHISTORYITEM_H_
|