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" 
  22 class WXDLLIMPEXP_NET wxFileProto
: public wxProtocol 
{ 
  23   DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto
) 
  24   DECLARE_PROTOCOL(wxFileProto
) 
  26   wxProtocolError m_error
; 
  29   virtual ~wxFileProto(); 
  31   wxProtocolError 
GetError() { return m_error
; } 
  32   bool Abort() { return TRUE
; } 
  33   wxInputStream 
*GetInputStream(const wxString
& path
); 
  36 #endif // wxUSE_PROTOCOL_FILE 
  38 #endif // __WX_PROTO_FILE_H__