]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/io/BamFile_p.h
Changed platform check to use standard cmake variable (issue #66)
[bamtools.git] / src / api / internal / io / BamFile_p.h
index bd7d64be3b6de488df36abf3cbc5f46a506eb7cf..ed6181378076545656f602e8a589690c66aa0bf6 100644 (file)
@@ -2,7 +2,7 @@
 // BamFile_p.h (c) 2011 Derek Barnett
 // Marth Lab, Department of Biology, Boston College
 // ---------------------------------------------------------------------------
-// Last modified: 25 October 2011 (DB)
+// Last modified: 10 November 2011 (DB)
 // ---------------------------------------------------------------------------
 // Provides BAM file-specific IO behavior
 // ***************************************************************************
@@ -38,7 +38,7 @@ class BamFile : public ILocalIODevice {
         void Close(void);
         bool IsRandomAccess(void) const;
         bool Open(const IBamIODevice::OpenMode mode);
-        bool Seek(const int64_t& position);
+        bool Seek(const int64_t& position, const int origin = SEEK_SET);
 
     // data members
     private: