X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLTree.h;fp=XMLTree.h;h=1eddbb0f1b0792298b72585545d652a0ba681f9b;hb=806bef044cdb34e9bf4cd375d336bf08f65618d2;hp=6d11d78de3e5c2fa624eeb937209f3c8a5f8b9e6;hpb=55969ae65ed985b0a5d5e74e029793f4048d0f5b;p=SXSI%2FXMLTree.git diff --git a/XMLTree.h b/XMLTree.h index 6d11d78..1eddbb0 100644 --- a/XMLTree.h +++ b/XMLTree.h @@ -477,11 +477,11 @@ public: } /** Save: saves XML tree data structure to file. */ - void Save(int fd); + void Save(int fd, char *filename); /** Load: loads XML tree data structure from file. sample_rate_text * indicates the sample rate for the text search data structure. */ - static XMLTree *Load(int fd,bool load_tc, int sample_factor); + static XMLTree *Load(int fd, char *filename, bool load_tc, int sample_factor); void insertTag(TagType tag, uint position);