Added index_mode flag
[SXSI/TextCollection.git] / TextCollection.cpp
1 #include "TextCollection.h"
2 #include "TCImplementation.h"
3
4 namespace SXSI
5 {
6
7     /**
8      * Init text collection from a file
9      *
10      * See TCImplementation.h for more details.
11      */
12     TextCollection * TextCollection::Load(FILE *fp, index_mode_t im, unsigned samplerate)
13     {
14         TextCollection *result = new TCImplementation(fp, im, samplerate);
15         return result;
16     }
17 }