Mercurial > minori
comparison src/track/media.cc @ 366:886f66775f31
animone: add preliminary AT-SPI stuff
anime_list: finish the regular singular right click menu
author | Paper <paper@tflc.us> |
---|---|
date | Sun, 17 Nov 2024 19:56:01 -0500 |
parents | 1faa72660932 |
children |
comparison
equal
deleted
inserted
replaced
365:f81bed4e04ac | 366:886f66775f31 |
---|---|
27 players.push_back(player); | 27 players.push_back(player); |
28 | 28 |
29 return animone::GetResults(players, results); | 29 return animone::GetResults(players, results); |
30 } | 30 } |
31 | 31 |
32 /* meh */ | 32 /* The results from this function are KIND OF guaranteed to be UTF-8; |
33 * more specifically any files returned are UTF-8 as required by the C++ | |
34 * standard. However, window titles are not, and for some obscure X11 | |
35 * window managers, WILL not be in UTF-8. I don't care enough about this | |
36 * to do anything about it though. */ | |
33 bool GetCurrentlyPlaying(std::vector<std::string>& vec) { | 37 bool GetCurrentlyPlaying(std::vector<std::string>& vec) { |
34 std::vector<animone::Result> results; | 38 std::vector<animone::Result> results; |
35 | 39 |
36 if (!GetCurrentlyPlayingResults(results)) | 40 if (!GetCurrentlyPlayingResults(results)) |
37 return false; | 41 return false; |