summaryrefslogtreecommitdiff
path: root/src/media.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-17 11:15:14 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-17 11:15:14 +0300
commit2e2b823bfb5d34d42c6b6c1b289193c854459b45 (patch)
tree345f37aa1b84d8dedb98ff260265b41495e10878 /src/media.h
parent2f3987f5e54d95658f95c6991b0644bc15eedabf (diff)
Media and FontPacks (work in progress)
Saving this as the last point of progress. This direction is too complicated: Media needs to be a lot more sophisticated to allow dynamic and interactive media at the level of FontPacks. (A bit like Player handles audio playback.) This will be reverted. FontPack management will happen using an another method.
Diffstat (limited to 'src/media.h')
-rw-r--r--src/media.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/media.h b/src/media.h
index 47a4da93..92a46cd3 100644
--- a/src/media.h
+++ b/src/media.h
@@ -74,6 +74,7 @@ iBool setData_Media (iMedia *, uint16_t linkId, const iStrin
74 74
75size_t memorySize_Media (const iMedia *); 75size_t memorySize_Media (const iMedia *);
76iMediaId findMediaForLink_Media (const iMedia *, uint16_t linkId, enum iMediaType mediaType); 76iMediaId findMediaForLink_Media (const iMedia *, uint16_t linkId, enum iMediaType mediaType);
77//iMediaId findUrl_Media (const iMedia *, const iString *url);
77 78
78iMediaId id_Media (const iMedia *, uint16_t linkId, enum iMediaType type); 79iMediaId id_Media (const iMedia *, uint16_t linkId, enum iMediaType type);
79iBool info_Media (const iMedia *, iMediaId mediaId, iGmMediaInfo *info_out); 80iBool info_Media (const iMedia *, iMediaId mediaId, iGmMediaInfo *info_out);
@@ -114,6 +115,7 @@ struct Impl_FontpackMediaInfo {
114 iFontPackId packId; 115 iFontPackId packId;
115 iBool isValid; 116 iBool isValid;
116 iBool isInstalled; 117 iBool isInstalled;
118 iBool isDisabled;
117 iBool isReadOnly; 119 iBool isReadOnly;
118 size_t sizeInBytes; 120 size_t sizeInBytes;
119 iStringList *names; 121 iStringList *names;