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