| 80 | } |
| 81 | |
| 82 | void ReadStringsFromFile(string const & path, vector<string> & result) |
| 83 | { |
| 84 | ifstream stream(path.c_str()); |
| 85 | CHECK(stream.is_open(), ("Can't open", path)); |
| 86 | |
| 87 | string s; |
| 88 | while (getline(stream, s)) |
| 89 | { |
| 90 | strings::Trim(s); |
| 91 | if (!s.empty()) |
| 92 | result.emplace_back(s); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | void SetPlatformDirs(string const & dataPath, string const & mwmPath) |
| 97 | { |
no test coverage detected