summaryrefslogtreecommitdiff
path: root/p2pvr/daemon/si.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/daemon/si.h')
-rw-r--r--p2pvr/daemon/si.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/p2pvr/daemon/si.h b/p2pvr/daemon/si.h
new file mode 100644
index 0000000..6b720dc
--- /dev/null
+++ b/p2pvr/daemon/si.h
@@ -0,0 +1,23 @@
+#ifndef P2PVR_SI_H
+#define P2PVR_SI_H
+
+#include <p2pvr.h>
+#include "dbClient.h"
+
+class SI : public P2PVR::SI, public DatabaseClient {
+ public:
+ P2PVR::Deliveries GetAllDeliveries(short type, const Ice::Current &);
+ DVBSI::DeliveryPtr GetDeliveryForService(int id, const Ice::Current &);
+ DVBSI::DeliveryPtr GetDeliveryForTransport(int id, const Ice::Current &);
+ DVBSI::DeliveryPtr GetDeliveryForSi(const Ice::Current &);
+
+ DVBSI::ServiceList GetServices(const Ice::Current &);
+ DVBSI::ServicePtr GetService(int id, const Ice::Current &);
+
+ DVBSI::EventPtr GetEvent(int serviceId, int eventId, const Ice::Current &);
+ DVBSI::Events EventsOnNow(const Ice::Current &);
+ DVBSI::Events EventsInRange(const Common::DateTime &, const Common::DateTime &, const Ice::Current &);
+};
+
+#endif
+