blob: 5ff2cb99c504390103b4b711d453c824687cdd81 (
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 boost::filesystem::path & path) const
{
return new MockTuner(path, ic);
}
}
}
|