| 961 | return ""; |
| 962 | } |
| 963 | std::string ProjectParser::LoadProjectFile(const std::string& file) |
| 964 | { |
| 965 | std::ifstream in(GetProjectPath(file)); |
| 966 | if (in.is_open()) { |
| 967 | in.seekg(0, std::ios::beg); |
| 968 | |
| 969 | std::string content((std::istreambuf_iterator<char>(in)), (std::istreambuf_iterator<char>())); |
| 970 | in.close(); |
| 971 | return content; |
| 972 | } |
| 973 | return ""; |
| 974 | } |
| 975 | char* ProjectParser::LoadProjectFile(const std::string& file, size_t& fsize) |
| 976 | { |
| 977 | std::string actual = GetProjectPath(file); |
no test coverage detected