X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fbase%2Frawfile.cpp;h=c7e11feb308632d876b706105361ac3d81fd3081;hp=1552203ae358952b9b324eb280b5440f5bcae4e3;hb=a7175f3218cbb81c7c1cd07a8092e5a2b30dac44;hpb=81b7cc6b1815ec6f0f0c42d6a826d56c8b35033b diff --git a/lib/base/rawfile.cpp b/lib/base/rawfile.cpp index 1552203..c7e11fe 100644 --- a/lib/base/rawfile.cpp +++ b/lib/base/rawfile.cpp @@ -4,10 +4,7 @@ #include #include -DEFINE_REF(eRawFile); - eRawFile::eRawFile() - :m_lock(true) { m_fd = -1; m_file = 0; @@ -235,20 +232,3 @@ off_t eRawFile::length() { 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; -}