Mercurial > minori
view dep/animia/include/animia/media.h @ 189:649786bae914
*: etc. code cleanup
I've removed most macros and stuff
dep/animia: [UNTESTED] use raw C++ instead of Objective-C++
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 06 Dec 2023 19:42:33 -0500 |
parents | cdf79282d647 |
children |
line wrap: on
line source
#ifndef __animia__animia__media_h #define __animia__animia__media_h #include <chrono> #include <functional> #include <string> #include <vector> namespace animia { 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 animia #endif // __animia__animia__media_h