Make TextEditor referenceable.

This commit is contained in:
Stephan Aßmus
2014-01-12 22:06:35 +01:00
parent 5c3fd4605e
commit e9df9f664f
+6 -1
View File
@@ -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