PageCompiler: merged changes from internal and macchina versions

This commit is contained in:
Guenter Obiltschnig
2016-02-29 16:40:19 +01:00
parent ad492bdfcc
commit ce4fbe9928
2 changed files with 6 additions and 1 deletions

View File

@@ -54,6 +54,11 @@ void OSPCodeWriter::writeHandlerMembers(std::ostream& ostr)
ostr << "\t\treturn _pContext;\n"; ostr << "\t\treturn _pContext;\n";
ostr << "\t}\n"; ostr << "\t}\n";
ostr << "\n"; ostr << "\n";
ostr << "\tPoco::OSP::BundleContext::Ptr c() const\n";
ostr << "\t{\n";
ostr << "\t\treturn _pContext;\n";
ostr << "\t}\n";
ostr << "\n";
ostr << "private:\n"; ostr << "private:\n";
ostr << "\tPoco::OSP::BundleContext::Ptr _pContext;\n"; ostr << "\tPoco::OSP::BundleContext::Ptr _pContext;\n";
} }

View File

@@ -206,7 +206,7 @@ protected:
helpFormatter.setHeader( helpFormatter.setHeader(
"\n" "\n"
"The POCO C++ Server Page Compiler.\n" "The POCO C++ Server Page Compiler.\n"
"Copyright (c) 2008-2012 by Applied Informatics Software Engineering GmbH.\n" "Copyright (c) 2008-2016 by Applied Informatics Software Engineering GmbH.\n"
"All rights reserved.\n\n" "All rights reserved.\n\n"
"This program compiles web pages containing embedded C++ code " "This program compiles web pages containing embedded C++ code "
"into a C++ class that can be used with the HTTP server " "into a C++ class that can be used with the HTTP server "