mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
18 lines
347 B
C++
18 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;
|
|
};
|