htop/AvailableMetersPanel.h

35 lines
826 B
C
Raw Permalink Normal View History

2006-05-30 13:47:28 +00:00
#ifndef HEADER_AvailableMetersPanel
#define HEADER_AvailableMetersPanel
2011-12-26 21:35:57 +00:00
/*
htop - AvailableMetersPanel.h
(C) 2004-2011 Hisham H. Muhammad
Released under the GNU GPLv2, see the COPYING file
2011-12-26 21:35:57 +00:00
in the source distribution for its full text.
*/
2006-03-04 18:16:49 +00:00
2021-08-24 15:27:43 +00:00
#include <stddef.h>
#include "Header.h"
2020-12-25 15:42:35 +00:00
#include "MetersPanel.h"
2006-05-30 13:47:28 +00:00
#include "Panel.h"
#include "ProcessList.h"
2020-09-18 17:23:04 +00:00
#include "ScreenManager.h"
#include "Settings.h"
2006-03-04 18:16:49 +00:00
2021-04-29 15:12:43 +00:00
2006-05-30 13:47:28 +00:00
typedef struct AvailableMetersPanel_ {
Panel super;
ScreenManager* scr;
2006-03-04 18:16:49 +00:00
Settings* settings;
Header* header;
2020-12-25 15:42:35 +00:00
size_t columns;
MetersPanel** meterPanels;
2006-05-30 13:47:28 +00:00
} AvailableMetersPanel;
2006-03-04 18:16:49 +00:00
2020-10-05 11:19:50 +00:00
extern const PanelClass AvailableMetersPanel_class;
2020-12-25 15:42:35 +00:00
AvailableMetersPanel* AvailableMetersPanel_new(Settings* settings, Header* header, size_t columns, MetersPanel **meterPanels, ScreenManager* scr, const ProcessList* pl);
2006-03-04 18:16:49 +00:00
#endif