| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 1 | #ifndef HEADER_OpenFilesScreen |
| 2 | #define HEADER_OpenFilesScreen |
| 3 | /* |
| 4 | htop - OpenFilesScreen.h |
| 5 | (C) 2005-2006 Hisham H. Muhammad |
| Daniel Lange | 079c2ab | 2020-10-05 09:51:32 +0200 | [diff] [blame] | 6 | Released under the GNU GPLv2, see the COPYING file |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 7 | in the source distribution for its full text. |
| 8 | */ |
| 9 | |
| Benny Baumann | 0f52629 | 2020-09-19 13:55:23 +0200 | [diff] [blame] | 10 | #include <sys/types.h> |
| 11 | |
| Hisham Muhammad | 466d4da | 2016-01-12 06:00:58 -0200 | [diff] [blame] | 12 | #include "InfoScreen.h" |
| Benny Baumann | 0f52629 | 2020-09-19 13:55:23 +0200 | [diff] [blame] | 13 | #include "Object.h" |
| 14 | #include "Process.h" |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 15 | |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 16 | typedef struct OpenFilesScreen_ { |
| Hisham Muhammad | 466d4da | 2016-01-12 06:00:58 -0200 | [diff] [blame] | 17 | InfoScreen super; |
| Hisham Muhammad | 391eab2 | 2011-03-28 17:13:28 +0000 | [diff] [blame] | 18 | pid_t pid; |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 19 | } OpenFilesScreen; |
| 20 | |
| Christian Göttsche | ba282cf | 2020-10-05 13:19:50 +0200 | [diff] [blame] | 21 | extern const InfoScreenClass OpenFilesScreen_class; |
| Hisham Muhammad | 466d4da | 2016-01-12 06:00:58 -0200 | [diff] [blame] | 22 | |
| Christian Göttsche | f8b9ced | 2020-10-07 19:02:23 +0200 | [diff] [blame] | 23 | OpenFilesScreen* OpenFilesScreen_new(const Process* process); |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 24 | |
| Zev Weiss | 7b7822b | 2020-09-02 02:38:44 -0500 | [diff] [blame] | 25 | void OpenFilesScreen_delete(Object* this); |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 26 | |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 27 | #endif |