mirror of
https://github.com/RGBCube/serenity
synced 2025-10-17 20:52:26 +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;
|
|
};
|