diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 2 | ||||
-rw-r--r-- | src/app.h | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1111,6 +1111,7 @@ void trimMemory_App(void) { | |||
1111 | iRelease(docs); | 1111 | iRelease(docs); |
1112 | } | 1112 | } |
1113 | 1113 | ||
1114 | #if 0 | ||
1114 | iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out) { | 1115 | iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out) { |
1115 | /* Cached content can be found in MediaRequests of DocumentWidgets (loaded on the currently | 1116 | /* Cached content can be found in MediaRequests of DocumentWidgets (loaded on the currently |
1116 | open page) and the DocumentWidget itself. `Media` doesn't store source data, only | 1117 | open page) and the DocumentWidget itself. `Media` doesn't store source data, only |
@@ -1122,6 +1123,7 @@ iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_ | |||
1122 | } | 1123 | } |
1123 | return iFalse; | 1124 | return iFalse; |
1124 | } | 1125 | } |
1126 | #endif | ||
1125 | 1127 | ||
1126 | iLocalDef iBool isWaitingAllowed_App_(iApp *d) { | 1128 | iLocalDef iBool isWaitingAllowed_App_(iApp *d) { |
1127 | if (!isEmpty_Periodic(&d->periodic)) { | 1129 | if (!isEmpty_Periodic(&d->periodic)) { |
@@ -99,7 +99,7 @@ iStringSet * listOpenURLs_App (void); /* all tabs */ | |||
99 | iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); | 99 | iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); |
100 | void trimCache_App (void); | 100 | void trimCache_App (void); |
101 | void trimMemory_App (void); | 101 | void trimMemory_App (void); |
102 | iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out); | 102 | //iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out); |
103 | 103 | ||
104 | iDocumentWidget * document_Root (iRoot *); | 104 | iDocumentWidget * document_Root (iRoot *); |
105 | 105 | ||