]> git.saurik.com Git - wxWidgets.git/blame - include/wx/protocol/file.h
wxFTP::Close() shouldn't hide base wxSocket function
[wxWidgets.git] / include / wx / protocol / file.h
CommitLineData
f4ada568
GL
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 license
10/////////////////////////////////////////////////////////////////////////////
11#ifndef __WX_PROTO_FILE_H__
12#define __WX_PROTO_FILE_H__
13
14#ifdef __GNUG__
15#pragma interface "sckfile.h"
16#endif
17
18#include "wx/protocol/protocol.h"
19#include "wx/url.h"
20
21class WXDLLEXPORT wxFileProto: public wxProtocol {
22 DECLARE_DYNAMIC_CLASS(wxFileProto)
23 DECLARE_PROTOCOL(wxFileProto)
24protected:
25 wxProtocolError m_error;
26public:
27 wxFileProto();
28 ~wxFileProto();
29
30 wxProtocolError GetError() { return m_error; }
31 bool Abort() { return TRUE; }
32 wxInputStream *GetInputStream(const wxString& path);
33};
34
35#endif