aboutsummaryrefslogtreecommitdiffstats
path: root/SwapMeter.h
diff options
context:
space:
mode:
authorDiogo Ferreira <defer@cyngn.com>2015-01-14 11:13:52 +0000
committerDiogo Ferreira <defer@cyngn.com>2015-01-14 11:38:57 +0000
commit841159c272ac08b1cd5bdef5167a8ce11383fbb5 (patch)
treed7272ef150e58eaa1acc9ab62cf9e6c0aecbc2da /SwapMeter.h
parente1a8535012ab86d3e926bebfb7731dab1eb7320a (diff)
downloadandroid_external_htop-stable/cm-12.1-YOG3C.tar.gz
android_external_htop-stable/cm-12.1-YOG3C.tar.bz2
android_external_htop-stable/cm-12.1-YOG3C.zip
Change-Id: I416c44803b3a79c2fd752e342ea113875fa533e0
Diffstat (limited to 'SwapMeter.h')
-rw-r--r--SwapMeter.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/SwapMeter.h b/SwapMeter.h
index efaab23..bb46a38 100644
--- a/SwapMeter.h
+++ b/SwapMeter.h
@@ -3,27 +3,21 @@
#ifndef HEADER_SwapMeter
#define HEADER_SwapMeter
/*
-htop
-(C) 2004-2010 Hisham H. Muhammad
+htop - SwapMeter.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 "Meter.h"
-#include "ProcessList.h"
-
-#include <stdlib.h>
-#include <curses.h>
-#include <string.h>
-#include <math.h>
-#include <sys/param.h>
-
-#include "debug.h"
-#include <assert.h>
+#define KILOBYTE 1
+#define MEGABYTE 1024
+#define GIGABYTE 1048576
extern int SwapMeter_attributes[];
-extern MeterType SwapMeter;
+/* NOTE: Value is in kilobytes */
+extern MeterClass SwapMeter_class;
#endif