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