File: remotetcp.h

package info (click to toggle)
vdr-plugin-remote 0.3.3-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 212 kB
  • ctags: 118
  • sloc: ansic: 1,337; makefile: 105; sh: 79
file content (36 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Remote plugin for the Video Disk Recorder
 *
 * remotetcp.h: tcp/telnet remote control
 *
 * See the README file for copyright information and how to reach the author.
 */


#ifndef __PLUGIN_REMOTETCP_H
#define __PLUGIN_REMOTETCP_H


#include <vdr/svdrp.h>
#include "remote.h"
#include "ttystatus.h"


/****************************************************************************/
class cTcpRemote : protected cRemoteDevTty
/****************************************************************************/
{
private:
  cTtyStatus *cstatus;
  cSocket *csock;

protected:
  virtual uint64 getKey(void);

public:
  cTcpRemote(const char *name, int f, char *d);
  virtual ~cTcpRemote();
};


#endif // __PLUGIN_REMOTETCP_H