#ifndef __WX_PREPINCLUDE_H
#define __WX_PREPINCLUDE_H
+#include "wx/object.h"
#include "wx/html/htmlproc.h"
+/*------------------------------- Prototypes ------------------------------*/
+
+class wxFileSystem;
+
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
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
// 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 *);
};