From ae78dbbff81196f1d7bc8fabf84d05e6b9f3ca03 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:42:50 +0900 Subject: updates --- fedora/.local/bin/htop-vim/Action.h | 67 ------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 fedora/.local/bin/htop-vim/Action.h (limited to 'fedora/.local/bin/htop-vim/Action.h') diff --git a/fedora/.local/bin/htop-vim/Action.h b/fedora/.local/bin/htop-vim/Action.h deleted file mode 100644 index 09b68bd..0000000 --- a/fedora/.local/bin/htop-vim/Action.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef HEADER_Action -#define HEADER_Action -/* -htop - Action.h -(C) 2015 Hisham H. Muhammad -Released under the GNU GPLv2+, see the COPYING file -in the source distribution for its full text. -*/ - -#include "config.h" // IWYU pragma: keep - -#include -#include - -#include "Header.h" -#include "Object.h" -#include "Panel.h" -#include "Process.h" -#include "ProcessList.h" -#include "Settings.h" -#include "UsersTable.h" - - -typedef enum { - HTOP_OK = 0x00, - HTOP_REFRESH = 0x01, - HTOP_RECALCULATE = 0x02 | HTOP_REFRESH, - HTOP_SAVE_SETTINGS = 0x04, - HTOP_KEEP_FOLLOWING = 0x08, - HTOP_QUIT = 0x10, - HTOP_REDRAW_BAR = 0x20, - HTOP_UPDATE_PANELHDR = 0x40 | HTOP_REFRESH, - HTOP_RESIZE = 0x80 | HTOP_REFRESH | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR, -} Htop_Reaction; - -struct MainPanel_; // IWYU pragma: keep - -typedef struct State_ { - Settings* settings; - UsersTable* ut; - ProcessList* pl; - struct MainPanel_* mainPanel; - Header* header; - bool pauseProcessUpdate; - bool hideProcessSelection; - bool hideMeters; -} State; - -static inline bool State_hideFunctionBar(const State* st) { - return st->settings->hideFunctionBar == 2 || (st->settings->hideFunctionBar == 1 && st->hideProcessSelection); -} - -typedef Htop_Reaction (*Htop_Action)(State* st); - -Object* Action_pickFromVector(State* st, Panel* list, int x, bool followProcess); - -bool Action_setUserOnly(const char* userName, uid_t* userId); - -Htop_Reaction Action_setSortKey(Settings* settings, ProcessField sortKey); - -Htop_Reaction Action_setScreenTab(Settings* settings, int x); - -Htop_Reaction Action_follow(State* st); - -void Action_setBindings(Htop_Action* keys); - -#endif -- cgit v1.2.3