cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -51,7 +51,7 @@ struct LoginState {
|
||||
char error_msg[128];
|
||||
bool show_error;
|
||||
|
||||
Montauk::MouseState mouse;
|
||||
montauk::abi::MouseState mouse;
|
||||
uint8_t prev_buttons;
|
||||
gui::mtk::TextInputState username_input;
|
||||
gui::mtk::TextInputState display_name_input;
|
||||
@@ -144,12 +144,12 @@ void draw_login_screen(LoginState* ls);
|
||||
int max_fields(LoginState* ls);
|
||||
bool try_first_boot_submit(LoginState* ls);
|
||||
bool try_login(LoginState* ls);
|
||||
void handle_key(LoginState* ls, const Montauk::KeyEvent& key);
|
||||
void handle_key(LoginState* ls, const montauk::abi::KeyEvent& key);
|
||||
void handle_mouse(LoginState* ls);
|
||||
|
||||
// Graceful shutdown view (login_shutdown.cpp). draw_shutdown_screen paints the
|
||||
// status card; perform_graceful_shutdown runs the staged power-off (Bluetooth
|
||||
// teardown, filesystem flush) and finally issues the ACPI power-off / reset, so
|
||||
// it never returns. `action` is Montauk::POWER_REQ_SHUTDOWN or POWER_REQ_REBOOT.
|
||||
// it never returns. `action` is montauk::abi::POWER_REQ_SHUTDOWN or POWER_REQ_REBOOT.
|
||||
void draw_shutdown_screen(LoginState* ls, const char* heading, const char* status);
|
||||
[[noreturn]] void perform_graceful_shutdown(LoginState* ls, int action);
|
||||
|
||||
Reference in New Issue
Block a user