aboutsummaryrefslogtreecommitdiff
path: root/lib/base/filepush.h
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-11-09 23:30:14 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-11-09 23:30:14 +0100
commit6855a6ae6701f8d29540551fcff971316b5d49f1 (patch)
tree4865153bcb4f00e09dff6b5f8a6363c48f66e106 /lib/base/filepush.h
parent2a0689a69ba995ec3adcf1cd6cc20146a6d4ef58 (diff)
downloadenigma2-6855a6ae6701f8d29540551fcff971316b5d49f1.tar.gz
enigma2-6855a6ae6701f8d29540551fcff971316b5d49f1.zip
filepush.h/cpp: migrate to iDataSource
Diffstat (limited to 'lib/base/filepush.h')
-rw-r--r--lib/base/filepush.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/base/filepush.h b/lib/base/filepush.h
index 71ee9979..75df7ab7 100644
--- a/lib/base/filepush.h
+++ b/lib/base/filepush.h
@@ -24,7 +24,9 @@ public:
void stop();
void start(int sourcefd, int destfd);
int start(const char *filename, int destfd);
-
+
+ void start(ePtr<iDataSource> source, int destfd);
+
void pause();
void seek(int whence, off_t where);
void resume();
@@ -58,10 +60,10 @@ private:
int m_stream_mode;
int m_blocksize;
- eRawFile m_raw_source;
-
+ ePtr<iDataSource> m_raw_source;
+
eFixedMessagePump<int> m_messagepump;
-
+
void recvEvent(const int &evt);
};