]>
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 ///////////////////////////////////////////////////////////////////////////// 
  11 #ifndef __WX_PROTO_FILE_H__ 
  12 #define __WX_PROTO_FILE_H__ 
  15 #pragma interface "sckfile.h" 
  18 #include "wx/protocol/protocol.h" 
  21 class WXDLLEXPORT wxFileProto
: public wxProtocol 
{ 
  22   DECLARE_DYNAMIC_CLASS(wxFileProto
) 
  23   DECLARE_PROTOCOL(wxFileProto
) 
  25   wxProtocolError m_error
; 
  30   wxProtocolError 
GetError() { return m_error
; } 
  31   bool Abort() { return TRUE
; } 
  32   wxInputStream 
*GetInputStream(const wxString
& path
);