X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716cd4107bb8a5f37dea34507453be6870aaef3a..c2651b0a5c407ceb1693a865ee19d3d57e147c97:/contrib/include/wx/applet/prepinclude.h diff --git a/contrib/include/wx/applet/prepinclude.h b/contrib/include/wx/applet/prepinclude.h index 12cb6d7e79..c021cf56dc 100644 --- a/contrib/include/wx/applet/prepinclude.h +++ b/contrib/include/wx/applet/prepinclude.h @@ -30,8 +30,13 @@ #ifndef __WX_PREPINCLUDE_H #define __WX_PREPINCLUDE_H +#include "wx/object.h" #include "wx/html/htmlproc.h" +/*------------------------------- Prototypes ------------------------------*/ + +class wxFileSystem; + /*--------------------------- Class Definitions ---------------------------*/ /**************************************************************************** @@ -41,10 +46,9 @@ wxIncludePrep class Definition class wxIncludePrep : public wxHtmlProcessor { private: //DECLARE_DYNAMIC_CLASS(wxIncludePrep); - wxString DOC_ROOT; - + wxFileSystem *m_FS; public: - wxIncludePrep() : wxHtmlProcessor() {DOC_ROOT = wxString("");} + wxIncludePrep() : wxHtmlProcessor() {} ~wxIncludePrep() {} // Process input text and return processed result @@ -54,8 +58,7 @@ public: // is the processor applied to the text. int GetPriority() const { return wxHTML_PRIORITY_SYSTEM; } - void ChangeDirectory(const wxString &dir); - wxString GetDirectory() { return DOC_ROOT; } + void ChangeDirectory(wxFileSystem *); };