X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=TextCollection.h;fp=TextCollection.h;h=9c6591f6ad212a46bca64aacc5dc09a5ba871553;hb=89dc22aee980ba16f757cd9a7f77478c2da50051;hp=2ea24ca57133e98350c758a9132b34118dbafe87;hpb=443151511a86083b21c1c06eb610f86b3aed35be;p=SXSI%2FTextCollection.git diff --git a/TextCollection.h b/TextCollection.h index 2ea24ca..9c6591f 100644 --- a/TextCollection.h +++ b/TextCollection.h @@ -48,19 +48,25 @@ namespace SXSI /** * Load from a file * + * The second parameter is a prefix to be used for multiple + * files. (SWCSAWrapper uses multiple save files!) + * * New samplerate can be given, otherwise will use the one specified in the save file! * * Throws an exception if std::fread() fails. * */ - static TextCollection* Load(FILE *, index_mode_t = index_mode_default, unsigned samplerate = 0); + static TextCollection* Load(FILE *, char const *, index_mode_t = index_mode_default, unsigned samplerate = 0); /** * Save data structure into a file - * + * + * The second parameter is a prefix to be used for multiple + * files. (SWCSAWrapper uses multiple save files!) + * * Throws an exception if std::fwrite() fails. */ - virtual void Save(FILE *) const = 0; + virtual void Save(FILE *, char const *) const = 0; /** * Virtual destructor