summaryrefslogtreecommitdiff
path: root/thread.h
blob: 10f873adcb9b47b1f0ebefb1f5b2b29cfaef273c (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
28
29
#ifndef VDR_LIVE_THREAD_H
#define VDR_LIVE_THREAD_H

#include <memory>
#include <vdr/thread.h>
#include "autoptr.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