blob: b374e2048afd29d25b1b0ddbbc68449a906be389 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "mockDevices.h"
#include <mockTuner.h>
#include <Ice/ObjectAdapter.h>
namespace P2PVR {
namespace Testing {
MockDevices::MockDevices(Ice::CommunicatorPtr c) :
ic(c)
{
devices.push_back("/dev/null");
}
TunerPtr
MockDevices::openTuner(const std::filesystem::path & path) const
{
return std::make_shared<P2PVR::DVB::Testing::MockTuner>(path, ic);
}
}
}
|