]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/ILocalIODevice_p.h
Organized api/internal into subdirs
[bamtools.git] / src / api / internal / ILocalIODevice_p.h
diff --git a/src/api/internal/ILocalIODevice_p.h b/src/api/internal/ILocalIODevice_p.h
deleted file mode 100644 (file)
index a71f378..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// ***************************************************************************
-// ILocalIODevice_p.h (c) 2011 Derek Barnett
-// Marth Lab, Department of Biology, Boston College
-// ---------------------------------------------------------------------------
-// Last modified: 10 October 2011 (DB)
-// ---------------------------------------------------------------------------
-// Provides shared behavior for files & pipes
-// ***************************************************************************
-
-#ifndef ILOCALIODEVICE_P_H
-#define ILOCALIODEVICE_P_H
-
-//  -------------
-//  W A R N I N G
-//  -------------
-//
-// This file is not part of the BamTools API.  It exists purely as an
-// implementation detail. This header file may change from version to version
-// without notice, or even be removed.
-//
-// We mean it.
-
-#include "api/IBamIODevice.h"
-
-namespace BamTools {
-namespace Internal {
-
-class ILocalIODevice : public IBamIODevice {
-
-    // ctor & dtor
-    public:
-        ILocalIODevice(void);
-        virtual ~ILocalIODevice(void);
-
-    // IBamIODevice implementation
-    public:
-        virtual void Close(void);
-        virtual size_t Read(char* data, const unsigned int numBytes);
-        virtual int64_t Tell(void) const;
-        virtual size_t Write(const char* data, const unsigned int numBytes);
-
-    // data members
-    protected:
-        FILE* m_stream;
-};
-
-} // namespace Internal
-} // namespace BamTools
-
-#endif // ILOCALIODEVICE_P_H