Files
vanilla/gui/menu/menu_sudo_warning.h
MattKCandMattKC 61e2a91028 Implement Polkit agent for platforms that lack them (#244)
* attempt to set up polkit listener

* implement polkit agent functionality

* finalized polkit implementation

* add warning for installing polkit rule

* docker: install libpolkit-agent-1-dev

* add uninstall polkit option

---------

Co-authored-by: MattKC <[email protected]>
2025-10-03 16:25:00 -07:00

9 lines
335 B
C

#ifndef VANILLA_PI_MENU_SUDO_WARNING_H
#define VANILLA_PI_MENU_SUDO_WARNING_H
#include "ui/ui.h"
void vpi_menu_create_sudo_warning(vui_context_t *vui, int layer, vui_button_callback_t ack_action, void *ack_action_userdata, vui_button_callback_t cancel_action, void *cancel_action_userdata);
#endif // VANILLA_PI_MENU_SUDO_WARNING_H