]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: include/wx/msw/webhistoryitem.h | |
3 | // Purpose: wxWebHistoryItem header for MSW | |
4 | // Author: Steven Lamerton | |
5 | // Id: $Id$ | |
6 | // Copyright: (c) 2011 Steven Lamerton | |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _WX_MSW_WEBHISTORYITEM_H_ | |
11 | #define _WX_MSW_WEBHISTORYITEM_H_ | |
12 | ||
13 | #include "wx/setup.h" | |
14 | ||
15 | #if wxUSE_WEBVIEW_IE && defined(__WXMSW__) | |
16 | ||
17 | class WXDLLIMPEXP_WEB wxWebHistoryItem | |
18 | { | |
19 | public: | |
20 | wxWebHistoryItem(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 | private: | |
26 | wxString m_url, m_title; | |
27 | }; | |
28 | ||
29 | #endif // wxUSE_WEBVIEW_IE && defined(__WXMSW__) | |
30 | ||
31 | #endif // _WX_MSW_WEBHISTORYITEM_H_ |