1 /* 2 * Copyright 2014 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Zhuowei Zhang 7 */ 8 #ifndef CONSOLE_WINDOW_H 9 #define CONSOLE_WINDOW_H 10 11 12 #include <String.h> 13 #include <Window.h> 14 15 16 class BListView; 17 class BButton; 18 19 20 class ConsoleWindow : public BWindow { 21 public: 22 ConsoleWindow(BRect frame); 23 virtual void MessageReceived(BMessage* message); 24 virtual bool QuitRequested(); 25 private: 26 BListView* fMessagesListView; 27 BButton* fClearMessagesButton; 28 }; 29 30 31 #endif // CONSOLE_WINDOW_H 32