From b5504a512c93771a1f666fc6d0d190943c5f97c8 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 24 Nov 2009 19:26:25 +0000 Subject: [PATCH] Moved includes from the header to the implementation git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34213 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermView.cpp | 6 +----- src/apps/terminal/TermView.h | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index bc6be493bc..0dde0faac5 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -13,6 +13,7 @@ */ +#include "TerminalBuffer.h" #include "TermView.h" #include @@ -372,11 +373,6 @@ TermView::Instantiate(BMessage* data) { if (validate_instantiation(data, "TermView")) { TermView *view = new (std::nothrow) TermView(data); - /*BScrollView *scrollView = new BScrollView("term_scrollview", - view, B_FOLLOW_ALL, B_WILL_DRAW | B_FRAME_EVENTS, true, true); - view->SetScrollBar(scrollView->ScrollBar(B_VERTICAL)); - scrollView->ResizeTo(200, 200); - return scrollView; */ return view; } diff --git a/src/apps/terminal/TermView.h b/src/apps/terminal/TermView.h index 7a668364d6..ba7576f33a 100644 --- a/src/apps/terminal/TermView.h +++ b/src/apps/terminal/TermView.h @@ -16,7 +16,6 @@ #include #include -#include "TerminalBuffer.h" #include "TermPos.h" @@ -26,7 +25,9 @@ class BScrollBar; class BScrollView; class BString; class BStringView; +class BasicTerminalBuffer; class TermBuffer; +class TerminalBuffer; class ResizeWindow; class Shell;