aboutsummaryrefslogtreecommitdiffstats
path: root/MetersPanel.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 /MetersPanel.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 'MetersPanel.h')
-rw-r--r--MetersPanel.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/MetersPanel.h b/MetersPanel.h
index c02ce1c..cf4de60 100644
--- a/MetersPanel.h
+++ b/MetersPanel.h
@@ -3,14 +3,19 @@
/*
htop - MetersPanel.h
(C) 2004-2011 Hisham H. Muhammad
-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 <stdbool.h>
+
#include "Panel.h"
-#include "Settings.h"
#include "ScreenManager.h"
+#include "Settings.h"
+#include "Vector.h"
+
+struct MetersPanel_;
typedef struct MetersPanel_ MetersPanel;
struct MetersPanel_ {
@@ -24,9 +29,11 @@ struct MetersPanel_ {
bool moving;
};
+void MetersPanel_cleanup(void);
+
void MetersPanel_setMoving(MetersPanel* this, bool moving);
-extern PanelClass MetersPanel_class;
+extern const PanelClass MetersPanel_class;
MetersPanel* MetersPanel_new(Settings* settings, const char* header, Vector* meters, ScreenManager* scr);

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