summaryrefslogtreecommitdiffstats
path: root/MemoryMeter.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--MemoryMeter.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/MemoryMeter.h b/MemoryMeter.h
new file mode 100644
index 0000000..e39b3bd
--- /dev/null
+++ b/MemoryMeter.h
@@ -0,0 +1,24 @@
+#ifndef HEADER_MemoryMeter
+#define HEADER_MemoryMeter
+/*
+htop - MemoryMeter.h
+(C) 2004-2011 Hisham H. Muhammad
+Released under the GNU GPLv2+, see the COPYING file
+in the source distribution for its full text.
+*/
+
+#include "Meter.h"
+
+typedef enum {
+ MEMORY_METER_USED = 0,
+ MEMORY_METER_SHARED = 1,
+ MEMORY_METER_COMPRESSED = 2,
+ MEMORY_METER_BUFFERS = 3,
+ MEMORY_METER_CACHE = 4,
+ MEMORY_METER_AVAILABLE = 5,
+ MEMORY_METER_ITEMCOUNT = 6, // number of entries in this enum
+} MemoryMeterValues;
+
+extern const MeterClass MemoryMeter_class;
+
+#endif