summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-25 19:28:53 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-25 19:28:53 +0000
commite7e2160524f292e41a8cf89af5ccb0c3221dd709 (patch)
treee5c167c882b85373a2ee819ed888d4425766ebea
parenta92d514b4eda6e7d0db7b66c0af8c6b37e11ec4b (diff)
downloadvdr-plugin-live-e7e2160524f292e41a8cf89af5ccb0c3221dd709.tar.gz
vdr-plugin-live-e7e2160524f292e41a8cf89af5ccb0c3221dd709.tar.bz2
- added namespace spec so page doesn't need to use namespace vdrlive
- added exception.h so page doesn't need to include it itself
-rw-r--r--pages/page_exit.eh5
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/page_exit.eh b/pages/page_exit.eh
index 94c46ed..4edb5ce 100644
--- a/pages/page_exit.eh
+++ b/pages/page_exit.eh
@@ -1,7 +1,10 @@
<# do not add to Makefile #>
+<%pre>
+#include "exception.h"
+</%pre>
<%cpp>
spoint.commit();
-} catch ( HtmlError const& ex ) {
+} catch ( vdrlive::HtmlError const& ex ) {
cxxtools::QueryParams param = qparam;
param.add( "pageTitle", pageTitle );
param.add( "errorMessage", ex.what() );