summaryrefslogtreecommitdiff
path: root/src/media.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/media.c')
-rw-r--r--src/media.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/media.c b/src/media.c
index 1313b7da..2ec2109d 100644
--- a/src/media.c
+++ b/src/media.c
@@ -261,6 +261,11 @@ void clear_Media(iMedia *d) {
261 clear_PtrArray(&d->downloads); 261 clear_PtrArray(&d->downloads);
262} 262}
263 263
264size_t memorySize_Media(const iMedia *d) {
265 /* TODO: Calculate the actual memory use. */
266 return 0;
267}
268
264iBool setDownloadUrl_Media(iMedia *d, iGmLinkId linkId, const iString *url) { 269iBool setDownloadUrl_Media(iMedia *d, iGmLinkId linkId, const iString *url) {
265 iGmDownload *dl = NULL; 270 iGmDownload *dl = NULL;
266 iMediaId existing = findLinkDownload_Media(d, linkId); 271 iMediaId existing = findLinkDownload_Media(d, linkId);