summaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2016-01-12 06:00:58 -0200
committerHisham Muhammad <hisham@gobolinux.org>2016-01-12 06:00:58 -0200
commit466d4da0c6e7255a38b8de3c3b9dc0373805cc41 (patch)
tree536ca897e2687e51961e9dffffd073f02aa07acb /OpenFilesScreen.h
parentfaf28606696ad023c786e8b63372bfa498b0974a (diff)
refactor *Screen classes, add InfoScreen superclass
Diffstat (limited to 'OpenFilesScreen.h')
-rw-r--r--OpenFilesScreen.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenFilesScreen.h b/OpenFilesScreen.h
index 68e33363..8160cfe2 100644
--- a/OpenFilesScreen.h
+++ b/OpenFilesScreen.h
@@ -9,8 +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 "InfoScreen.h"
typedef struct OpenFiles_Data_ {
char* data[256];
@@ -28,16 +27,19 @@ typedef struct OpenFiles_FileData_ {
} OpenFiles_FileData;
typedef struct OpenFilesScreen_ {
- Process* process;
+ InfoScreen super;
pid_t pid;
- Panel* display;
} 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