aboutsummaryrefslogtreecommitdiff
path: root/lib/base/filepush.h
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-11-10 17:16:39 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-11-10 17:16:39 +0100
commitdd43e7a64a07bd5777e40cd46fed4fd9f545eb01 (patch)
treeac5cedeb7b0d06d2aa975312e071a8a0b8e501a7 /lib/base/filepush.h
parent6fdb2d2094c50a2bc324f4094473c2107d2ea943 (diff)
downloadenigma2-dd43e7a64a07bd5777e40cd46fed4fd9f545eb01.tar.gz
enigma2-dd43e7a64a07bd5777e40cd46fed4fd9f545eb01.zip
migrate eFilePushThread to new iDateSource read interface, remove no more supported seek function
Diffstat (limited to 'lib/base/filepush.h')
-rw-r--r--lib/base/filepush.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/base/filepush.h b/lib/base/filepush.h
index 75df7ab7..eb8e7924 100644
--- a/lib/base/filepush.h
+++ b/lib/base/filepush.h
@@ -25,10 +25,9 @@ public:
void start(int sourcefd, int destfd);
int start(const char *filename, int destfd);
- void start(ePtr<iDataSource> source, int destfd);
+ void start(ePtr<iDataSource> &source, int destfd);
void pause();
- void seek(int whence, off_t where);
void resume();
/* flushes the internal readbuffer */
@@ -59,8 +58,9 @@ private:
int m_send_pvr_commit;
int m_stream_mode;
int m_blocksize;
+ off_t m_current_position;
- ePtr<iDataSource> m_raw_source;
+ ePtr<iDataSource> m_source;
eFixedMessagePump<int> m_messagepump;