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

19 lines
303 B
C++

#pragma once
#include "PlainTextDocument.h"
#include "Pointer.h"
class TextEditorModel
{
PlainTextDocumentUPtr mDocument;
public:
TextEditorModel();
static Ptr<TextEditorModel> Create();
PlainTextDocument* GetDocument() const;
};
using TextEditorModelUPtr = Ptr<TextEditorModel>;