]> git.saurik.com Git - wxWidgets.git/blame - include/wx/protocol/file.h
Update msw files to use the new definitions
[wxWidgets.git] / include / wx / protocol / file.h
CommitLineData
f4ada568 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/protocol/file.h
f4ada568
GL
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
65571936 9// Licence: wxWindows licence
f4ada568 10/////////////////////////////////////////////////////////////////////////////
a5d46b73 11
f4ada568
GL
12#ifndef __WX_PROTO_FILE_H__
13#define __WX_PROTO_FILE_H__
14
a5d46b73
VZ
15#include "wx/defs.h"
16
17#if wxUSE_PROTOCOL_FILE
18
f4ada568 19#include "wx/protocol/protocol.h"
f4ada568 20
730b772b
FM
21class WXDLLIMPEXP_NET wxFileProto: public wxProtocol
22{
f4ada568 23public:
730b772b
FM
24 wxFileProto();
25 virtual ~wxFileProto();
26
27 bool Abort() { return true; }
28 wxString GetContentType() const { return wxEmptyString; }
f4ada568 29
730b772b
FM
30 wxInputStream *GetInputStream(const wxString& path);
31
32protected:
33 DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto)
34 DECLARE_PROTOCOL(wxFileProto)
f4ada568
GL
35};
36
a5d46b73
VZ
37#endif // wxUSE_PROTOCOL_FILE
38
39#endif // __WX_PROTO_FILE_H__