diff options
Diffstat (limited to 'p2pvr/devices/mockTuner.h')
-rw-r--r-- | p2pvr/devices/mockTuner.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/p2pvr/devices/mockTuner.h b/p2pvr/devices/mockTuner.h index 8e0c513..aa51580 100644 --- a/p2pvr/devices/mockTuner.h +++ b/p2pvr/devices/mockTuner.h @@ -3,9 +3,12 @@ #include <dvb.h> #include <Ice/BuiltinSequences.h> +#include <boost/thread.hpp> class MockTuner : public P2PVR::PrivateTuner { public: + MockTuner(); + void TuneTo(const DVBSI::DeliveryPtr &, const Ice::Current&); int GetStatus(const Ice::Current&); @@ -28,8 +31,11 @@ class MockTuner : public P2PVR::PrivateTuner { protected: static Ice::ByteSeq Decompress(const Ice::ByteSeq &); void DecompressAndSendPackets(const Ice::ByteSeq &, const P2PVR::RawDataClientPrx &, const Ice::Current&) const; + void SendLoop(const P2PVR::RawDataClientPrx & t, const Ice::ByteSeq & dataxz, const Ice::Current & ice) const; static int eventSet; + std::map<int, boost::thread *> senders; + int senderId; }; #endif |