]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fs_zip.h
fixed memory leak introduced by dynamic wxMimeTypesManagerImpl creation (rev. 1.44...
[wxWidgets.git] / include / wx / fs_zip.h
index 3276be718641f2bcd3302d3ee6a28c916bfdd604..ba864ce522a65c725c07f349b50eea8dd1246dbd 100644 (file)
 #ifndef _WX_FS_ZIP_H_
 #define _WX_FS_ZIP_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "fs_zip.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_FILESYSTEM && wxUSE_FS_ZIP && wxUSE_STREAMS
@@ -37,6 +33,7 @@ class WXDLLIMPEXP_BASE wxZipFSHandler : public wxFileSystemHandler
         virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
         virtual wxString FindFirst(const wxString& spec, int flags = 0);
         virtual wxString FindNext();
+        void Cleanup();
         ~wxZipFSHandler();
 
     private:
@@ -47,7 +44,6 @@ class WXDLLIMPEXP_BASE wxZipFSHandler : public wxFileSystemHandler
         wxZipFilenameHashMap *m_DirsFound;
 
         wxString DoFind();
-        void CloseArchive(class wxZipInputStream *archive);
 
     DECLARE_NO_COPY_CLASS(wxZipFSHandler)
 };