mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-02-17 09:35:49 +00:00
Make is_submit_page() const
This commit is contained in:
parent
17a5009f1f
commit
b14aae1fe9
3 changed files with 3 additions and 3 deletions
|
@ -36,6 +36,6 @@ namespace kamokan {
|
||||||
private:
|
private:
|
||||||
virtual void on_general_mustache_prepare (std::string&& parPastie, mstch::map& parContext) override;
|
virtual void on_general_mustache_prepare (std::string&& parPastie, mstch::map& parContext) override;
|
||||||
virtual tawashi::HttpHeader on_general_pastie_process() override;
|
virtual tawashi::HttpHeader on_general_pastie_process() override;
|
||||||
virtual bool is_submit_page() override { return true; }
|
virtual bool is_submit_page() const override { return true; }
|
||||||
};
|
};
|
||||||
} //namespace kamokan
|
} //namespace kamokan
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace kamokan {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual boost::string_view page_basename() const override { return boost::string_view("index"); }
|
virtual boost::string_view page_basename() const override { return boost::string_view("index"); }
|
||||||
virtual bool is_submit_page() override { return true; }
|
virtual bool is_submit_page() const override { return true; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
};
|
};
|
||||||
|
|
|
@ -70,7 +70,7 @@ namespace kamokan {
|
||||||
virtual void on_mustache_prepare (mstch::map& parContext);
|
virtual void on_mustache_prepare (mstch::map& parContext);
|
||||||
virtual std::string on_mustache_retrieve();
|
virtual std::string on_mustache_retrieve();
|
||||||
virtual std::string default_pastie_lang();
|
virtual std::string default_pastie_lang();
|
||||||
virtual bool is_submit_page() { return false; }
|
virtual bool is_submit_page() const { return false; }
|
||||||
virtual bool is_pastie_page() const { return false; }
|
virtual bool is_pastie_page() const { return false; }
|
||||||
|
|
||||||
Storage m_storage;
|
Storage m_storage;
|
||||||
|
|
Loading…
Add table
Reference in a new issue