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
This commit is contained in:
Rene Gollent 2008-09-21 18:03:17 +00:00
parent eebbbf4494
commit 40ca6c57ee

View File

@ -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();