summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-06-10 12:36:42 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-06-10 12:36:42 +0300
commitb7f40b587087ce4d594ef10af509a5ab92f20466 (patch)
tree9fc55a0409cb8ad9d038d6bd02e07d7aebe75506 /src/history.h
parent77ecd8cb2fec2c61f37f4c5561b18fad6fe6137a (diff)
Preferences: Memory size limit
Memory used for RAM storage of media along with navigation history so it can be restored instantly.
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/history.h b/src/history.h
index ccc19d27..eb35b1df 100644
--- a/src/history.h
+++ b/src/history.h
@@ -66,8 +66,10 @@ iBool goForward_History (iHistory *);
66iRecentUrl *recentUrl_History (iHistory *, size_t pos); 66iRecentUrl *recentUrl_History (iHistory *, size_t pos);
67iRecentUrl *mostRecentUrl_History (iHistory *); 67iRecentUrl *mostRecentUrl_History (iHistory *);
68iRecentUrl *findUrl_History (iHistory *, const iString *url); 68iRecentUrl *findUrl_History (iHistory *, const iString *url);
69void clearCache_History (iHistory *); 69
70size_t pruneLeastImportant_History (iHistory *); 70void clearCache_History (iHistory *);
71size_t pruneLeastImportant_History (iHistory *);
72size_t pruneLeastImportantMemory_History (iHistory *);
71 73
72iBool atLatest_History (const iHistory *); 74iBool atLatest_History (const iHistory *);
73iBool atOldest_History (const iHistory *); 75iBool atOldest_History (const iHistory *);
@@ -83,6 +85,7 @@ const iRecentUrl *
83const iGmResponse * 85const iGmResponse *
84 cachedResponse_History (const iHistory *); 86 cachedResponse_History (const iHistory *);
85size_t cacheSize_History (const iHistory *); 87size_t cacheSize_History (const iHistory *);
88size_t memorySize_History (const iHistory *);
86 89
87iString * debugInfo_History (const iHistory *); 90iString * debugInfo_History (const iHistory *);
88iMemInfo memoryUsage_History (const iHistory *); 91iMemInfo memoryUsage_History (const iHistory *);