summaryrefslogtreecommitdiff
path: root/p2pvr/daemon/unittests/mockScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/daemon/unittests/mockScheduler.h')
-rw-r--r--p2pvr/daemon/unittests/mockScheduler.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/p2pvr/daemon/unittests/mockScheduler.h b/p2pvr/daemon/unittests/mockScheduler.h
index c3640f6..f718363 100644
--- a/p2pvr/daemon/unittests/mockScheduler.h
+++ b/p2pvr/daemon/unittests/mockScheduler.h
@@ -4,16 +4,20 @@
#include <p2pvr.h>
#include <visibility.h>
-class DLL_PUBLIC MockScheduler : public P2PVR::Schedules {
+namespace P2PVR {
+namespace Testing {
+class DLL_PUBLIC MockScheduler : public 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 NewSchedule(const ::P2PVR::SchedulePtr&, const ::Ice::Current&) override;
- void UpdateSchedule(const ::P2PVR::SchedulePtr&, const ::Ice::Current&) override;
+ SchedulePtr GetSchedule(::Ice::Int, const ::Ice::Current&) override;
+ ScheduleList GetSchedules(const ::Ice::Current&) override;
+ ScheduledToRecordList GetScheduledToRecord(const ::Ice::Current&) override;
+ Ice::Int NewSchedule(const SchedulePtr&, const ::Ice::Current&) override;
+ void UpdateSchedule(const SchedulePtr&, const ::Ice::Current&) override;
};
+}
+}
#endif