diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-04 17:42:33 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-04 17:42:33 +0000 |
commit | 61e31de98b97f556cfb2a0cafa172bde673e7859 (patch) | |
tree | f92c3c42107f89a7de7b3c489527b3b6a2421078 /live.cpp | |
parent | c5cb6d2e099c9ae44cc3d26e4800c9f9101852e7 (diff) | |
download | vdr-plugin-live-61e31de98b97f556cfb2a0cafa172bde673e7859.tar.gz vdr-plugin-live-61e31de98b97f556cfb2a0cafa172bde673e7859.tar.bz2 |
- removed thread-unsafe call of cPlugin::ConfigDirectory and replaced it with Plugin::GetConfigDirectory
- implemented proper shutdown of server thread on vdr termination
Diffstat (limited to 'live.cpp')
-rw-r--r-- | live.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: live.cpp,v 1.6 2007/01/04 15:02:00 lordjaxom Exp $ + * $Id: live.cpp,v 1.7 2007/01/04 17:42:33 lordjaxom Exp $ */ #include <vdr/plugin.h> @@ -20,8 +20,11 @@ using namespace std; const char *Plugin::VERSION = "0.0.1"; const char *Plugin::DESCRIPTION = "Live Integrated VDR Environment"; +std::string Plugin::m_configDirectory; + Plugin::Plugin(void) { + m_configDirectory = cPlugin::ConfigDirectory( PLUGIN_NAME_I18N ); } const char *Plugin::CommandLineHelp(void) @@ -45,6 +48,7 @@ bool Plugin::Start(void) void Plugin::Stop(void) { + m_thread->Stop(); } void Plugin::MainThreadHook(void) |