]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/webviewhistoryitem_webkit.h
Avoid CRT deprecation warnings for MSVC build using makefiles too.
[wxWidgets.git] / include / wx / gtk / webviewhistoryitem_webkit.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: include/wx/gtk/webviewhistoryitem.h
3// Purpose: wxWebViewHistoryItem header for GTK
4// Author: Steven Lamerton
5// Id: $Id$
6// Copyright: (c) 2011 Steven Lamerton
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_GTK_WEBVIEWHISTORYITEM_H_
11#define _WX_GTK_WEBVIEWHISTORYITEM_H_
12
13#include "wx/setup.h"
14
15#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
16
17class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
18{
19public:
20 wxWebViewHistoryItem(const wxString& url, const wxString& title) :
21 m_url(url), m_title(title) {}
22 wxString GetUrl() { return m_url; }
23 wxString GetTitle() { return m_title; }
24
25 friend class wxWebViewWebKit;
26
27private:
28 wxString m_url, m_title;
29 void* m_histItem;
30};
31
32#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
33
34#endif // _WX_GTK_WEBVIEWHISTORYITEM_H_