From 40ca6c57eee4bc410f779211e31dc68434ba8697 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sun, 21 Sep 2008 18:03:17 +0000 Subject: [PATCH] Declare BPoseView as a friend of BTextView. This allows it to use the private width buffer classes, and fixes the gcc4 build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27673 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/interface/TextView.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/headers/os/interface/TextView.h b/headers/os/interface/TextView.h index 5ef72cc2f7..c652604357 100644 --- a/headers/os/interface/TextView.h +++ b/headers/os/interface/TextView.h @@ -39,6 +39,9 @@ enum undo_state { B_UNDO_DROP }; +namespace BPrivate { + class BPoseView; +} // namespace BPrivate class BTextView : public BView { public: @@ -274,6 +277,7 @@ private: class TypingUndoBuffer; friend class TextTrackState; + friend class BPrivate::BPoseView; friend status_t _init_interface_kit_(); virtual void _ReservedTextView3();