aboutsummaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:01:07 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:01:07 +0200
commitff9409b1737627857eb47f64f536a3f66b6a09a4 (patch)
tree61b631ba551e68a4f656b8b76ff7bd0d9955fc64 /OpenFilesScreen.h
parentf75ab6d2c11e8a8e18191b087564aedebbeb96c5 (diff)
downloaddebian_htop-ff9409b1737627857eb47f64f536a3f66b6a09a4.tar.gz
debian_htop-ff9409b1737627857eb47f64f536a3f66b6a09a4.tar.bz2
debian_htop-ff9409b1737627857eb47f64f536a3f66b6a09a4.zip
Imported Upstream version 2.0.0upstream/2.0.0
Diffstat (limited to 'OpenFilesScreen.h')
-rw-r--r--OpenFilesScreen.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenFilesScreen.h b/OpenFilesScreen.h
index b3cdd97..8160cfe 100644
--- a/OpenFilesScreen.h
+++ b/OpenFilesScreen.h
@@ -9,9 +9,7 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
-#include "Process.h"
-#include "Panel.h"
-#include "FunctionBar.h"
+#include "InfoScreen.h"
typedef struct OpenFiles_Data_ {
char* data[256];
@@ -29,17 +27,19 @@ typedef struct OpenFiles_FileData_ {
} OpenFiles_FileData;
typedef struct OpenFilesScreen_ {
- Process* process;
+ InfoScreen super;
pid_t pid;
- Panel* display;
- FunctionBar* bar;
} OpenFilesScreen;
+extern InfoScreenClass OpenFilesScreen_class;
+
OpenFilesScreen* OpenFilesScreen_new(Process* process);
-void OpenFilesScreen_delete(OpenFilesScreen* this);
+void OpenFilesScreen_delete(Object* this);
+
+void OpenFilesScreen_draw(InfoScreen* this);
-void OpenFilesScreen_run(OpenFilesScreen* this);
+void OpenFilesScreen_scan(InfoScreen* this);
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy