aboutsummaryrefslogtreecommitdiffstats
path: root/SignalsPanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'SignalsPanel.h')
-rw-r--r--SignalsPanel.h29
1 files changed, 11 insertions, 18 deletions
diff --git a/SignalsPanel.h b/SignalsPanel.h
index 34ef472..da75354 100644
--- a/SignalsPanel.h
+++ b/SignalsPanel.h
@@ -2,27 +2,20 @@
#ifndef HEADER_SignalsPanel
#define HEADER_SignalsPanel
+/*
+htop - SignalsPanel.h
+(C) 2004-2011 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+*/
-#include "Panel.h"
-#include "SignalItem.h"
-#include "RichString.h"
-#include "debug.h"
-#include <assert.h>
+typedef struct SignalItem_ {
+ const char* name;
+ int number;
+} SignalItem;
-#include <ctype.h>
-
-typedef struct SignalsPanel_ {
- Panel super;
-
- int state;
- Signal** signals;
-} SignalsPanel;
-
-
-SignalsPanel* SignalsPanel_new(int x, int y, int w, int h);
-
-void SignalsPanel_reset(SignalsPanel* this);
+Panel* SignalsPanel_new();
#endif