X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..7e08bc5acd8ee4e2f0756f50bf98937a118f9951:/include/wx/protocol/file.h diff --git a/include/wx/protocol/file.h b/include/wx/protocol/file.h index 9a5af4b6f2..b0e7e003a8 100644 --- a/include/wx/protocol/file.h +++ b/include/wx/protocol/file.h @@ -17,20 +17,21 @@ #if wxUSE_PROTOCOL_FILE #include "wx/protocol/protocol.h" -#include "wx/url.h" -class WXDLLIMPEXP_NET wxFileProto: public wxProtocol { - DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto) - DECLARE_PROTOCOL(wxFileProto) -protected: - wxProtocolError m_error; +class WXDLLIMPEXP_NET wxFileProto: public wxProtocol +{ public: - wxFileProto(); - virtual ~wxFileProto(); + wxFileProto(); + virtual ~wxFileProto(); + + bool Abort() { return true; } + wxString GetContentType() const { return wxEmptyString; } - wxProtocolError GetError() { return m_error; } - bool Abort() { return TRUE; } - wxInputStream *GetInputStream(const wxString& path); + wxInputStream *GetInputStream(const wxString& path); + +protected: + DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto) + DECLARE_PROTOCOL(wxFileProto) }; #endif // wxUSE_PROTOCOL_FILE