summaryrefslogtreecommitdiff
path: root/src/media.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/media.h')
-rw-r--r--src/media.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/media.h b/src/media.h
index ebead352..ece60630 100644
--- a/src/media.h
+++ b/src/media.h
@@ -46,9 +46,9 @@ enum iMediaFlags {
46 partialData_MediaFlag = iBit(2), 46 partialData_MediaFlag = iBit(2),
47}; 47};
48 48
49void clear_Media (iMedia *); 49void clear_Media (iMedia *);
50iBool setUrl_Media (iMedia *, uint16_t linkId, const iString *url); 50iBool setDownloadUrl_Media (iMedia *, uint16_t linkId, const iString *url);
51iBool setData_Media (iMedia *, uint16_t linkId, const iString *mime, const iBlock *data, int flags); 51iBool setData_Media (iMedia *, uint16_t linkId, const iString *mime, const iBlock *data, int flags);
52 52
53iMediaId findLinkImage_Media (const iMedia *, uint16_t linkId); 53iMediaId findLinkImage_Media (const iMedia *, uint16_t linkId);
54iBool imageInfo_Media (const iMedia *, iMediaId imageId, iGmMediaInfo *info_out); 54iBool imageInfo_Media (const iMedia *, iMediaId imageId, iGmMediaInfo *info_out);
@@ -61,6 +61,9 @@ iBool audioInfo_Media (const iMedia *, iMediaId audioId, iGmMediaI
61iPlayer * audioPlayer_Media (const iMedia *, iMediaId audioId); 61iPlayer * audioPlayer_Media (const iMedia *, iMediaId audioId);
62 62
63iMediaId findLinkDownload_Media (const iMedia *, uint16_t linkId); 63iMediaId findLinkDownload_Media (const iMedia *, uint16_t linkId);
64iBool downloadInfo_Media (const iMedia *, iMediaId downloadId, iGmMediaInfo *info_out);
65void downloadStats_Media (const iMedia *, iMediaId downloadId, const iString **path_out,
66 float *bytesPerSecond_out, iBool *isFinished_out);
64 67
65/*----------------------------------------------------------------------------------------------*/ 68/*----------------------------------------------------------------------------------------------*/
66 69