Mercurial > libanimone
view include/animone/media.h @ 23:1cfa7d57c022
dep/animone: add experimental accessibility strategy
I also moved most of the functions out of util/win32.cc, because that
file is meant for things that are shared between the different functions,
and currently that is only wide string conversion helpers.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 23:13:55 -0400 |
parents | 973734ebd2be |
children | 60ded877339b |
line wrap: on
line source
#ifndef ANIMONE_ANIMONE_MEDIA_H_ #define ANIMONE_ANIMONE_MEDIA_H_ #include <chrono> #include <functional> #include <string> #include <vector> namespace animone { // XXX where is this used? using media_time_t = std::chrono::milliseconds; enum class MediaInfoType { Unknown, File, Tab, Title, Url }; struct MediaInfo { MediaInfoType type = MediaInfoType::Unknown; std::string value; }; struct Media { std::vector<MediaInfo> information; }; } // namespace animone #endif // ANIMONE_ANIMONE_MEDIA_H_