]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/applet/prepinclude.h
added descriptions
[wxWidgets.git] / contrib / include / wx / applet / prepinclude.h
index 12cb6d7e79140cde609f80ec1a2d8060375895cd..c021cf56dc2ef95ced424939a1c8f953faf54fe8 100644 (file)
 #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 *);
     };