Revert "add virtual baseclass for data sources (iDataSource)"
[vuplus_dvbapp] / lib / base / rawfile.cpp
index 1552203..c7e11fe 100644 (file)
@@ -4,10 +4,7 @@
 #include <lib/base/rawfile.h>
 #include <lib/base/eerror.h>
 
 #include <lib/base/rawfile.h>
 #include <lib/base/eerror.h>
 
-DEFINE_REF(eRawFile);
-
 eRawFile::eRawFile()
 eRawFile::eRawFile()
-       :m_lock(true)
 {
        m_fd = -1;
        m_file = 0;
 {
        m_fd = -1;
        m_file = 0;
@@ -235,20 +232,3 @@ off_t eRawFile::length()
 {
        return m_totallength;
 }
 {
        return m_totallength;
 }
-
-off_t eRawFile::position()
-{
-       if (m_nrfiles < 2)
-       {
-               if (!m_cached)
-                       return ::lseek(m_fd, 0, SEEK_CUR);
-               else
-                       return ::fseeko(m_file, 0, SEEK_CUR);
-       }
-       return m_current_offset;
-}
-
-eSingleLock &eRawFile::getLock()
-{
-       return m_lock;
-}