19 lines
303 B
C++
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>;
|