| | |
| | | #include "../base/logger.h" |
| | | #include "../base/base.h" |
| | | #include "../base/EventRegistry.h" |
| | | #include "../base/FileUtils.hpp" |
| | | #include "../os/os.h" |
| | | #include "ApplicationFolder.hpp" |
| | | #include "../base/file_utils.hpp" |
| | | |
| | | namespace license { |
| | | namespace locate { |
| | |
| | | const FUNCTION_RETURN fret = getModuleName(fname); |
| | | if (fret == FUNC_RET_OK) { |
| | | const string module_name = remove_extension(fname); |
| | | const string temptativeLicense = string(module_name) + LICENSE_FILE_EXTENSION; |
| | | const string temptativeLicense = string(module_name) + LCC_LICENSE_FILE_EXTENSION; |
| | | ifstream f(temptativeLicense.c_str()); |
| | | if (f.good()) { |
| | | diskFiles.push_back(temptativeLicense); |