1 /* 2 * Copyright 2000, Georges-Edouard Berenger. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _PRIORITY_MENU_H_ 6 #define _PRIORITY_MENU_H_ 7 8 #include <Menu.h> 9 10 class PriorityMenu : public BMenu 11 { 12 public: 13 PriorityMenu (thread_id thread, int32 priority); 14 15 void Update (int32 priority); 16 void BuildMenu (); 17 18 private: 19 thread_id fThreadID; 20 int32 fPriority; 21 }; 22 23 24 #endif // _PRIORITY_MENU_H_ 25