1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-03 12:50:02 +00:00

I don't really need to store the page name in the base class.

This commit is contained in:
King_DuckZ 2017-05-06 19:16:57 +01:00
parent ebed6fd1d4
commit 8980a1d1ff
8 changed files with 21 additions and 13 deletions

View file

@ -27,6 +27,9 @@ namespace tawashi {
public:
explicit SubmitPasteResponse (const Kakoune::SafePtr<SettingsBag>& parSettings);
protected:
virtual boost::string_ref page_basename() const override { return boost::string_ref("paste"); }
private:
virtual void on_process() override;
boost::optional<std::string> submit_to_redis (const boost::string_ref& parText, uint32_t parExpiry, const boost::string_ref& parLang) const;