Make TextEditor referenceable.
This commit is contained in:
parent
5c3fd4605e
commit
e9df9f664f
|
@ -6,6 +6,8 @@
|
|||
#define TEXT_EDITOR_H
|
||||
|
||||
|
||||
#include <Referenceable.h>
|
||||
|
||||
#include "CharacterStyle.h"
|
||||
#include "TextDocument.h"
|
||||
#include "TextDocumentLayout.h"
|
||||
|
@ -21,7 +23,7 @@ public:
|
|||
};
|
||||
|
||||
|
||||
class TextEditor {
|
||||
class TextEditor : public BReferenceable {
|
||||
public:
|
||||
TextEditor();
|
||||
TextEditor(const TextEditor& other);
|
||||
|
@ -82,4 +84,7 @@ private:
|
|||
};
|
||||
|
||||
|
||||
typedef BReference<TextEditor> TextEditorRef;
|
||||
|
||||
|
||||
#endif // TEXT_EDITOR_H
|
||||
|
|
Loading…
Reference in New Issue