cpp11chat/text_message.h

27 lines
446 B
C
Raw Normal View History

#pragma once
#include "message.h"
#include <string>
#include <iterator>
class text_message : public message
{
private:
std::string _text;
protected:
virtual std::string get_message_length() override;
virtual std::string get_message() override;
2016-11-19 23:18:14 +00:00
virtual void process_data(std::string&) override;
public:
text_message();
text_message(std::string);
std::string get_text();
virtual ~text_message() override;
};