wxFileSystem now compiles if wxUSE_HTML (required by wxHTML)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/setup.h"
|
||||||
|
|
||||||
#if (wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
|
#if (wxUSE_HTML || wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
|
||||||
|
|
||||||
#include "wx/stream.h"
|
#include "wx/stream.h"
|
||||||
#include "wx/mimetype.h"
|
#include "wx/mimetype.h"
|
||||||
@@ -125,9 +125,9 @@ class WXDLLEXPORT wxFileSystemHandler : public wxObject
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
static void CleanUpStatics();
|
static void CleanUpStatics();
|
||||||
// deletes static members (m_MimeMng). It can be called
|
// deletes static members (m_MimeMng). It can be called
|
||||||
// as many times as you wish because m_MimeMng is created
|
// as many times as you wish because m_MimeMng is created
|
||||||
// on demand
|
// on demand
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static wxMimeTypesManager *m_MimeMng;
|
static wxMimeTypesManager *m_MimeMng;
|
||||||
@@ -159,7 +159,7 @@ class WXDLLEXPORT wxFileSystem : public wxObject
|
|||||||
// file contained in this directory
|
// file contained in this directory
|
||||||
// (so ChangePathTo("dir/subdir/xh.htm") sets m_Path to "dir/subdir/")
|
// (so ChangePathTo("dir/subdir/xh.htm") sets m_Path to "dir/subdir/")
|
||||||
|
|
||||||
wxString GetPath() const {return m_Path;}
|
wxString GetPath() const {return m_Path;}
|
||||||
|
|
||||||
wxFSFile* OpenFile(const wxString& location);
|
wxFSFile* OpenFile(const wxString& location);
|
||||||
// opens given file and returns pointer to input stream.
|
// opens given file and returns pointer to input stream.
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
#define wxUSE_FS_INET 0
|
#define wxUSE_FS_INET 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
|
#if (wxUSE_HTML || wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
|
||||||
|
|
||||||
#include "wx/wfstream.h"
|
#include "wx/wfstream.h"
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
|
Reference in New Issue
Block a user