summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index d0a3bca..ee1c764 100644
--- a/thread.h
+++ b/thread.h
@@ -1,8 +1,11 @@
#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 {
@@ -10,11 +13,13 @@ public:
ServerThread();
virtual ~ServerThread();
+ void Stop();
+
protected:
virtual void Action();
private:
- char* m_configPath;
+ std::auto_ptr< tnt::Tntnet > m_server;
};
} // namespace vdrlive