From e9df9f664fe705c26dde186fe6047f77663c82ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 12 Jan 2014 22:02:36 +0100 Subject: [PATCH] Make TextEditor referenceable. --- src/apps/haiku-depot/textview/TextEditor.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/apps/haiku-depot/textview/TextEditor.h b/src/apps/haiku-depot/textview/TextEditor.h index c52c4b21c3..77c851e6c9 100644 --- a/src/apps/haiku-depot/textview/TextEditor.h +++ b/src/apps/haiku-depot/textview/TextEditor.h @@ -6,6 +6,8 @@ #define TEXT_EDITOR_H +#include + #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 TextEditorRef; + + #endif // TEXT_EDITOR_H