From c5a0ac492575efb83ecc76524ff3c13fe1a9799b Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Wed, 3 Jan 2007 21:43:21 +0000 Subject: - renamed Setup::Get() to LiveSetup() - added method that fetches plugin class from vdr and gets its setup object - demo code in channels.ecpp --- tntconfig.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tntconfig.cpp') diff --git a/tntconfig.cpp b/tntconfig.cpp index ea6f9d0..60bfad2 100644 --- a/tntconfig.cpp +++ b/tntconfig.cpp @@ -35,10 +35,10 @@ void TntConfig::WriteConfig() file << "MapUrl ^/$ whats_on_now@libtnt-live" << endl; file << "MapUrl /([^.]+)(\\..+)? $1@libtnt-live" << endl; file << "PropertyFile " << m_propertiesPath << endl; - file << "CompPath " << Setup::Get().GetLibraryPath() << endl; + file << "CompPath " << LiveSetup().GetLibraryPath() << endl; - Setup::IpList const& ips = Setup::Get().GetServerIps(); - int port = Setup::Get().GetServerPort(); + Setup::IpList const& ips = LiveSetup().GetServerIps(); + int port = LiveSetup().GetServerPort(); for ( Setup::IpList::const_iterator ip = ips.begin(); ip != ips.end(); ++ip ) { file << "Listen " << *ip << " " << port << endl; } -- cgit v1.2.3