diff options
Diffstat (limited to 'p2pvr/daemon/unittests/mockScheduler.h')
-rw-r--r-- | p2pvr/daemon/unittests/mockScheduler.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/p2pvr/daemon/unittests/mockScheduler.h b/p2pvr/daemon/unittests/mockScheduler.h new file mode 100644 index 0000000..9176bb6 --- /dev/null +++ b/p2pvr/daemon/unittests/mockScheduler.h @@ -0,0 +1,17 @@ +#ifndef P2PVR_MOCKS_SCHEDULER_H +#define P2PVR_MOCKS_SCHEDULER_H + +#include <p2pvr.h> + +class MockScheduler : public P2PVR::Schedules { + public: + void DoReschedule(const ::Ice::Current&) override; + void DeleteSchedule(Ice::Int, const Ice::Current&) override; + P2PVR::SchedulePtr GetSchedule(::Ice::Int, const ::Ice::Current&) override; + P2PVR::ScheduleList GetSchedules(const ::Ice::Current&) override; + P2PVR::ScheduledToRecordList GetScheduledToRecord(const ::Ice::Current&) override; + Ice::Int UpdateSchedule(const ::P2PVR::SchedulePtr&, const ::Ice::Current&) override; +}; + +#endif + |