Mercurial > minori
diff dep/animia/include/animia.h @ 152:8700806c2cc2
dep/animia: awesome new breaking changes!
I'm so tired
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 15 Nov 2023 02:34:59 -0500 |
parents | d8a61e7e2a36 |
children | cdf79282d647 |
line wrap: on
line diff
--- a/dep/animia/include/animia.h Tue Nov 14 16:31:21 2023 -0500 +++ b/dep/animia/include/animia.h Wed Nov 15 02:34:59 2023 -0500 @@ -7,6 +7,11 @@ namespace animia { +enum class ResultType { + Process, + Window +}; + struct Process { internal::pid_t pid = 0; std::string name; @@ -19,14 +24,15 @@ }; struct Result { + ResultType type; Player player; - Process process; + Process process; // unused when using window_title. it's dumb, blame X11 Window window; // unused with file descriptors std::vector<Media> media; }; bool GetResults(const std::vector<Player>& players, std::vector<Result>& results); -} // namespace Animia +} // namespace animia #endif // __animia__animia_h