singletoning

This commit is contained in:
2025-02-21 18:03:09 +01:00
parent debcc3409e
commit 5f68c6256f
8 changed files with 601 additions and 563 deletions

View File

@@ -193,4 +193,10 @@ bool colorAreEqual(color_t color1, color_t color2);
std::string toLower(std::string str);
// Convierte una cadena a mayúsculas
std::string toUpper(std::string str);
std::string toUpper(std::string str);
// Obtiene el nombre de un fichero a partir de una ruta
std::string getFileName(const std::string &path);
// Obtiene la ruta eliminando el nombre del fichero
std::string getPath(const std::string &full_path);