summaryrefslogtreecommitdiff
path: root/p2pvr/lib/muxer.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/lib/muxer.h')
-rw-r--r--p2pvr/lib/muxer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/p2pvr/lib/muxer.h b/p2pvr/lib/muxer.h
index 4b1187d..118b1da 100644
--- a/p2pvr/lib/muxer.h
+++ b/p2pvr/lib/muxer.h
@@ -6,15 +6,16 @@
class Muxer : public P2PVR::RawDataClient {
public:
- Muxer(const P2PVR::RawDataClientPrx & target);
+ Muxer(const P2PVR::RawDataClientPrx & target, const std::string & cmd);
~Muxer();
bool NewData(const P2PVR::Data &, const Ice::Current &);
private:
- bool ReadMuxerAndSend() const;
- const P2PVR::RawDataClientPrx & target;
+ bool ReadMuxerAndSend(int wait) const;
+ const P2PVR::RawDataClientPrx target;
int fds[2];
+ pid_t muxerPid;
std::mutex lock;
};