[Spice-devel] [PATCH 3/3] generator, add info about generated page

Peter Hatina phatina at redhat.com
Tue Jul 10 00:56:14 PDT 2012


Added an info, that the test page has been autogenerated and should
not be modified.

Peter Hatina
EMEA ENG-Desktop Development
Red Hat Czech, Brno

---
 generator/generator.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/generator/generator.cpp b/generator/generator.cpp
index fce228c..ee3eedd 100644
--- a/generator/generator.cpp
+++ b/generator/generator.cpp
@@ -82,7 +82,8 @@ void Generator::generateHeader()
               << "<body onload=\"bodyLoad()\" onunload=\"bodyUnload()\">\n\n"
               << "<center>\n"
               << "<h1>SPICE xpi test page (generated)</h1>\n"
-              << "SPICE xpi test page. Disabled (greyed out) values are passed\n"
+              << "This page was autogenerated using IDL description and should not be modified by hand.<br>\n"
+              << "Disabled (greyed out) values are passed\n"
               << "to SPICE xpi as empty variables.\n</center>\n<br/>\n\n"
               << "<embed type=\"application/x-spice\" width=\"0\" height=\"0\" id=\"spice-xpi\"/><br/>\n\n"
               << "<script type=\"text/javascript\">\n\n"
-- 
1.7.10.4



More information about the Spice-devel mailing list