]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/protocol/file.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: File protocol
4 // Author: Guilhem Lavaux
8 // Copyright: (c) 1997, 1998 Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __WX_PROTO_FILE_H__
13 #define __WX_PROTO_FILE_H__
16 #pragma interface "sckfile.h"
21 #if wxUSE_PROTOCOL_FILE
23 #include "wx/protocol/protocol.h"
26 class WXDLLEXPORT wxFileProto
: public wxProtocol
{
27 DECLARE_DYNAMIC_CLASS(wxFileProto
)
28 DECLARE_PROTOCOL(wxFileProto
)
30 wxProtocolError m_error
;
35 wxProtocolError
GetError() { return m_error
; }
36 bool Abort() { return TRUE
; }
37 wxInputStream
*GetInputStream(const wxString
& path
);
40 #endif // wxUSE_PROTOCOL_FILE
42 #endif // __WX_PROTO_FILE_H__