]> git.saurik.com Git - wxWidgets.git/blob - include/wx/protocol/file.h
testing header replace
[wxWidgets.git] / include / wx / protocol / file.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: file.h
3 // Purpose: File protocol
4 // Author: Guilhem Lavaux
5 // Modified by:
6 // Created: 1997
7 // RCS-ID: $Id$
8 // Copyright: (c) 1997, 1998 Guilhem Lavaux
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __WX_PROTO_FILE_H__
13 #define __WX_PROTO_FILE_H__
14
15 #include "wx/defs.h"
16
17 #if wxUSE_PROTOCOL_FILE
18
19 #include "wx/protocol/protocol.h"
20
21 class WXDLLIMPEXP_NET wxFileProto: public wxProtocol
22 {
23 public:
24 wxFileProto();
25 virtual ~wxFileProto();
26
27 bool Abort() { return true; }
28 wxString GetContentType() const { return wxEmptyString; }
29
30 wxInputStream *GetInputStream(const wxString& path);
31
32 protected:
33 DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto)
34 DECLARE_PROTOCOL(wxFileProto)
35 };
36
37 #endif // wxUSE_PROTOCOL_FILE
38
39 #endif // __WX_PROTO_FILE_H__