1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-19 13:29:49 +00:00

Rename PastieRetrieving to GeneralPastie as I think it clearer.

This commit is contained in:
King_DuckZ 2017-06-16 19:17:28 +01:00
parent 3a9a9611ac
commit 86a576985e
7 changed files with 21 additions and 21 deletions

View file

@ -43,14 +43,14 @@ namespace kamokan {
std::ostream* parStreamOut,
const Kakoune::SafePtr<cgi::Env>& parCgiEnv
) :
PastieRetrievingResponse(parSettings, parStreamOut, parCgiEnv),
GeneralPastieResponse(parSettings, parStreamOut, parCgiEnv),
m_langmap_dir(parSettings->as<std::string>("langmap_dir")),
m_plain_text(false),
m_syntax_highlight(true)
{
}
tawashi::HttpHeader PastieResponse::on_retrieving_process() {
tawashi::HttpHeader PastieResponse::on_general_pastie_process() {
auto get = cgi_env().query_string_split();
const std::string& query_str(cgi_env().query_string());
if (get["m"] == "plain" or query_str.empty()) {