aboutsummaryrefslogtreecommitdiffstats
path: root/MainPanel.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-12-07 10:26:01 +0100
committerDaniel Lange <DLange@git.local>2020-12-07 10:26:01 +0100
commit65357c8c46154de4e4eca14075bfe5523bb5fc14 (patch)
tree8f430ee5a0d5de377c4e7c94e47842a27c70d7e8 /MainPanel.h
parentf80394a20254938142011855f2954b3f63fe5909 (diff)
downloaddebian_htop-65357c8c46154de4e4eca14075bfe5523bb5fc14.tar.gz
debian_htop-65357c8c46154de4e4eca14075bfe5523bb5fc14.tar.bz2
debian_htop-65357c8c46154de4e4eca14075bfe5523bb5fc14.zip
New upstream version 3.0.3upstream/3.0.3
Diffstat (limited to 'MainPanel.h')
-rw-r--r--MainPanel.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/MainPanel.h b/MainPanel.h
index ca06472..03a1aff 100644
--- a/MainPanel.h
+++ b/MainPanel.h
@@ -4,19 +4,27 @@
htop - ColumnsPanel.h
(C) 2004-2015 Hisham H. Muhammad
(C) 2020 Red Hat, Inc. All Rights Reserved.
-Released under the GNU GPL, see the COPYING file
+Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
+#include <stdbool.h>
+#include <sys/types.h>
+
#include "Action.h"
#include "IncSet.h"
+#include "Object.h"
#include "Panel.h"
+#include "Process.h"
+
typedef struct MainPanel_ {
Panel super;
State* state;
IncSet* inc;
- Htop_Action *keys;
+ Htop_Action* keys;
pid_t pidSearch;
} MainPanel;
@@ -34,9 +42,9 @@ const char* MainPanel_getValue(MainPanel* this, int i);
bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, Arg arg, bool* wasAnyTagged);
-extern PanelClass MainPanel_class;
+extern const PanelClass MainPanel_class;
-MainPanel* MainPanel_new();
+MainPanel* MainPanel_new(void);
void MainPanel_setState(MainPanel* this, State* state);

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