summaryrefslogtreecommitdiff
path: root/thread.h
blob: ee1c7643fdb148402cd5ce7cc7dcc6e4969106ed (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 <memory>
#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:
	std::auto_ptr< tnt::Tntnet > m_server;
};

} // namespace vdrlive

#endif // VDR_LIVE_THREAD_H