comparison dep/animia/src/animia.cc @ 155:d2bbb5773616

dep/animia: add quartz backend for windows
author Paper <mrpapersonic@gmail.com>
date Wed, 15 Nov 2023 15:24:39 -0500
parents bd439dd6ffc5
children cdf79282d647
comparison
equal deleted inserted replaced
154:d43d68408d3c 155:d2bbb5773616
48 } // namespace internal 48 } // namespace internal
49 49
50 bool GetResults(const std::vector<Player>& players, std::vector<Result>& results) { 50 bool GetResults(const std::vector<Player>& players, std::vector<Result>& results) {
51 /* Start out with file descriptors. */ 51 /* Start out with file descriptors. */
52 auto process_proc = [&](const Process& process) -> bool { 52 auto process_proc = [&](const Process& process) -> bool {
53 std::cout << process.name << std::endl;
54
53 for (const auto& player : players) { 55 for (const auto& player : players) {
54 if (!internal::PlayerHasStrategy(player, Strategy::OpenFiles)) 56 if (!internal::PlayerHasStrategy(player, Strategy::OpenFiles))
55 continue; 57 continue;
56 58
57 if (!internal::IsExecutableInList(player, process.name)) 59 if (!internal::IsExecutableInList(player, process.name))