xref: /haiku/src/apps/debuganalyzer/gui/thread_window/GeneralPage.h (revision 37ea725498bdf48e51dfbeb7b8befb3e59f2cb5b)
1 /*
2  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef THREAD_GENERAL_PAGE_H
6 #define THREAD_GENERAL_PAGE_H
7 
8 #include "AbstractGeneralPage.h"
9 #include "thread_window/ThreadWindow.h"
10 
11 
12 class TextDataView;
13 
14 
15 class ThreadWindow::GeneralPage : public AbstractGeneralPage {
16 public:
17 								GeneralPage();
18 	virtual						~GeneralPage();
19 
20 			void				SetModel(Model* model, Model::Thread* thread);
21 
22 private:
23 			Model*				fModel;
24 			Model::Thread*		fThread;
25 			TextDataView*		fThreadNameView;
26 			TextDataView*		fThreadIDView;
27 			TextDataView*		fTeamView;
28 			TextDataView*		fRunTimeView;
29 			TextDataView*		fWaitTimeView;
30 			TextDataView*		fLatencyView;
31 			TextDataView*		fPreemptionView;
32 			TextDataView*		fUnspecifiedTimeView;
33 };
34 
35 
36 
37 #endif	// THREAD_GENERAL_PAGE_H
38