Mercurial > libanimone
comparison include/animone/media.h @ 25:60ded877339b
dep/animone: fix tons of issues
for example, the window ID stuff was just... completely wrong. since we're
supporting multiple different window systems, it *has* to be a union rather
than just a single integer type. HWND is also not a DWORD, it's a pointer(!),
so now it's stored as a std::uintptr_t.
(this probably breaks things)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 20 Jun 2024 03:03:05 -0400 |
parents | 973734ebd2be |
children |
comparison
equal
deleted
inserted
replaced
24:f1b9adaa41b3 | 25:60ded877339b |
---|---|
1 #ifndef ANIMONE_ANIMONE_MEDIA_H_ | 1 #ifndef ANIMONE_ANIMONE_MEDIA_H_ |
2 #define ANIMONE_ANIMONE_MEDIA_H_ | 2 #define ANIMONE_ANIMONE_MEDIA_H_ |
3 | |
4 #include "animone/types.h" | |
3 | 5 |
4 #include <chrono> | 6 #include <chrono> |
5 #include <functional> | 7 #include <functional> |
6 #include <string> | 8 #include <string> |
7 #include <vector> | 9 #include <vector> |
17 Tab, | 19 Tab, |
18 Title, | 20 Title, |
19 Url | 21 Url |
20 }; | 22 }; |
21 | 23 |
22 struct MediaInfo { | 24 struct ANIMONE_API MediaInfo { |
23 MediaInfoType type = MediaInfoType::Unknown; | 25 MediaInfoType type = MediaInfoType::Unknown; |
24 std::string value; | 26 std::string value; |
25 }; | 27 }; |
26 | 28 |
27 struct Media { | 29 struct ANIMONE_API Media { |
28 std::vector<MediaInfo> information; | 30 std::vector<MediaInfo> information; |
29 }; | 31 }; |
30 | 32 |
31 } // namespace animone | 33 } // namespace animone |
32 | 34 |