src/common/filefn.cpp \
src/common/filename.cpp \
src/common/filesys.cpp \
+ src/common/filtall.cpp \
+ src/common/filtfind.cpp \
src/common/fmapbase.cpp \
src/common/fs_zip.cpp \
src/common/hash.cpp \
monodll_filefn.o \
monodll_filename.o \
monodll_filesys.o \
+ monodll_filtall.o \
+ monodll_filtfind.o \
monodll_fmapbase.o \
monodll_fs_zip.o \
monodll_hash.o \
monolib_filefn.o \
monolib_filename.o \
monolib_filesys.o \
+ monolib_filtall.o \
+ monolib_filtfind.o \
monolib_fmapbase.o \
monolib_fs_zip.o \
monolib_hash.o \
basedll_filefn.o \
basedll_filename.o \
basedll_filesys.o \
+ basedll_filtall.o \
+ basedll_filtfind.o \
basedll_fmapbase.o \
basedll_fs_zip.o \
basedll_hash.o \
baselib_filefn.o \
baselib_filename.o \
baselib_filesys.o \
+ baselib_filtall.o \
+ baselib_filtfind.o \
baselib_fmapbase.o \
baselib_fs_zip.o \
baselib_hash.o \
monodll_filesys.o: $(srcdir)/src/common/filesys.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/filesys.cpp
+monodll_filtall.o: $(srcdir)/src/common/filtall.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/filtall.cpp
+
+monodll_filtfind.o: $(srcdir)/src/common/filtfind.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/filtfind.cpp
+
monodll_fmapbase.o: $(srcdir)/src/common/fmapbase.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/fmapbase.cpp
monolib_filesys.o: $(srcdir)/src/common/filesys.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/filesys.cpp
+monolib_filtall.o: $(srcdir)/src/common/filtall.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/filtall.cpp
+
+monolib_filtfind.o: $(srcdir)/src/common/filtfind.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/filtfind.cpp
+
monolib_fmapbase.o: $(srcdir)/src/common/fmapbase.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/fmapbase.cpp
basedll_filesys.o: $(srcdir)/src/common/filesys.cpp $(BASEDLL_ODEP)
$(CXXC) -c -o $@ $(BASEDLL_CXXFLAGS) $(srcdir)/src/common/filesys.cpp
+basedll_filtall.o: $(srcdir)/src/common/filtall.cpp $(BASEDLL_ODEP)
+ $(CXXC) -c -o $@ $(BASEDLL_CXXFLAGS) $(srcdir)/src/common/filtall.cpp
+
+basedll_filtfind.o: $(srcdir)/src/common/filtfind.cpp $(BASEDLL_ODEP)
+ $(CXXC) -c -o $@ $(BASEDLL_CXXFLAGS) $(srcdir)/src/common/filtfind.cpp
+
basedll_fmapbase.o: $(srcdir)/src/common/fmapbase.cpp $(BASEDLL_ODEP)
$(CXXC) -c -o $@ $(BASEDLL_CXXFLAGS) $(srcdir)/src/common/fmapbase.cpp
baselib_filesys.o: $(srcdir)/src/common/filesys.cpp $(BASELIB_ODEP)
$(CXXC) -c -o $@ $(BASELIB_CXXFLAGS) $(srcdir)/src/common/filesys.cpp
+baselib_filtall.o: $(srcdir)/src/common/filtall.cpp $(BASELIB_ODEP)
+ $(CXXC) -c -o $@ $(BASELIB_CXXFLAGS) $(srcdir)/src/common/filtall.cpp
+
+baselib_filtfind.o: $(srcdir)/src/common/filtfind.cpp $(BASELIB_ODEP)
+ $(CXXC) -c -o $@ $(BASELIB_CXXFLAGS) $(srcdir)/src/common/filtfind.cpp
+
baselib_fmapbase.o: $(srcdir)/src/common/fmapbase.cpp $(BASELIB_ODEP)
$(CXXC) -c -o $@ $(BASELIB_CXXFLAGS) $(srcdir)/src/common/fmapbase.cpp
src/common/filefn.cpp
src/common/filename.cpp
src/common/filesys.cpp
+ src/common/filtall.cpp
+ src/common/filtfind.cpp
src/common/fmapbase.cpp
src/common/fs_zip.cpp
src/common/hash.cpp
$(OBJS)\monodll_filefn.obj \
$(OBJS)\monodll_filename.obj \
$(OBJS)\monodll_filesys.obj \
+ $(OBJS)\monodll_filtall.obj \
+ $(OBJS)\monodll_filtfind.obj \
$(OBJS)\monodll_fmapbase.obj \
$(OBJS)\monodll_fs_zip.obj \
$(OBJS)\monodll_hash.obj \
$(OBJS)\monolib_filefn.obj \
$(OBJS)\monolib_filename.obj \
$(OBJS)\monolib_filesys.obj \
+ $(OBJS)\monolib_filtall.obj \
+ $(OBJS)\monolib_filtfind.obj \
$(OBJS)\monolib_fmapbase.obj \
$(OBJS)\monolib_fs_zip.obj \
$(OBJS)\monolib_hash.obj \
$(OBJS)\basedll_filefn.obj \
$(OBJS)\basedll_filename.obj \
$(OBJS)\basedll_filesys.obj \
+ $(OBJS)\basedll_filtall.obj \
+ $(OBJS)\basedll_filtfind.obj \
$(OBJS)\basedll_fmapbase.obj \
$(OBJS)\basedll_fs_zip.obj \
$(OBJS)\basedll_hash.obj \
$(OBJS)\baselib_filefn.obj \
$(OBJS)\baselib_filename.obj \
$(OBJS)\baselib_filesys.obj \
+ $(OBJS)\baselib_filtall.obj \
+ $(OBJS)\baselib_filtfind.obj \
$(OBJS)\baselib_fmapbase.obj \
$(OBJS)\baselib_fs_zip.obj \
$(OBJS)\baselib_hash.obj \
$(OBJS)\monodll_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monolib_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\basedll_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) $**
+$(OBJS)\basedll_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) $**
+
+$(OBJS)\basedll_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) $**
+
$(OBJS)\basedll_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) $**
$(OBJS)\baselib_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) -q -c -P -o$@ $(BASELIB_CXXFLAGS) $**
+$(OBJS)\baselib_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) -q -c -P -o$@ $(BASELIB_CXXFLAGS) $**
+
+$(OBJS)\baselib_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) -q -c -P -o$@ $(BASELIB_CXXFLAGS) $**
+
$(OBJS)\baselib_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) -q -c -P -o$@ $(BASELIB_CXXFLAGS) $**
$(OBJS)\monodll_filefn.o \
$(OBJS)\monodll_filename.o \
$(OBJS)\monodll_filesys.o \
+ $(OBJS)\monodll_filtall.o \
+ $(OBJS)\monodll_filtfind.o \
$(OBJS)\monodll_fmapbase.o \
$(OBJS)\monodll_fs_zip.o \
$(OBJS)\monodll_hash.o \
$(OBJS)\monolib_filefn.o \
$(OBJS)\monolib_filename.o \
$(OBJS)\monolib_filesys.o \
+ $(OBJS)\monolib_filtall.o \
+ $(OBJS)\monolib_filtfind.o \
$(OBJS)\monolib_fmapbase.o \
$(OBJS)\monolib_fs_zip.o \
$(OBJS)\monolib_hash.o \
$(OBJS)\basedll_filefn.o \
$(OBJS)\basedll_filename.o \
$(OBJS)\basedll_filesys.o \
+ $(OBJS)\basedll_filtall.o \
+ $(OBJS)\basedll_filtfind.o \
$(OBJS)\basedll_fmapbase.o \
$(OBJS)\basedll_fs_zip.o \
$(OBJS)\basedll_hash.o \
$(OBJS)\baselib_filefn.o \
$(OBJS)\baselib_filename.o \
$(OBJS)\baselib_filesys.o \
+ $(OBJS)\baselib_filtall.o \
+ $(OBJS)\baselib_filtfind.o \
$(OBJS)\baselib_fmapbase.o \
$(OBJS)\baselib_fs_zip.o \
$(OBJS)\baselib_hash.o \
$(OBJS)\monodll_filesys.o: ../../src/common/filesys.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monodll_filtall.o: ../../src/common/filtall.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monodll_filtfind.o: ../../src/common/filtfind.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monodll_fmapbase.o: ../../src/common/fmapbase.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_filesys.o: ../../src/common/filesys.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monolib_filtall.o: ../../src/common/filtall.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monolib_filtfind.o: ../../src/common/filtfind.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monolib_fmapbase.o: ../../src/common/fmapbase.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\basedll_filesys.o: ../../src/common/filesys.cpp
$(CXX) -c -o $@ $(BASEDLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\basedll_filtall.o: ../../src/common/filtall.cpp
+ $(CXX) -c -o $@ $(BASEDLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\basedll_filtfind.o: ../../src/common/filtfind.cpp
+ $(CXX) -c -o $@ $(BASEDLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\basedll_fmapbase.o: ../../src/common/fmapbase.cpp
$(CXX) -c -o $@ $(BASEDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\baselib_filesys.o: ../../src/common/filesys.cpp
$(CXX) -c -o $@ $(BASELIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\baselib_filtall.o: ../../src/common/filtall.cpp
+ $(CXX) -c -o $@ $(BASELIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\baselib_filtfind.o: ../../src/common/filtfind.cpp
+ $(CXX) -c -o $@ $(BASELIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\baselib_fmapbase.o: ../../src/common/fmapbase.cpp
$(CXX) -c -o $@ $(BASELIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_filefn.obj \
$(OBJS)\monodll_filename.obj \
$(OBJS)\monodll_filesys.obj \
+ $(OBJS)\monodll_filtall.obj \
+ $(OBJS)\monodll_filtfind.obj \
$(OBJS)\monodll_fmapbase.obj \
$(OBJS)\monodll_fs_zip.obj \
$(OBJS)\monodll_hash.obj \
$(OBJS)\monolib_filefn.obj \
$(OBJS)\monolib_filename.obj \
$(OBJS)\monolib_filesys.obj \
+ $(OBJS)\monolib_filtall.obj \
+ $(OBJS)\monolib_filtfind.obj \
$(OBJS)\monolib_fmapbase.obj \
$(OBJS)\monolib_fs_zip.obj \
$(OBJS)\monolib_hash.obj \
$(OBJS)\basedll_filefn.obj \
$(OBJS)\basedll_filename.obj \
$(OBJS)\basedll_filesys.obj \
+ $(OBJS)\basedll_filtall.obj \
+ $(OBJS)\basedll_filtfind.obj \
$(OBJS)\basedll_fmapbase.obj \
$(OBJS)\basedll_fs_zip.obj \
$(OBJS)\basedll_hash.obj \
$(OBJS)\baselib_filefn.obj \
$(OBJS)\baselib_filename.obj \
$(OBJS)\baselib_filesys.obj \
+ $(OBJS)\baselib_filtall.obj \
+ $(OBJS)\baselib_filtfind.obj \
$(OBJS)\baselib_fmapbase.obj \
$(OBJS)\baselib_fs_zip.obj \
$(OBJS)\baselib_hash.obj \
$(OBJS)\monodll_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monolib_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\basedll_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASEDLL_CXXFLAGS) $**
+$(OBJS)\basedll_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(BASEDLL_CXXFLAGS) $**
+
+$(OBJS)\basedll_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(BASEDLL_CXXFLAGS) $**
+
$(OBJS)\basedll_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASEDLL_CXXFLAGS) $**
$(OBJS)\baselib_filesys.obj: ..\..\src\common\filesys.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASELIB_CXXFLAGS) $**
+$(OBJS)\baselib_filtall.obj: ..\..\src\common\filtall.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(BASELIB_CXXFLAGS) $**
+
+$(OBJS)\baselib_filtfind.obj: ..\..\src\common\filtfind.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(BASELIB_CXXFLAGS) $**
+
$(OBJS)\baselib_fmapbase.obj: ..\..\src\common\fmapbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASELIB_CXXFLAGS) $**
$(OBJS)\monodll_filefn.obj &
$(OBJS)\monodll_filename.obj &
$(OBJS)\monodll_filesys.obj &
+ $(OBJS)\monodll_filtall.obj &
+ $(OBJS)\monodll_filtfind.obj &
$(OBJS)\monodll_fmapbase.obj &
$(OBJS)\monodll_fs_zip.obj &
$(OBJS)\monodll_hash.obj &
$(OBJS)\monolib_filefn.obj &
$(OBJS)\monolib_filename.obj &
$(OBJS)\monolib_filesys.obj &
+ $(OBJS)\monolib_filtall.obj &
+ $(OBJS)\monolib_filtfind.obj &
$(OBJS)\monolib_fmapbase.obj &
$(OBJS)\monolib_fs_zip.obj &
$(OBJS)\monolib_hash.obj &
$(OBJS)\basedll_filefn.obj &
$(OBJS)\basedll_filename.obj &
$(OBJS)\basedll_filesys.obj &
+ $(OBJS)\basedll_filtall.obj &
+ $(OBJS)\basedll_filtfind.obj &
$(OBJS)\basedll_fmapbase.obj &
$(OBJS)\basedll_fs_zip.obj &
$(OBJS)\basedll_hash.obj &
$(OBJS)\baselib_filefn.obj &
$(OBJS)\baselib_filename.obj &
$(OBJS)\baselib_filesys.obj &
+ $(OBJS)\baselib_filtall.obj &
+ $(OBJS)\baselib_filtfind.obj &
$(OBJS)\baselib_fmapbase.obj &
$(OBJS)\baselib_fs_zip.obj &
$(OBJS)\baselib_hash.obj &
$(OBJS)\monodll_filesys.obj : .AUTODEPEND ..\..\src\common\filesys.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+$(OBJS)\monodll_filtall.obj : .AUTODEPEND ..\..\src\common\filtall.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
+$(OBJS)\monodll_filtfind.obj : .AUTODEPEND ..\..\src\common\filtfind.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
$(OBJS)\monodll_fmapbase.obj : .AUTODEPEND ..\..\src\common\fmapbase.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monolib_filesys.obj : .AUTODEPEND ..\..\src\common\filesys.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+$(OBJS)\monolib_filtall.obj : .AUTODEPEND ..\..\src\common\filtall.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
+$(OBJS)\monolib_filtfind.obj : .AUTODEPEND ..\..\src\common\filtfind.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
$(OBJS)\monolib_fmapbase.obj : .AUTODEPEND ..\..\src\common\fmapbase.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\basedll_filesys.obj : .AUTODEPEND ..\..\src\common\filesys.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(BASEDLL_CXXFLAGS) $<
+$(OBJS)\basedll_filtall.obj : .AUTODEPEND ..\..\src\common\filtall.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(BASEDLL_CXXFLAGS) $<
+
+$(OBJS)\basedll_filtfind.obj : .AUTODEPEND ..\..\src\common\filtfind.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(BASEDLL_CXXFLAGS) $<
+
$(OBJS)\basedll_fmapbase.obj : .AUTODEPEND ..\..\src\common\fmapbase.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(BASEDLL_CXXFLAGS) $<
$(OBJS)\baselib_filesys.obj : .AUTODEPEND ..\..\src\common\filesys.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(BASELIB_CXXFLAGS) $<
+$(OBJS)\baselib_filtall.obj : .AUTODEPEND ..\..\src\common\filtall.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(BASELIB_CXXFLAGS) $<
+
+$(OBJS)\baselib_filtfind.obj : .AUTODEPEND ..\..\src\common\filtfind.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(BASELIB_CXXFLAGS) $<
+
$(OBJS)\baselib_fmapbase.obj : .AUTODEPEND ..\..\src\common\fmapbase.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(BASELIB_CXXFLAGS) $<
# End Source File
# Begin Source File
+SOURCE=..\..\src\common\filtall.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\common\filtfind.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\common\fmapbase.cpp
# End Source File
# Begin Source File
public:
wxFilterInputStream();
wxFilterInputStream(wxInputStream& stream);
+ wxFilterInputStream(wxInputStream *stream);
virtual ~wxFilterInputStream();
char Peek() { return m_parent_i_stream->Peek(); }
protected:
wxInputStream *m_parent_i_stream;
+ bool m_owns;
DECLARE_NO_COPY_CLASS(wxFilterInputStream)
};
public:
wxFilterOutputStream();
wxFilterOutputStream(wxOutputStream& stream);
+ wxFilterOutputStream(wxOutputStream *stream);
virtual ~wxFilterOutputStream();
wxFileOffset GetLength() const { return m_parent_o_stream->GetLength(); }
wxOutputStream *GetFilterOutputStream() const { return m_parent_o_stream; }
+ bool Close();
+
protected:
wxOutputStream *m_parent_o_stream;
+ bool m_owns;
DECLARE_NO_COPY_CLASS(wxFilterOutputStream)
};
+enum wxStreamProtocolType
+{
+ wxSTREAM_PROTOCOL, // wxFileSystem protocol (should be only one)
+ wxSTREAM_MIMETYPE, // Mime types the stream handles
+ wxSTREAM_ENCODING, // The http Content-Encodings the stream handles
+ wxSTREAM_FILEEXTENSION // File extensions the stream handles
+};
+
+void WXDLLIMPEXP_BASE wxUseFilterClasses();
+
+class WXDLLIMPEXP_BASE wxFilterClassFactory : public wxObject
+{
+public:
+ virtual ~wxFilterClassFactory() { }
+
+ virtual wxFilterInputStream *NewStream(wxInputStream& stream) const = 0;
+ virtual wxFilterOutputStream *NewStream(wxOutputStream& stream) const = 0;
+ virtual wxFilterInputStream *NewStream(wxInputStream *stream) const = 0;
+ virtual wxFilterOutputStream *NewStream(wxOutputStream *stream) const = 0;
+
+ wxString GetProtocol() const { return wxString(*GetProtocols()); }
+
+ virtual const wxChar * const *GetProtocols(wxStreamProtocolType type
+ = wxSTREAM_PROTOCOL) const = 0;
+
+ bool CanHandle(const wxChar *protocol,
+ wxStreamProtocolType type
+ = wxSTREAM_PROTOCOL) const;
+
+ static const wxFilterClassFactory *Find(const wxChar *protocol,
+ wxStreamProtocolType type
+ = wxSTREAM_PROTOCOL);
+
+ static const wxFilterClassFactory *GetFirst();
+ const wxFilterClassFactory *GetNext() const { return m_next; }
+
+ void PushFront() { Remove(); m_next = sm_first; sm_first = this; }
+ void Remove();
+
+protected:
+ wxFilterClassFactory() : m_next(this) { }
+
+ wxFilterClassFactory& operator=(const wxFilterClassFactory&)
+ { return *this; }
+
+private:
+ static wxFilterClassFactory *sm_first;
+ wxFilterClassFactory *m_next;
+
+ DECLARE_ABSTRACT_CLASS(wxFilterClassFactory)
+};
+
// ============================================================================
// buffered streams
// ============================================================================
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: src/common/filtall.cpp
+// Purpose: Link all filter streams
+// Author: Mike Wetherell
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Mike Wetherell
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_STREAMS
+
+#if wxUSE_ZLIB
+#include "wx/zstream.h"
+#endif
+
+// Reference filter classes to ensure they are linked into a statically
+// linked program that uses Find or GetFirst to look for an filter handler.
+// It is in its own file so that the user can override this behaviour by
+// providing their own implementation.
+
+void wxUseFilterClasses()
+{
+#if wxUSE_ZLIB
+ wxZlibClassFactory();
+ wxGzipClassFactory();
+#endif
+}
+
+#endif // wxUSE_STREAMS
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: src/common/filtfind.cpp
+// Purpose: Streams for filter formats
+// Author: Mike Wetherell
+// RCS-ID: $Id$
+// Copyright: (c) Mike Wetherell
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_STREAMS
+
+#include "wx/stream.h"
+
+// These functions are in a separate file so that statically linked apps
+// that do not call them to search for filter handlers will only link in
+// the filter classes they use.
+
+const wxFilterClassFactory *
+wxFilterClassFactory::Find(const wxChar *protocol, wxStreamProtocolType type)
+{
+ for (const wxFilterClassFactory *f = GetFirst(); f; f = f->GetNext())
+ if (f->CanHandle(protocol, type))
+ return f;
+
+ return NULL;
+}
+
+// static
+const wxFilterClassFactory *wxFilterClassFactory::GetFirst()
+{
+ if (!sm_first)
+ wxUseFilterClasses();
+ return sm_first;
+}
+
+#endif // wxUSE_STREAMS
// ----------------------------------------------------------------------------
wxFilterInputStream::wxFilterInputStream()
+ : m_parent_i_stream(NULL),
+ m_owns(false)
{
- m_parent_i_stream = NULL;
}
wxFilterInputStream::wxFilterInputStream(wxInputStream& stream)
+ : m_parent_i_stream(&stream),
+ m_owns(false)
+{
+}
+
+wxFilterInputStream::wxFilterInputStream(wxInputStream *stream)
+ : m_parent_i_stream(stream),
+ m_owns(true)
{
- m_parent_i_stream = &stream;
}
wxFilterInputStream::~wxFilterInputStream()
{
+ if (m_owns)
+ delete m_parent_i_stream;
}
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
wxFilterOutputStream::wxFilterOutputStream()
+ : m_parent_o_stream(NULL),
+ m_owns(false)
{
- m_parent_o_stream = NULL;
}
wxFilterOutputStream::wxFilterOutputStream(wxOutputStream& stream)
+ : m_parent_o_stream(&stream),
+ m_owns(false)
+{
+}
+
+wxFilterOutputStream::wxFilterOutputStream(wxOutputStream *stream)
+ : m_parent_o_stream(stream),
+ m_owns(true)
+{
+}
+
+bool wxFilterOutputStream::Close()
{
- m_parent_o_stream = &stream;
+ if (m_parent_o_stream && m_owns)
+ return m_parent_o_stream->Close();
+ else
+ return true;
}
wxFilterOutputStream::~wxFilterOutputStream()
{
+ if (m_owns)
+ delete m_parent_o_stream;
+}
+
+// ----------------------------------------------------------------------------
+// wxFilterClassFactory
+// ----------------------------------------------------------------------------
+
+IMPLEMENT_ABSTRACT_CLASS(wxFilterClassFactory, wxObject)
+
+wxFilterClassFactory *wxFilterClassFactory::sm_first = NULL;
+
+bool wxFilterClassFactory::CanHandle(const wxChar *protocol,
+ wxStreamProtocolType type) const
+{
+ if (type == wxSTREAM_FILEEXTENSION)
+ {
+ size_t len = wxStrlen(protocol);
+
+ for (const wxChar * const *p = GetProtocols(type); p && *p; p++)
+ {
+ size_t l = wxStrlen(*p);
+
+ if (l <= len && wxStrcmp(*p, protocol + len - l) == 0)
+ return true;
+ }
+ }
+ else
+ {
+ for (const wxChar * const *p = GetProtocols(type); p && *p; p++)
+ if (wxStrcmp(*p, protocol) == 0)
+ return true;
+ }
+
+ return false;
+}
+
+void wxFilterClassFactory::Remove()
+{
+ if (m_next != this)
+ {
+ wxFilterClassFactory **pp = &sm_first;
+
+ while (*pp != this)
+ pp = &(*pp)->m_next;
+
+ *pp = m_next;
+
+ m_next = this;
+ }
}
// ----------------------------------------------------------------------------
# End Source File
# Begin Source File
+SOURCE=.\common\filtall.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\common\filtfind.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\fldlgcmn.cpp
# End Source File
# Begin Source File