summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-06-21 01:22:21 +0200
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-06-21 01:22:21 +0200
commit54ac5eaaab8065473fb023c713e383b7fe5d15a9 (patch)
tree1ab4ffaf5eb3817efb68e419598671f29bc7e940 /pages
parent189d1d07d4971a4d0cc8d0d700c62f541258c33a (diff)
downloadvdr-plugin-live-54ac5eaaab8065473fb023c713e383b7fe5d15a9.tar.gz
vdr-plugin-live-54ac5eaaab8065473fb023c713e383b7fe5d15a9.tar.bz2
Changed the definition of tntversion in the LIVE source files.
Now there is a define TNTVERSION set to a number that can be compared in C oreprocessor 'if' statements. This allows for adding support for tntnet specific features with evolving tntnet version.
Diffstat (limited to 'pages')
-rw-r--r--pages/page_exit.eh2
-rw-r--r--pages/recordings.ecpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/page_exit.eh b/pages/page_exit.eh
index 5e26a32..5101171 100644
--- a/pages/page_exit.eh
+++ b/pages/page_exit.eh
@@ -5,7 +5,7 @@
<%cpp>
spoint.commit();
} catch ( vdrlive::HtmlError const& ex ) {
-#ifdef TNTVERS7
+#if TNTVERSION >= 1606
tnt::QueryParams param = qparam;
#else
cxxtools::QueryParams param = qparam;
diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp
index e1770a6..23299bb 100644
--- a/pages/recordings.ecpp
+++ b/pages/recordings.ecpp
@@ -116,7 +116,7 @@ for (iter = recordingsTree->begin(path); iter != end; ++iter) {
<li class="recording">
<& rec_item_dir name=(recItem->Name()) level=(level) &>
<%cpp>
-#ifdef TNTVERS7
+#if TNTVERSION >= 1606
tnt::QueryParams recItemParams(qparam, false);
#else
cxxtools::QueryParams recItemParams(qparam, false);