2009-06-02 19:28:19 +00:00
|
|
|
#ifndef HEADER_OpenFilesScreen
|
|
|
|
#define HEADER_OpenFilesScreen
|
|
|
|
/*
|
|
|
|
htop - OpenFilesScreen.h
|
|
|
|
(C) 2005-2006 Hisham H. Muhammad
|
2020-10-05 07:51:32 +00:00
|
|
|
Released under the GNU GPLv2, see the COPYING file
|
2009-06-02 19:28:19 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2020-09-19 11:55:23 +00:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
2016-01-12 08:00:58 +00:00
|
|
|
#include "InfoScreen.h"
|
2020-09-19 11:55:23 +00:00
|
|
|
#include "Object.h"
|
|
|
|
#include "Process.h"
|
2009-06-02 19:28:19 +00:00
|
|
|
|
2021-04-29 15:12:43 +00:00
|
|
|
|
2009-06-02 19:28:19 +00:00
|
|
|
typedef struct OpenFilesScreen_ {
|
2016-01-12 08:00:58 +00:00
|
|
|
InfoScreen super;
|
2011-03-28 17:13:28 +00:00
|
|
|
pid_t pid;
|
2009-06-02 19:28:19 +00:00
|
|
|
} OpenFilesScreen;
|
|
|
|
|
2020-10-05 11:19:50 +00:00
|
|
|
extern const InfoScreenClass OpenFilesScreen_class;
|
2016-01-12 08:00:58 +00:00
|
|
|
|
2020-10-07 17:02:23 +00:00
|
|
|
OpenFilesScreen* OpenFilesScreen_new(const Process* process);
|
2009-06-02 19:28:19 +00:00
|
|
|
|
2020-09-02 07:38:44 +00:00
|
|
|
void OpenFilesScreen_delete(Object* this);
|
2016-01-12 08:00:58 +00:00
|
|
|
|
2009-06-02 19:28:19 +00:00
|
|
|
#endif
|