This commit is contained in:
2025-10-27 19:03:34 +01:00
parent 5f47c88770
commit 6af2d72ea8
2 changed files with 13 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ class Notifier {
static void destroy();
// [SINGLETON] Con este método obtenemos el objeto y podemos trabajar con él
static Notifier* get();
static auto get() -> Notifier*;
// Dibuja las notificaciones por pantalla
void render();
@@ -103,8 +103,8 @@ class Notifier {
void show(std::vector<std::string> texts, NotificationText text_is = NotificationText::LEFT, Uint32 display_duration = DEFAULT_NOTIFICATION_DURATION, int icon = -1, bool can_be_removed = true, const std::string& code = std::string());
// Indica si hay notificaciones activas
bool isActive();
auto isActive() -> bool;
// Obtiene los códigos de las notificaciones
std::vector<std::string> getCodes();
auto getCodes() -> std::vector<std::string>;
};