summaryrefslogtreecommitdiff
path: root/p2pvr/lib/globalDevices.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/lib/globalDevices.h')
-rw-r--r--p2pvr/lib/globalDevices.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/p2pvr/lib/globalDevices.h b/p2pvr/lib/globalDevices.h
new file mode 100644
index 0000000..0cf9636
--- /dev/null
+++ b/p2pvr/lib/globalDevices.h
@@ -0,0 +1,24 @@
+#ifndef GLOBALDEVICES_H
+#define GLOBALDEVICES_H
+
+// Global devices implements a device collection (P2PVR::Devices) for any devices known
+// throughout the system through other Devices interfaces
+
+#include <p2pvr.h>
+#include <options.h>
+
+class GlobalDevices : public P2PVR::Devices {
+ public:
+ P2PVR::TunerPrx GetTunerSpecific(const DVBSI::DeliveryPtr &, Ice::Long until, const Ice::Current &);
+ P2PVR::TunerPrx GetTunerAny(short type, const DVBSI::DeliveryPtr &, Ice::Long until, const Ice::Current &);
+ P2PVR::PrivateTunerPrx GetPrivateTuner(short type, Ice::Long until, const Ice::Current &);
+ void ReleaseTuner(const P2PVR::TunerPrx &, const Ice::Current &);
+
+ INITOPTIONS;
+ private:
+ static std::vector<std::string> Devices;
+};
+
+#endif
+
+