Mercurial > minori
annotate include/track/media.h @ 166:54c5d80a737e
dep/animia: add libutil method
I changed the "linux" method to be "proc", because it isn't exactly Linux specific
this commit also has some changes to the x11 stuff:
instead of enumerating over only top-level windows, we iterate over ALL of them
this is because many X11 apps actually use multiple windows
for some reason, I still can't get it to work with VLC, but it picks up Firefox...
author | paper@DavesDouble.local |
---|---|
date | Sun, 19 Nov 2023 04:21:56 -0500 |
parents | d43d68408d3c |
children | 862d0d8619f6 |
rev | line source |
---|---|
64 | 1 #ifndef __track__media_h |
2 #define __track__media_h | |
80 | 3 #include <unordered_map> |
138
28842a8d0c6b
dep/animia: huge refactor (again...)
Paper <mrpapersonic@gmail.com>
parents:
135
diff
changeset
|
4 #include <string> |
28842a8d0c6b
dep/animia: huge refactor (again...)
Paper <mrpapersonic@gmail.com>
parents:
135
diff
changeset
|
5 #include <vector> |
64 | 6 |
7 namespace Track { | |
8 namespace Media { | |
9 | |
138
28842a8d0c6b
dep/animia: huge refactor (again...)
Paper <mrpapersonic@gmail.com>
parents:
135
diff
changeset
|
10 bool GetCurrentlyPlaying(std::vector<std::string>& vec); |
64 | 11 |
12 } // namespace Media | |
13 } // namespace Track | |
14 | |
15 #endif // __track__media_h |