summaryrefslogtreecommitdiffstats
path: root/Action.h
diff options
context:
space:
mode:
Diffstat (limited to 'Action.h')
-rw-r--r--Action.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/Action.h b/Action.h
index 7571ba41..dd11fdb4 100644
--- a/Action.h
+++ b/Action.h
@@ -12,7 +12,10 @@ in the source distribution for its full text.
#include "IncSet.h"
#include "Settings.h"
+#include "Header.h"
#include "UsersTable.h"
+#include "ProcessList.h"
+#include "Panel.h"
typedef enum {
HTOP_OK = 0x00,
@@ -31,15 +34,21 @@ typedef struct State_ {
IncSet* inc;
Settings* settings;
UsersTable* ut;
+ ProcessList* pl;
+ Panel* panel;
+ Header* header;
} State;
-typedef bool(*Action_ForeachProcessFn)(Process*, size_t);
+Object* Action_pickFromVector(State* st, Panel* list, int x, const char** keyLabels);
-int Action_selectedPid(Panel* panel);
+// ----------------------------------------
-bool Action_foreachProcess(Panel* panel, Action_ForeachProcessFn fn, int arg, bool* wasAnyTagged);
+bool Action_setUserOnly(const char* userName, uid_t* userId);
+
+// ----------------------------------------
+
+void Action_setBindings(Htop_Action* keys);
-Object* Action_pickFromVector(Panel* panel, Panel* list, int x, const char** keyLabels, Header* header);
#endif