ed58dbeab6
Added endl operator to wxTextStream Corrrected a few misbehaviours in wxFileDialog, Corrected tab traversal a bit Corrected wxImage::SetData() to not copy, but take the data and care for ref couting as well git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
45 lines
1012 B
C++
45 lines
1012 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: fs_zip.h
|
|
// Purpose: ZIP file system
|
|
// Author: Vaclav Slavik
|
|
// Copyright: (c) 1999 Vaclav Slavik
|
|
// Licence: wxWindows Licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORDLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#if wxUSE_FS_ZIP && wxUSE_STREAMS
|
|
|
|
|
|
#ifndef WXPRECOMP
|
|
#include "wx/wx.h"
|
|
#endif
|
|
|
|
#include "wx/filesys.h"
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// wxZipFSHandler
|
|
//--------------------------------------------------------------------------------
|
|
|
|
class WXDLLEXPORT wxZipFSHandler : public wxFileSystemHandler
|
|
{
|
|
public:
|
|
virtual bool CanOpen(const wxString& location);
|
|
virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
|
|
~wxZipFSHandler();
|
|
};
|
|
|
|
|
|
#endif
|
|
// wxUSE_FS_ZIP && wxUSE_STREAMS
|
|
|