]>
git.saurik.com Git - wxWidgets.git/blob - src/common/sckfile.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: File protocol
4 // Author: Guilhem Lavaux
8 // Copyright: (c) 1997, 1998 Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #pragma implementation "sckfile.h"
16 #include <wx/fstream.h>
17 #include "wx/protocol/file.h"
23 #if !USE_SHARED_LIBRARY
24 IMPLEMENT_DYNAMIC_CLASS(wxFileProto
, wxProtocol
)
25 IMPLEMENT_PROTOCOL(wxFileProto
, "file", NULL
, FALSE
)
28 wxFileProto::wxFileProto()
33 wxFileProto::~wxFileProto()
37 wxInputStream
*wxFileProto::GetInputStream(const wxString
& path
)
39 return new wxFileInputStream(path
);