Support focus animation for listbox
[vuplus_dvbapp] / lib / base / filepush.h
index 75df7ab..b6b4039 100644 (file)
@@ -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<iTsSource> &source, int destfd);
 
        void pause();
-       void seek(int whence, off_t where);
        void resume();
        
                /* flushes the internal readbuffer */ 
@@ -37,6 +36,8 @@ public:
        
                /* stream mode will wait on EOF until more data is available. */
        void setStreamMode(int);
+       void setTimeshift(bool);
+       void setTSPath(const std::string);
        
        void setScatterGather(iFilePushScatterGather *);
        
@@ -59,12 +60,17 @@ private:
        int m_send_pvr_commit;
        int m_stream_mode;
        int m_blocksize;
+       off_t m_current_position;
 
-       ePtr<iDataSource> m_raw_source;
+       ePtr<iTsSource> m_source;
 
        eFixedMessagePump<int> m_messagepump;
+       std::string m_tspath;
+       bool m_is_timeshift;
+       bool m_hdd_connected;
 
        void recvEvent(const int &evt);
+       void defaultTSPath(bool);
 };
 
 #endif