mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +00:00
Rename submit form to submit paste.
This commit is contained in:
parent
dbd1a3a90a
commit
33c52b88d5
4 changed files with 9 additions and 9 deletions
21
src/submit_paste_response.hpp
Normal file
21
src/submit_paste_response.hpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
#include "response.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace redis {
|
||||
class IncRedis;
|
||||
} //namespace redis
|
||||
|
||||
namespace tawashi {
|
||||
class SubmitPasteResponse : public Response {
|
||||
public:
|
||||
explicit SubmitPasteResponse (redis::IncRedis& parRedis);
|
||||
|
||||
private:
|
||||
virtual void on_send (std::ostream& parStream) override;
|
||||
bool submit_to_redis (const std::string& parText) const;
|
||||
|
||||
redis::IncRedis& m_redis;
|
||||
};
|
||||
} //namespace tawashi
|
Loading…
Add table
Add a link
Reference in a new issue