mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 11:10:59 +00:00
17 lines
347 B
C++
17 lines
347 B
C++
#pragma once
|
|
|
|
#include "Operation.h"
|
|
#include <string>
|
|
|
|
class InsertOperation final : public Operation {
|
|
public:
|
|
explicit InsertOperation(const std::string&);
|
|
explicit InsertOperation(char);
|
|
~InsertOperation();
|
|
|
|
virtual bool apply(Editor&) override;
|
|
virtual bool unapply(Editor&) override;
|
|
|
|
private:
|
|
std::string m_text;
|
|
};
|