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.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/p2pvr/lib/muxer.h b/p2pvr/lib/muxer.h
new file mode 100644
index 0000000..5c8ef8e
--- /dev/null
+++ b/p2pvr/lib/muxer.h
@@ -0,0 +1,20 @@
+#ifndef MUXER_H
+#define MUXER_H
+
+#include <p2pvr.h>
+
+class Muxer : public P2PVR::RawDataClient {
+ public:
+ Muxer(const P2PVR::RawDataClientPrx & target);
+ ~Muxer();
+
+ bool NewData(const P2PVR::Data &, const Ice::Current &);
+
+ private:
+ bool ReadMuxerAndSend() const;
+ const P2PVR::RawDataClientPrx & target;
+ int fds[2];
+};
+
+#endif
+