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 15 class MainWindow::ThreadsPage : public BGroupView, private TableListener { 16 public: 17 ThreadsPage(MainWindow* parent); 18 virtual ~ThreadsPage(); 19 20 void SetModel(Model* model); 21 22 private: 23 class ThreadsTableModel; 24 25 private: 26 // TableListener 27 virtual void TableRowInvoked(Table* table, int32 rowIndex); 28 29 private: 30 MainWindow* fParent; 31 Table* fThreadsTable; 32 ThreadsTableModel* fThreadsTableModel; 33 Model* fModel; 34 }; 35 36 37 38 #endif // MAIN_THREADS_PAGE_H 39