Mercurial > libanimone
view include/animone/media.h @ 22:bc22d57076e3
dep/animone: separate *BSD into separate files
they are wholly different operating systems with very different
kernels on the inside
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 13:06:10 -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_