1
0
Fork 0
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:
King_DuckZ 2017-04-06 22:45:44 +01:00
parent dbd1a3a90a
commit 33c52b88d5
4 changed files with 9 additions and 9 deletions

View 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