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