Demana confirmació per a canviar el idioma amb les tecles ràpides

Demana confirmació per reiniciar
This commit is contained in:
2025-03-10 21:22:32 +01:00
parent 79b2917112
commit 9c1b3c45b0
11 changed files with 92 additions and 38 deletions

View File

@@ -66,7 +66,7 @@ private:
void clearFinishedNotifications();
// Finaliza y elimnina todas las notificaciones activas
void clearNotifications();
void clearAllNotifications();
// [SINGLETON] Ahora el constructor y el destructor son privados, para no poder crear objetos notifier desde fuera
@@ -93,11 +93,14 @@ public:
void update();
// Muestra una notificación de texto por pantalla
void showText(std::vector<std::string> texts, int icon = -1, const std::string &code = std::string());
void show(std::vector<std::string> texts, int icon = -1, const std::string &code = std::string());
// Indica si hay notificaciones activas
bool isActive();
// Obtiene los códigos de las notificaciones
std::vector<std::string> getCodes();
// Comprueba si hay alguna notificacion con un código
bool checkCode(std::string code);
};