| 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 | 94ad111 | 2021-09-22 11:33:00 +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 | |
| mayurdahibhate | 1b74dfe | 2021-04-29 20:42:43 +0530 | [diff] [blame] | 16 | |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 17 | typedef struct OpenFilesScreen_ { |
| Hisham Muhammad | 466d4da | 2016-01-12 06:00:58 -0200 | [diff] [blame] | 18 | InfoScreen super; |
| Hisham Muhammad | 391eab2 | 2011-03-28 17:13:28 +0000 | [diff] [blame] | 19 | pid_t pid; |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 20 | } OpenFilesScreen; |
| 21 | |||||
| Christian Göttsche | ba282cf | 2020-10-05 13:19:50 +0200 | [diff] [blame] | 22 | extern const InfoScreenClass OpenFilesScreen_class; |
| Hisham Muhammad | 466d4da | 2016-01-12 06:00:58 -0200 | [diff] [blame] | 23 | |
| Christian Göttsche | f8b9ced | 2020-10-07 19:02:23 +0200 | [diff] [blame] | 24 | OpenFilesScreen* OpenFilesScreen_new(const Process* process); |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 25 | |
| Zev Weiss | 7b7822b | 2020-09-02 02:38:44 -0500 | [diff] [blame] | 26 | void OpenFilesScreen_delete(Object* this); |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 27 | |
| Hisham Muhammad | 7ee2646 | 2009-06-02 19:28:19 +0000 | [diff] [blame] | 28 | #endif |