]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/BamRandomAccessController_p.h
Minor cleanup
[bamtools.git] / src / api / internal / BamRandomAccessController_p.h
index e541cdf5a332a295b2b17ec74f1d4948b0504dfa..86af28c26cbd36efda32f1fde8ec58580927086d 100644 (file)
@@ -1,7 +1,6 @@
 // ***************************************************************************
 // BamRandomAccessController_p.h (c) 2011 Derek Barnett
 // Marth Lab, Department of Biology, Boston College
-// All rights reserved.
 // ---------------------------------------------------------------------------
 // Last modified: 24 February 2011(DB)
 // ---------------------------------------------------------------------------
@@ -56,8 +55,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);