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