Minor header cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: archive.h
|
// Name: wx/archive.h
|
||||||
// Purpose: Streams for archive formats
|
// Purpose: Streams for archive formats
|
||||||
// Author: Mike Wetherell
|
// Author: Mike Wetherell
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
@@ -55,7 +55,7 @@ public:
|
|||||||
virtual void SetIsReadOnly(bool isReadOnly = true) = 0;
|
virtual void SetIsReadOnly(bool isReadOnly = true) = 0;
|
||||||
virtual void SetName(const wxString& name,
|
virtual void SetName(const wxString& name,
|
||||||
wxPathFormat format = wxPATH_NATIVE) = 0;
|
wxPathFormat format = wxPATH_NATIVE) = 0;
|
||||||
|
|
||||||
wxArchiveEntry *Clone() const { return DoClone(); }
|
wxArchiveEntry *Clone() const { return DoClone(); }
|
||||||
|
|
||||||
void SetNotifier(wxArchiveNotifier& notifier);
|
void SetNotifier(wxArchiveNotifier& notifier);
|
||||||
@@ -94,14 +94,14 @@ public:
|
|||||||
typedef wxArchiveEntry entry_type;
|
typedef wxArchiveEntry entry_type;
|
||||||
|
|
||||||
virtual ~wxArchiveInputStream() { }
|
virtual ~wxArchiveInputStream() { }
|
||||||
|
|
||||||
virtual bool OpenEntry(wxArchiveEntry& entry) = 0;
|
virtual bool OpenEntry(wxArchiveEntry& entry) = 0;
|
||||||
virtual bool CloseEntry() = 0;
|
virtual bool CloseEntry() = 0;
|
||||||
|
|
||||||
wxArchiveEntry *GetNextEntry() { return DoGetNextEntry(); }
|
wxArchiveEntry *GetNextEntry() { return DoGetNextEntry(); }
|
||||||
|
|
||||||
virtual char Peek() { return wxInputStream::Peek(); }
|
virtual char Peek() { return wxInputStream::Peek(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxArchiveInputStream(wxInputStream& stream, wxMBConv& conv);
|
wxArchiveInputStream(wxInputStream& stream, wxMBConv& conv);
|
||||||
wxArchiveInputStream(wxInputStream *stream, wxMBConv& conv);
|
wxArchiveInputStream(wxInputStream *stream, wxMBConv& conv);
|
||||||
@@ -123,7 +123,7 @@ private:
|
|||||||
//
|
//
|
||||||
// Only one entry can be open for output at a time; another call to
|
// Only one entry can be open for output at a time; another call to
|
||||||
// PutNextEntry closes the current entry and begins the next.
|
// PutNextEntry closes the current entry and begins the next.
|
||||||
//
|
//
|
||||||
// The overload 'bool PutNextEntry(wxArchiveEntry *entry)' takes ownership
|
// The overload 'bool PutNextEntry(wxArchiveEntry *entry)' takes ownership
|
||||||
// of the entry object.
|
// of the entry object.
|
||||||
|
|
||||||
@@ -207,7 +207,7 @@ public:
|
|||||||
if (m_rep)
|
if (m_rep)
|
||||||
m_rep->AddRef();
|
m_rep->AddRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
~wxArchiveIterator() {
|
~wxArchiveIterator() {
|
||||||
if (m_rep)
|
if (m_rep)
|
||||||
m_rep->UnRef();
|
m_rep->UnRef();
|
||||||
@@ -255,13 +255,13 @@ private:
|
|||||||
typename Arc::entry_type* m_entry;
|
typename Arc::entry_type* m_entry;
|
||||||
T m_value;
|
T m_value;
|
||||||
int m_ref;
|
int m_ref;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Rep(Arc& arc, typename Arc::entry_type* entry)
|
Rep(Arc& arc, typename Arc::entry_type* entry)
|
||||||
: m_arc(arc), m_entry(entry), m_value(), m_ref(1) { }
|
: m_arc(arc), m_entry(entry), m_value(), m_ref(1) { }
|
||||||
~Rep()
|
~Rep()
|
||||||
{ delete m_entry; }
|
{ delete m_entry; }
|
||||||
|
|
||||||
void AddRef() {
|
void AddRef() {
|
||||||
m_ref++;
|
m_ref++;
|
||||||
}
|
}
|
||||||
@@ -278,7 +278,7 @@ private:
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (m_ref > 1) {
|
if (m_ref > 1) {
|
||||||
m_ref--;
|
m_ref--;
|
||||||
return new Rep(m_arc, entry);
|
return new Rep(m_arc, entry);
|
||||||
}
|
}
|
||||||
delete m_entry;
|
delete m_entry;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: artprov.h
|
// Name: wx/artprov.h
|
||||||
// Purpose: wxArtProvider class
|
// Purpose: wxArtProvider class
|
||||||
// Author: Vaclav Slavik
|
// Author: Vaclav Slavik
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -146,7 +146,7 @@ public:
|
|||||||
const wxArtClient& client = wxART_OTHER,
|
const wxArtClient& client = wxART_OTHER,
|
||||||
const wxSize& size = wxDefaultSize);
|
const wxSize& size = wxDefaultSize);
|
||||||
|
|
||||||
// Get the size hint of an icon from a specific wxArtClient, queries
|
// Get the size hint of an icon from a specific wxArtClient, queries
|
||||||
// the topmost provider if platform_dependent = false
|
// the topmost provider if platform_dependent = false
|
||||||
static wxSize GetSizeHint(const wxArtClient& client, bool platform_dependent = false);
|
static wxSize GetSizeHint(const wxArtClient& client, bool platform_dependent = false);
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@ protected:
|
|||||||
static void CleanUpProviders();
|
static void CleanUpProviders();
|
||||||
|
|
||||||
// Get the default size of an icon for a specific client
|
// Get the default size of an icon for a specific client
|
||||||
virtual wxSize DoGetSizeHint(const wxArtClient& client)
|
virtual wxSize DoGetSizeHint(const wxArtClient& client)
|
||||||
{
|
{
|
||||||
return GetSizeHint(client, true);
|
return GetSizeHint(client, true);
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: caret.h
|
// Name: wx/caret.h
|
||||||
// Purpose: wxCaretBase class - the interface of wxCaret
|
// Purpose: wxCaretBase class - the interface of wxCaret
|
||||||
// Author: Vadim Zeitlin
|
// Author: Vadim Zeitlin
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -250,4 +250,3 @@ private:
|
|||||||
#endif // wxUSE_CARET
|
#endif // wxUSE_CARET
|
||||||
|
|
||||||
#endif // _WX_CARET_H_BASE_
|
#endif // _WX_CARET_H_BASE_
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: cmndata.h
|
// Name: wx/cmndata.h
|
||||||
// Purpose: Common GDI data classes
|
// Purpose: Common GDI data classes
|
||||||
// Author: Julian Smart and others
|
// Author: Julian Smart and others
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -210,13 +210,13 @@ public:
|
|||||||
|
|
||||||
wxString GetFilename() const { return m_filename; }
|
wxString GetFilename() const { return m_filename; }
|
||||||
void SetFilename( const wxString &filename ) { m_filename = filename; }
|
void SetFilename( const wxString &filename ) { m_filename = filename; }
|
||||||
|
|
||||||
void operator=(const wxPrintData& data);
|
void operator=(const wxPrintData& data);
|
||||||
|
|
||||||
char* GetPrivData() const { return m_privData; }
|
char* GetPrivData() const { return m_privData; }
|
||||||
int GetPrivDataLen() const { return m_privDataLen; }
|
int GetPrivDataLen() const { return m_privDataLen; }
|
||||||
void SetPrivData( char *privData, int len );
|
void SetPrivData( char *privData, int len );
|
||||||
|
|
||||||
|
|
||||||
#if WXWIN_COMPATIBILITY_2_4
|
#if WXWIN_COMPATIBILITY_2_4
|
||||||
// PostScript-specific data
|
// PostScript-specific data
|
||||||
@@ -262,12 +262,12 @@ private:
|
|||||||
wxPrintQuality m_printQuality;
|
wxPrintQuality m_printQuality;
|
||||||
wxPaperSize m_paperId;
|
wxPaperSize m_paperId;
|
||||||
wxSize m_paperSize;
|
wxSize m_paperSize;
|
||||||
|
|
||||||
wxString m_filename;
|
wxString m_filename;
|
||||||
|
|
||||||
char* m_privData;
|
char* m_privData;
|
||||||
int m_privDataLen;
|
int m_privDataLen;
|
||||||
|
|
||||||
wxPrintNativeDataBase *m_nativeData;
|
wxPrintNativeDataBase *m_nativeData;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: dynarray.h
|
// Name: wx/dynarray.h
|
||||||
// Purpose: auto-resizable (i.e. dynamic) array support
|
// Purpose: auto-resizable (i.e. dynamic) array support
|
||||||
// Author: Vadim Zeitlin
|
// Author: Vadim Zeitlin
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -1007,4 +1007,3 @@ WX_DEFINE_USER_EXPORTED_ARRAY_PTR(void *, wxArrayPtrVoid, class WXDLLIMPEXP_BASE
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif // _DYNARRAY_H
|
#endif // _DYNARRAY_H
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: include/wx/fileback.h
|
// Name: wx/fileback.h
|
||||||
// Purpose: Back an input stream with memory or a file
|
// Purpose: Back an input stream with memory or a file
|
||||||
// Author: Mike Wetherell
|
// Author: Mike Wetherell
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: filesys.h
|
// Name: wx/filesys.h
|
||||||
// Purpose: class for opening files - virtual file system
|
// Purpose: class for opening files - virtual file system
|
||||||
// Author: Vaclav Slavik
|
// Author: Vaclav Slavik
|
||||||
// Copyright: (c) 1999 Vaclav Slavik
|
// Copyright: (c) 1999 Vaclav Slavik
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: fs_arc.h
|
// Name: wx/fs_arc.h
|
||||||
// Purpose: Archive file system
|
// Purpose: Archive file system
|
||||||
// Author: Vaclav Slavik, Mike Wetherell
|
// Author: Vaclav Slavik, Mike Wetherell
|
||||||
// Copyright: (c) 1999 Vaclav Slavik, (c) 2006 Mike Wetherell
|
// Copyright: (c) 1999 Vaclav Slavik, (c) 2006 Mike Wetherell
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: fs_filter.h
|
// Name: wx/fs_filter.h
|
||||||
// Purpose: Filter file system handler
|
// Purpose: Filter file system handler
|
||||||
// Author: Mike Wetherell
|
// Author: Mike Wetherell
|
||||||
// Copyright: (c) 2006 Mike Wetherell
|
// Copyright: (c) 2006 Mike Wetherell
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: include/wx/fs_zip.h
|
// Name: wx/fs_zip.h
|
||||||
// Purpose: wxZipFSHandler typedef for compatibility
|
// Purpose: wxZipFSHandler typedef for compatibility
|
||||||
// Author: Mike Wetherell
|
// Author: Mike Wetherell
|
||||||
// Copyright: (c) 2006 Mike Wetherell
|
// Copyright: (c) 2006 Mike Wetherell
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: gifdecod.h
|
// Name: wx/gifdecod.h
|
||||||
// Purpose: wxGIFDecoder, GIF reader for wxImage and wxAnimation
|
// Purpose: wxGIFDecoder, GIF reader for wxImage and wxAnimation
|
||||||
// Author: Guillermo Rodriguez Garcia <guille@iies.es>
|
// Author: Guillermo Rodriguez Garcia <guille@iies.es>
|
||||||
// Version: 3.02
|
// Version: 3.02
|
||||||
@@ -114,4 +114,3 @@ private:
|
|||||||
|
|
||||||
#endif // wxUSE_STREAM && wxUSE_GIF
|
#endif // wxUSE_STREAM && wxUSE_GIF
|
||||||
#endif // _WX_GIFDECOD_H
|
#endif // _WX_GIFDECOD_H
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: imagbmp.h
|
// Name: wx/imagbmp.h
|
||||||
// Purpose: wxImage BMP, ICO, CUR and ANI handlers
|
// Purpose: wxImage BMP, ICO, CUR and ANI handlers
|
||||||
// Author: Robert Roebling, Chris Elliott
|
// Author: Robert Roebling, Chris Elliott
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: imagtga.h
|
// Name: wx/imagtga.h
|
||||||
// Purpose: wxImage TGA handler
|
// Purpose: wxImage TGA handler
|
||||||
// Author: Seth Jackson
|
// Author: Seth Jackson
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: prntbase.h
|
// Name: wx/prntbase.h
|
||||||
// Purpose: Base classes for printing framework
|
// Purpose: Base classes for printing framework
|
||||||
// Author: Julian Smart
|
// Author: Julian Smart
|
||||||
// Modified by:
|
// Modified by:
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: process.h
|
// Name: wx/process.h
|
||||||
// Purpose: wxProcess class
|
// Purpose: wxProcess class
|
||||||
// Author: Guilhem Lavaux
|
// Author: Guilhem Lavaux
|
||||||
// Modified by: Vadim Zeitlin to check error codes, added Detach() method
|
// Modified by: Vadim Zeitlin to check error codes, added Detach() method
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: sizer.h
|
// Name: wx/sizer.h
|
||||||
// Purpose: provide wxSizer class for layout
|
// Purpose: provide wxSizer class for layout
|
||||||
// Author: Robert Roebling and Robin Dunn
|
// Author: Robert Roebling and Robin Dunn
|
||||||
// Modified by: Ron Lee, Vadim Zeitlin (wxSizerFlags)
|
// Modified by: Ron Lee, Vadim Zeitlin (wxSizerFlags)
|
||||||
@@ -467,7 +467,7 @@ public:
|
|||||||
wxSizerItem* PrependStretchSpacer(int prop = 1);
|
wxSizerItem* PrependStretchSpacer(int prop = 1);
|
||||||
|
|
||||||
// set (or possibly unset if window is NULL) or get the window this sizer
|
// set (or possibly unset if window is NULL) or get the window this sizer
|
||||||
// is used in
|
// is used in
|
||||||
void SetContainingWindow(wxWindow *window);
|
void SetContainingWindow(wxWindow *window);
|
||||||
wxWindow *GetContainingWindow() const { return m_containingWindow; }
|
wxWindow *GetContainingWindow() const { return m_containingWindow; }
|
||||||
|
|
||||||
@@ -484,9 +484,9 @@ public:
|
|||||||
virtual bool Detach( wxSizer *sizer );
|
virtual bool Detach( wxSizer *sizer );
|
||||||
virtual bool Detach( int index );
|
virtual bool Detach( int index );
|
||||||
|
|
||||||
virtual bool Replace( wxWindow *oldwin, wxWindow *newwin, bool recursive = false );
|
virtual bool Replace( wxWindow *oldwin, wxWindow *newwin, bool recursive = false );
|
||||||
virtual bool Replace( wxSizer *oldsz, wxSizer *newsz, bool recursive = false );
|
virtual bool Replace( wxSizer *oldsz, wxSizer *newsz, bool recursive = false );
|
||||||
virtual bool Replace( size_t index, wxSizerItem *newitem );
|
virtual bool Replace( size_t index, wxSizerItem *newitem );
|
||||||
|
|
||||||
virtual void Clear( bool delete_windows = false );
|
virtual void Clear( bool delete_windows = false );
|
||||||
virtual void DeleteWindows();
|
virtual void DeleteWindows();
|
||||||
@@ -1050,4 +1050,3 @@ wxSizer::InsertStretchSpacer(size_t index, int prop)
|
|||||||
|
|
||||||
|
|
||||||
#endif // __WXSIZER_H__
|
#endif // __WXSIZER_H__
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: tarstrm.h
|
// Name: wx/tarstrm.h
|
||||||
// Purpose: Streams for Tar files
|
// Purpose: Streams for Tar files
|
||||||
// Author: Mike Wetherell
|
// Author: Mike Wetherell
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: xpmdecod.h
|
// Name: wx/xpmdecod.h
|
||||||
// Purpose: wxXPMDecoder, XPM reader for wxImage and wxBitmap
|
// Purpose: wxXPMDecoder, XPM reader for wxImage and wxBitmap
|
||||||
// Author: Vaclav Slavik
|
// Author: Vaclav Slavik
|
||||||
// CVS-ID: $Id$
|
// CVS-ID: $Id$
|
||||||
@@ -45,4 +45,3 @@ public:
|
|||||||
#endif // wxUSE_IMAGE && wxUSE_XPM
|
#endif // wxUSE_IMAGE && wxUSE_XPM
|
||||||
|
|
||||||
#endif // _WX_XPM_H_
|
#endif // _WX_XPM_H_
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: zipstrm.h
|
// Name: wx/zipstrm.h
|
||||||
// Purpose: Streams for Zip files
|
// Purpose: Streams for Zip files
|
||||||
// Author: Mike Wetherell
|
// Author: Mike Wetherell
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
|| !defined __GNUC_MINOR__ \
|
|| !defined __GNUC_MINOR__ \
|
||||||
|| !defined __GNUC_PATCHLEVEL__ \
|
|| !defined __GNUC_PATCHLEVEL__ \
|
||||||
|| __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ < 30402)
|
|| __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ < 30402)
|
||||||
#define WXZIPFIX WXDLLIMPEXP_BASE
|
#define WXZIPFIX WXDLLIMPEXP_BASE
|
||||||
#else
|
#else
|
||||||
#define WXZIPFIX
|
#define WXZIPFIX
|
||||||
#endif
|
#endif
|
||||||
@@ -52,7 +52,7 @@ enum wxZipMethod
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Originating File-System.
|
// Originating File-System.
|
||||||
//
|
//
|
||||||
// These are Pkware's values. Note that Info-zip disagree on some of them,
|
// These are Pkware's values. Note that Info-zip disagree on some of them,
|
||||||
// most notably NTFS.
|
// most notably NTFS.
|
||||||
//
|
//
|
||||||
@@ -267,7 +267,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// wxZipOutputStream
|
// wxZipOutputStream
|
||||||
|
|
||||||
WX_DECLARE_LIST_WITH_DECL(wxZipEntry, wxZipEntryList_, class WXDLLIMPEXP_BASE);
|
WX_DECLARE_LIST_WITH_DECL(wxZipEntry, wxZipEntryList_, class WXDLLIMPEXP_BASE);
|
||||||
|
|
||||||
@@ -302,7 +302,7 @@ public:
|
|||||||
|
|
||||||
int GetLevel() const { return m_level; }
|
int GetLevel() const { return m_level; }
|
||||||
void WXZIPFIX SetLevel(int level);
|
void WXZIPFIX SetLevel(int level);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual size_t WXZIPFIX OnSysWrite(const void *buffer, size_t size);
|
virtual size_t WXZIPFIX OnSysWrite(const void *buffer, size_t size);
|
||||||
virtual wxFileOffset OnSysTell() const { return m_entrySize; }
|
virtual wxFileOffset OnSysTell() const { return m_entrySize; }
|
||||||
@@ -352,7 +352,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// wxZipInputStream
|
// wxZipInputStream
|
||||||
|
|
||||||
class WXDLLIMPEXP_BASE wxZipInputStream : public wxArchiveInputStream
|
class WXDLLIMPEXP_BASE wxZipInputStream : public wxArchiveInputStream
|
||||||
{
|
{
|
||||||
@@ -408,7 +408,7 @@ private:
|
|||||||
wxUint32 ReadSignature();
|
wxUint32 ReadSignature();
|
||||||
bool FindEndRecord();
|
bool FindEndRecord();
|
||||||
bool LoadEndRecord();
|
bool LoadEndRecord();
|
||||||
|
|
||||||
bool AtHeader() const { return m_headerSize == 0; }
|
bool AtHeader() const { return m_headerSize == 0; }
|
||||||
bool AfterHeader() const { return m_headerSize > 0 && !m_decomp; }
|
bool AfterHeader() const { return m_headerSize > 0 && !m_decomp; }
|
||||||
bool IsOpened() const { return m_decomp != NULL; }
|
bool IsOpened() const { return m_decomp != NULL; }
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: zstream.h
|
// Name: wx/zstream.h
|
||||||
// Purpose: Memory stream classes
|
// Purpose: Memory stream classes
|
||||||
// Author: Guilhem Lavaux
|
// Author: Guilhem Lavaux
|
||||||
// Modified by: Mike Wetherell
|
// Modified by: Mike Wetherell
|
||||||
|
Reference in New Issue
Block a user