From e7e2160524f292e41a8cf89af5ccb0c3221dd709 Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Thu, 25 Jan 2007 19:28:53 +0000 Subject: - added namespace spec so page doesn't need to use namespace vdrlive - added exception.h so page doesn't need to include it itself --- pages/page_exit.eh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" + <%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() ); -- cgit v1.2.3