summaryrefslogtreecommitdiff
path: root/server/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/connection.h')
-rw-r--r--server/connection.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/server/connection.h b/server/connection.h
index 0d7a1a0..3c6d9a3 100644
--- a/server/connection.h
+++ b/server/connection.h
@@ -38,11 +38,6 @@ private:
tStrStrMap m_Headers;
- /* Check if a device would be available for transfering the given
- channel. This call has no side effects except for temporarily
- detaching this connection's receivers. */
- cDevice *CheckDevice(const cChannel *Channel, int Priority, bool LiveView, const cDevice *AvoidDevice = NULL);
-
/* Test if device is in use as the transfer mode receiver device
or a FF card, displaying live TV from internal tuner */
static bool UsedByLiveTV(cDevice *device);
@@ -106,6 +101,10 @@ public:
/* Close the socket */
virtual bool Close(void);
+ /* Check if a device would be available for transfering the given
+ channel. This call has no side effects. */
+ static cDevice *CheckDevice(const cChannel *Channel, int Priority, bool LiveView, const cDevice *AvoidDevice = NULL);
+
/* Will retrieve an unused device for transmitting data. Receivers have
already been attached from the device if necessary. Use the returned
cDevice in a following call to StartTransfer */