projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added index_mode flag
[SXSI/TextCollection.git]
/
TextCollection.cpp
diff --git
a/TextCollection.cpp
b/TextCollection.cpp
index
9c94724
..
2aef067
100644
(file)
--- a/
TextCollection.cpp
+++ b/
TextCollection.cpp
@@
-3,14
+3,15
@@
namespace SXSI
{
namespace SXSI
{
+
/**
* Init text collection from a file
*
* See TCImplementation.h for more details.
*/
/**
* Init text collection from a file
*
* See TCImplementation.h for more details.
*/
- TextCollection * TextCollection::Load(FILE *fp, unsigned samplerate)
+ TextCollection * TextCollection::Load(FILE *fp,
index_mode_t im,
unsigned samplerate)
{
{
- TextCollection *result = new TCImplementation(fp, samplerate);
+ TextCollection *result = new TCImplementation(fp,
im,
samplerate);
return result;
}
}
return result;
}
}