diff --git a/source/common/menu.cpp b/source/common/menu.cpp index 0027050..f807d3e 100644 --- a/source/common/menu.cpp +++ b/source/common/menu.cpp @@ -108,7 +108,7 @@ bool Menu::load(std::string file_path) if (file.good()) { // Procesa el fichero linea a linea - std::cout << "Reading file " << filename.c_str() << std::endl; + //std::cout << "Reading file " << filename.c_str() << std::endl; while (std::getline(file, line)) { if (line == "[item]") @@ -132,7 +132,7 @@ bool Menu::load(std::string file_path) // Procesa las dos subcadenas if (!setItem(&item, line.substr(0, pos), line.substr(pos + 1, line.length()))) { - std::cout << "Warning: file " << filename.c_str() << "\n, unknown parameter \"" << line.substr(0, pos).c_str() << "\"" << std::endl; + //std::cout << "Warning: file " << filename.c_str() << "\n, unknown parameter \"" << line.substr(0, pos).c_str() << "\"" << std::endl; success = false; } @@ -149,7 +149,7 @@ bool Menu::load(std::string file_path) // Procesa las dos subcadenas if (!setVars(line.substr(0, pos), line.substr(pos + 1, line.length()))) { - std::cout << "Warning: file " << filename.c_str() << "\n, unknown parameter \"" << line.substr(0, pos).c_str() << "\"" << std::endl; + //std::cout << "Warning: file " << filename.c_str() << "\n, unknown parameter \"" << line.substr(0, pos).c_str() << "\"" << std::endl; success = false; } @@ -163,13 +163,13 @@ bool Menu::load(std::string file_path) } // Cierra el fichero - std::cout << "Closing file " << filename.c_str() << std::endl; + //std::cout << "Closing file " << filename.c_str() << std::endl; file.close(); } // El fichero no se puede abrir else { - std::cout << "Warning: Unable to open " << filename.c_str() << " file" << std::endl; + //std::cout << "Warning: Unable to open " << filename.c_str() << " file" << std::endl; success = false; }