vdr  1.7.31
transfer.h
Go to the documentation of this file.
1 /*
2  * transfer.h: Transfer mode
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: transfer.h 2.2 2010/01/29 16:38:09 kls Exp $
8  */
9 
10 #ifndef __TRANSFER_H
11 #define __TRANSFER_H
12 
13 #include "player.h"
14 #include "receiver.h"
15 #include "remux.h"
16 
17 class cTransfer : public cReceiver, public cPlayer {
18 private:
20 protected:
21  virtual void Activate(bool On);
22  virtual void Receive(uchar *Data, int Length);
23 public:
24  cTransfer(const cChannel *Channel);
25  virtual ~cTransfer();
26  };
27 
28 class cTransferControl : public cControl {
29 private:
31  static cDevice *receiverDevice;
32 public:
35  virtual void Hide(void) {}
36  static cDevice *ReceiverDevice(void) { return receiverDevice; }
37  };
38 
39 #endif //__TRANSFER_H