1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef THREAD_WAIT_OBJECTS_PAGE_H 6 #define THREAD_WAIT_OBJECTS_PAGE_H 7 8 #include <GroupView.h> 9 10 #include "table/TreeTable.h" 11 12 #include "thread_window/ThreadWindow.h" 13 14 15 class ThreadWindow::WaitObjectsPage : public BGroupView, 16 private TreeTableListener { 17 public: 18 WaitObjectsPage(); 19 virtual ~WaitObjectsPage(); 20 21 void SetModel(ThreadModel* model); 22 23 private: 24 class WaitObjectsTreeModel; 25 26 private: 27 // TableListener 28 virtual void TreeTableNodeInvoked(TreeTable* table, 29 void* node); 30 31 private: 32 TreeTable* fWaitObjectsTree; 33 WaitObjectsTreeModel* fWaitObjectsTreeModel; 34 ThreadModel* fThreadModel; 35 }; 36 37 38 39 #endif // THREAD_WAIT_OBJECTS_PAGE_H 40