summaryrefslogtreecommitdiff
path: root/tntconfig.cpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 21:43:21 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 21:43:21 +0000
commitc5a0ac492575efb83ecc76524ff3c13fe1a9799b (patch)
tree7b4af9bb32c58e5d3aed9ac039180ac7533db052 /tntconfig.cpp
parent95739a127dc2b85fe831ac13553578490fea34b0 (diff)
downloadvdr-plugin-live-c5a0ac492575efb83ecc76524ff3c13fe1a9799b.tar.gz
vdr-plugin-live-c5a0ac492575efb83ecc76524ff3c13fe1a9799b.tar.bz2
- renamed Setup::Get() to LiveSetup()
- added method that fetches plugin class from vdr and gets its setup object - demo code in channels.ecpp
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r--tntconfig.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}