canvi de pc
This commit is contained in:
@@ -96,11 +96,11 @@ public:
|
||||
void show(std::vector<std::string> texts, int icon = -1, const std::string &code = std::string());
|
||||
|
||||
// Indica si hay notificaciones activas
|
||||
bool isActive();
|
||||
bool isActive() { return !notifications_.empty(); }
|
||||
|
||||
// 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);
|
||||
bool checkCode(const std::string &code) { return stringInVector(getCodes(), code); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user