1/*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef MAIN_THREADS_PAGE_H
6#define MAIN_THREADS_PAGE_H
7
8#include <GroupView.h>
9
10#include "table/Table.h"
11
12#include "main_window/MainWindow.h"
13
14
15class MainWindow::ThreadsPage : public BGroupView, private TableListener {
16public:
17								ThreadsPage(MainWindow* parent);
18	virtual						~ThreadsPage();
19
20			void				SetModel(Model* model);
21
22private:
23			class ThreadsTableModel;
24
25private:
26	// TableListener
27	virtual	void				TableRowInvoked(Table* table, int32 rowIndex);
28
29private:
30			MainWindow*			fParent;
31			Table*				fThreadsTable;
32			ThreadsTableModel*	fThreadsTableModel;
33			Model*				fModel;
34};
35
36
37
38#endif	// MAIN_THREADS_PAGE_H
39