diff options
Diffstat (limited to 'src/media.h')
-rw-r--r-- | src/media.h | 9 |
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 | ||
49 | void clear_Media (iMedia *); | 49 | void clear_Media (iMedia *); |
50 | iBool setUrl_Media (iMedia *, uint16_t linkId, const iString *url); | 50 | iBool setDownloadUrl_Media (iMedia *, uint16_t linkId, const iString *url); |
51 | iBool setData_Media (iMedia *, uint16_t linkId, const iString *mime, const iBlock *data, int flags); | 51 | iBool setData_Media (iMedia *, uint16_t linkId, const iString *mime, const iBlock *data, int flags); |
52 | 52 | ||
53 | iMediaId findLinkImage_Media (const iMedia *, uint16_t linkId); | 53 | iMediaId findLinkImage_Media (const iMedia *, uint16_t linkId); |
54 | iBool imageInfo_Media (const iMedia *, iMediaId imageId, iGmMediaInfo *info_out); | 54 | iBool imageInfo_Media (const iMedia *, iMediaId imageId, iGmMediaInfo *info_out); |
@@ -61,6 +61,9 @@ iBool audioInfo_Media (const iMedia *, iMediaId audioId, iGmMediaI | |||
61 | iPlayer * audioPlayer_Media (const iMedia *, iMediaId audioId); | 61 | iPlayer * audioPlayer_Media (const iMedia *, iMediaId audioId); |
62 | 62 | ||
63 | iMediaId findLinkDownload_Media (const iMedia *, uint16_t linkId); | 63 | iMediaId findLinkDownload_Media (const iMedia *, uint16_t linkId); |
64 | iBool downloadInfo_Media (const iMedia *, iMediaId downloadId, iGmMediaInfo *info_out); | ||
65 | void downloadStats_Media (const iMedia *, iMediaId downloadId, const iString **path_out, | ||
66 | float *bytesPerSecond_out, iBool *isFinished_out); | ||
64 | 67 | ||
65 | /*----------------------------------------------------------------------------------------------*/ | 68 | /*----------------------------------------------------------------------------------------------*/ |
66 | 69 | ||