]>
git.saurik.com Git - wxWidgets.git/blob - src/common/sckfile.cpp
bdb5681d22abb4470f3a9d115d767676969d25ff
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"
15 // For compilers that support precompilation, includes "wx.h".
16 #include "wx/wxprec.h"
27 #include <wx/wfstream.h>
28 #include <wx/protocol/file.h>
30 #if !USE_SHARED_LIBRARY
31 IMPLEMENT_DYNAMIC_CLASS(wxFileProto
, wxProtocol
)
32 IMPLEMENT_PROTOCOL(wxFileProto
, T("file"), NULL
, FALSE
)
35 wxFileProto::wxFileProto()
40 wxFileProto::~wxFileProto()
44 wxInputStream
*wxFileProto::GetInputStream(const wxString
& path
)
46 return new wxFileInputStream(path
);