diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-10 12:36:42 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-10 12:36:42 +0300 |
commit | b7f40b587087ce4d594ef10af509a5ab92f20466 (patch) | |
tree | 9fc55a0409cb8ad9d038d6bd02e07d7aebe75506 /src/history.h | |
parent | 77ecd8cb2fec2c61f37f4c5561b18fad6fe6137a (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.h | 7 |
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 *); | |||
66 | iRecentUrl *recentUrl_History (iHistory *, size_t pos); | 66 | iRecentUrl *recentUrl_History (iHistory *, size_t pos); |
67 | iRecentUrl *mostRecentUrl_History (iHistory *); | 67 | iRecentUrl *mostRecentUrl_History (iHistory *); |
68 | iRecentUrl *findUrl_History (iHistory *, const iString *url); | 68 | iRecentUrl *findUrl_History (iHistory *, const iString *url); |
69 | void clearCache_History (iHistory *); | 69 | |
70 | size_t pruneLeastImportant_History (iHistory *); | 70 | void clearCache_History (iHistory *); |
71 | size_t pruneLeastImportant_History (iHistory *); | ||
72 | size_t pruneLeastImportantMemory_History (iHistory *); | ||
71 | 73 | ||
72 | iBool atLatest_History (const iHistory *); | 74 | iBool atLatest_History (const iHistory *); |
73 | iBool atOldest_History (const iHistory *); | 75 | iBool atOldest_History (const iHistory *); |
@@ -83,6 +85,7 @@ const iRecentUrl * | |||
83 | const iGmResponse * | 85 | const iGmResponse * |
84 | cachedResponse_History (const iHistory *); | 86 | cachedResponse_History (const iHistory *); |
85 | size_t cacheSize_History (const iHistory *); | 87 | size_t cacheSize_History (const iHistory *); |
88 | size_t memorySize_History (const iHistory *); | ||
86 | 89 | ||
87 | iString * debugInfo_History (const iHistory *); | 90 | iString * debugInfo_History (const iHistory *); |
88 | iMemInfo memoryUsage_History (const iHistory *); | 91 | iMemInfo memoryUsage_History (const iHistory *); |