summaryrefslogtreecommitdiff
path: root/p2pvr/devices/mockTuner.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/devices/mockTuner.h')
-rw-r--r--p2pvr/devices/mockTuner.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/p2pvr/devices/mockTuner.h b/p2pvr/devices/mockTuner.h
index 74578db..2277deb 100644
--- a/p2pvr/devices/mockTuner.h
+++ b/p2pvr/devices/mockTuner.h
@@ -7,10 +7,12 @@
#include <boost/thread.hpp>
#include <logger.h>
#include "tuner.h"
+#include "mockData.h"
namespace P2PVR {
+namespace DVB {
namespace Testing {
-class DLL_PUBLIC MockTuner : public DVB::TunerI {
+class DLL_PUBLIC MockTuner : public DVB::TunerI, MockData {
public:
MockTuner(const boost::filesystem::path & deviceFrontend, Ice::CommunicatorPtr);
@@ -25,10 +27,6 @@ class DLL_PUBLIC MockTuner : public DVB::TunerI {
ssize_t ioread(int fd, void *buf, size_t count) const override;
int ioselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) const override;
- static Ice::ByteSeq Decompress(const Ice::ByteSeq &);
- static void LZMA_ASSERT(int ret_xz);
- std::list<Ice::ByteSeq> DecompressAndRead(const Ice::ByteSeq &) const;
-
Ice::CommunicatorPtr ic;
// The open fh -> list of DVB packets
mutable std::map<int, std::list<Ice::ByteSeq>> selectedPackets;
@@ -38,6 +36,7 @@ class DLL_PUBLIC MockTuner : public DVB::TunerI {
};
}
}
+}
#endif