2011-07-31 10:06:33 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: include/wx/gtk/webhistoryitem.h
|
|
|
|
// Purpose: wxWebHistoryItem header for GTK
|
|
|
|
// Author: Steven Lamerton
|
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 2011 Steven Lamerton
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_GTK_WEBHISTORYITEM_H_
|
|
|
|
#define _WX_GTK_WEBHISTORYITEM_H_
|
|
|
|
|
|
|
|
#include "wx/setup.h"
|
|
|
|
|
2011-08-01 06:10:20 -04:00
|
|
|
#if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
|
2011-07-31 10:06:33 -04:00
|
|
|
|
2011-07-31 11:37:55 -04:00
|
|
|
#include "webkit/webkit.h"
|
|
|
|
|
2011-07-31 10:06:33 -04:00
|
|
|
class WXDLLIMPEXP_WEB wxWebHistoryItem
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxWebHistoryItem(const wxString& url, const wxString& title) :
|
|
|
|
m_url(url), m_title(title) {}
|
|
|
|
wxString GetUrl() { return m_url; }
|
|
|
|
wxString GetTitle() { return m_title; }
|
|
|
|
|
2011-07-31 11:37:55 -04:00
|
|
|
friend class wxWebViewWebKit;
|
|
|
|
|
2011-07-31 10:06:33 -04:00
|
|
|
private:
|
|
|
|
wxString m_url, m_title;
|
2011-07-31 11:37:55 -04:00
|
|
|
WebKitWebHistoryItem* m_histItem;
|
2011-07-31 10:06:33 -04:00
|
|
|
};
|
|
|
|
|
2011-08-01 06:10:20 -04:00
|
|
|
#endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
|
2011-07-31 10:06:33 -04:00
|
|
|
|
|
|
|
#endif // _WX_GTK_WEBHISTORYITEM_H_
|