1 ///////////////////////////////////////////////////////////////////////////// 
   3 // Purpose:     File protocol 
   4 // Author:      Guilhem Lavaux 
   8 // Copyright:   (c) 1997, 1998 Guilhem Lavaux 
   9 // Licence:     wxWindows licence 
  10 ///////////////////////////////////////////////////////////////////////////// 
  12 #ifndef __WX_PROTO_FILE_H__ 
  13 #define __WX_PROTO_FILE_H__ 
  17 #if wxUSE_PROTOCOL_FILE 
  19 #include "wx/protocol/protocol.h" 
  21 class WXDLLIMPEXP_NET wxFileProto
: public wxProtocol 
{ 
  22   DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto
) 
  23   DECLARE_PROTOCOL(wxFileProto
) 
  25   wxProtocolError m_error
; 
  28   virtual ~wxFileProto(); 
  30   wxProtocolError 
GetError() { return m_error
; } 
  31   bool Abort() { return TRUE
; } 
  32   wxInputStream 
*GetInputStream(const wxString
& path
); 
  35 #endif // wxUSE_PROTOCOL_FILE 
  37 #endif // __WX_PROTO_FILE_H__