Mercurial > minori
comparison dep/animia/src/strategist.cc @ 153:bd439dd6ffc5
*: make win stuff actually work, rename bsd.cc to xnu.cc
It's been OS X only for ages, and these functions are different between
most BSDs anyway
| author | Paper <mrpapersonic@gmail.com> | 
|---|---|
| date | Wed, 15 Nov 2023 13:28:18 -0500 | 
| parents | 8700806c2cc2 | 
| children | cdf79282d647 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 152:8700806c2cc2 | 153:bd439dd6ffc5 | 
|---|---|
| 30 switch (result_.type) { | 30 switch (result_.type) { | 
| 31 case ResultType::Process: | 31 case ResultType::Process: | 
| 32 success |= ApplyOpenFilesStrategy(); | 32 success |= ApplyOpenFilesStrategy(); | 
| 33 break; | 33 break; | 
| 34 case ResultType::Window: | 34 case ResultType::Window: | 
| 35 std::cout << "Wat" << std::endl; | |
| 36 success |= ApplyWindowTitleStrategy(); | 35 success |= ApplyWindowTitleStrategy(); | 
| 37 break; | 36 break; | 
| 38 } | 37 } | 
| 39 | 38 | 
| 40 return success; | 39 return success; | 
