summaryrefslogtreecommitdiff
path: root/src/media.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/media.h')
-rw-r--r--src/media.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/media.h b/src/media.h
index 92a46cd3..3b329716 100644
--- a/src/media.h
+++ b/src/media.h
@@ -53,7 +53,6 @@ enum iMediaType { /* Note: There is a limited number of bits for these; see GmRu
53 //animatedImage_MediaType, /* TODO */ 53 //animatedImage_MediaType, /* TODO */
54 audio_MediaType, 54 audio_MediaType,
55 download_MediaType, 55 download_MediaType,
56 fontpack_MediaType,
57 max_MediaType 56 max_MediaType
58}; 57};
59 58
@@ -74,7 +73,6 @@ iBool setData_Media (iMedia *, uint16_t linkId, const iStrin
74 73
75size_t memorySize_Media (const iMedia *); 74size_t memorySize_Media (const iMedia *);
76iMediaId findMediaForLink_Media (const iMedia *, uint16_t linkId, enum iMediaType mediaType); 75iMediaId findMediaForLink_Media (const iMedia *, uint16_t linkId, enum iMediaType mediaType);
77//iMediaId findUrl_Media (const iMedia *, const iString *url);
78 76
79iMediaId id_Media (const iMedia *, uint16_t linkId, enum iMediaType type); 77iMediaId id_Media (const iMedia *, uint16_t linkId, enum iMediaType type);
80iBool info_Media (const iMedia *, iMediaId mediaId, iGmMediaInfo *info_out); 78iBool info_Media (const iMedia *, iMediaId mediaId, iGmMediaInfo *info_out);
@@ -109,21 +107,6 @@ void pauseAllPlayers_Media (const iMedia *, iBool setPaused);
109void downloadStats_Media (const iMedia *, iMediaId downloadId, const iString **path_out, 107void downloadStats_Media (const iMedia *, iMediaId downloadId, const iString **path_out,
110 float *bytesPerSecond_out, iBool *isFinished_out); 108 float *bytesPerSecond_out, iBool *isFinished_out);
111 109
112iDeclareType(FontpackMediaInfo)
113
114struct Impl_FontpackMediaInfo {
115 iFontPackId packId;
116 iBool isValid;
117 iBool isInstalled;
118 iBool isDisabled;
119 iBool isReadOnly;
120 size_t sizeInBytes;
121 iStringList *names;
122};
123
124void fontpackInfo_Media (const iMedia *, iMediaId fontpackId,
125 iFontpackMediaInfo *info_out);
126
127/*----------------------------------------------------------------------------------------------*/ 110/*----------------------------------------------------------------------------------------------*/
128 111
129iDeclareType(GmRequest) 112iDeclareType(GmRequest)