Added filename to Save() and Load()
[SXSI/XMLTree.git] / XMLTree.h
index 6d11d78..1eddbb0 100644 (file)
--- a/XMLTree.h
+++ b/XMLTree.h
@@ -477,11 +477,11 @@ public:
    }\r
    \r
    /** Save: saves XML tree data structure to file. */\r
-   void Save(int fd);\r
+   void Save(int fd, char *filename);\r
       \r
    /** Load: loads XML tree data structure from file. sample_rate_text \r
     * indicates the sample rate for the text search data structure. */\r
-   static XMLTree *Load(int fd,bool load_tc, int sample_factor);   \r
+   static XMLTree *Load(int fd, char *filename, bool load_tc, int sample_factor);   \r
 \r
    void insertTag(TagType tag, uint position);\r
    \r