summaryrefslogtreecommitdiff
path: root/thread.h
blob: cbe0e9c4bfc293ba3623d79bf66ff0490103fd6c (plain)
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
#ifndef VDR_LIVE_THREAD_H
#define VDR_LIVE_THREAD_H

#include "autoptr.h"
#include <vdr/thread.h>

namespace tnt { class Tntnet; }

namespace vdrlive {

class ServerThread : public cThread {
public:
	ServerThread();
	virtual ~ServerThread();

	void Stop();

protected:
	virtual void Action();

private:
	AUTO_PTR< tnt::Tntnet > m_server;
};

} // namespace vdrlive

#endif // VDR_LIVE_THREAD_H