]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/BamRandomAccessController_p.h
Major performance boost to startup & random-access - especially for the
[bamtools.git] / src / api / internal / BamRandomAccessController_p.h
index e541cdf5a332a295b2b17ec74f1d4948b0504dfa..372ea4a5e9a300dfc24ff2e2f4ea7ccdac92f21a 100644 (file)
@@ -56,8 +56,8 @@ class BamRandomAccessController {
         bool CreateIndex(BamReaderPrivate* reader, const BamIndex::IndexType& type);
         bool HasIndex(void) const;
         bool IndexHasAlignmentsForReference(const int& refId);
-        bool LocateIndex(const std::string& bamFilename, const BamIndex::IndexType& preferredType);
-        bool OpenIndex(const std::string& indexFilename);
+        bool LocateIndex(BamReaderPrivate* reader, const BamIndex::IndexType& preferredType);
+        bool OpenIndex(const std::string& indexFilename, BamReaderPrivate* reader);
         void SetIndex(BamIndex* index);
         void SetIndexCacheMode(const BamIndex::IndexCacheMode& mode);