26#if defined (HAVE_CONFIG_H)
35format_url (
bool html,
const std::string& url)
38 return R
"(<a href=")" + url + R"(">)" + url + "</a>";
40 return "<" + url +
">";
47 + format_url (html,
"https://octave.org");
53 return "Support resources: "
54 + format_url (html,
"https://octave.org/support");
60 return "Improve Octave: "
61 + format_url (html,
"https://octave.org/get-involved");
69 std::string br = (html ?
"<br>\n" :
"\n");
71 return "GNU Octave (" OCTAVE_CANONICAL_HOST_TYPE
") version " OCTAVE_VERSION + br
78 std::string br = (html ?
"<br>\n" :
"\n");
81 +
"License GPLv3+: GNU GPL version 3 or later "
82 + format_url (html,
"https://gnu.org/licenses/gpl.html");
86octave_warranty_statement (
bool html,
const std::string& extra_info =
"")
88 std::string br = (html ?
"\n" :
"\n");
90 return "There is NO WARRANTY, to the extent permitted by law."
96 (
bool html,
const std::string& extra_info)
98 std::string br = (html ?
"<br>\n" :
"\n");
99 std::string sep = (html ?
"\n</p>\n<p>\n" :
"\n\n");
103 +
"This is free software; see the source code for copying conditions." + br
104 + octave_warranty_statement (html, extra_info) ;
109 (
bool html,
const std::string& extra_info)
111 std::string sep = (html ?
"\n</p>\n<p>\n" :
"\n");
113 (html ?
"<p>\n" :
"")
115 + (html ?
"" :
"\n") + sep
119 + (html ?
"\n</p>" :
"");
129 (html,
" For details, type 'warranty'.");
131 msg += (html ?
"<p>\n" :
"\n");
132 msg +=
"For changes from previous versions, type 'news'.";
133 msg += (html ?
"\n</p>" :
"");
std::string octave_name_version_copyright_license_copying_warranty(bool html, const std::string &extra_info)
std::string octave_bugs_statement(bool html)
std::string octave_www_statement(bool html)
std::string octave_name_version_copyright_license_copying_warranty_bugs(bool html, const std::string &extra_info)
std::string octave_name_version_copyright(bool html)
std::string octave_startup_message(bool html)
std::string octave_contrib_statement(bool html)
std::string octave_name_version_copyright_license(bool html)