stuff-from-scratch/apps/notes_tk/text_editor/PlainTextDocument.h
2023-12-27 12:20:02 +00:00

24 lines
338 B
C++

#pragma once
#include "String.h"
#include "Pointer.h"
class PlainTextDocument
{
String mContent;
public:
PlainTextDocument();
static Ptr<PlainTextDocument> Create();
String GetContent() const;
void SetContent(const String& content);
void Clear();
};
using PlainTextDocumentUPtr = Ptr<PlainTextDocument>;