diff options
Diffstat (limited to 'src/history.h')
-rw-r--r-- | src/history.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/history.h b/src/history.h index 1acf7049..ccc19d27 100644 --- a/src/history.h +++ b/src/history.h | |||
@@ -41,6 +41,13 @@ struct Impl_RecentUrl { | |||
41 | iGmDocument *cachedDoc; /* cached copy of the presentation: layout and media (not serialized) */ | 41 | iGmDocument *cachedDoc; /* cached copy of the presentation: layout and media (not serialized) */ |
42 | }; | 42 | }; |
43 | 43 | ||
44 | iDeclareType(MemInfo) | ||
45 | |||
46 | struct Impl_MemInfo { | ||
47 | size_t cacheSize; /* number of bytes stored persistently */ | ||
48 | size_t memorySize; /* number of bytes stored in RAM */ | ||
49 | }; | ||
50 | |||
44 | /*----------------------------------------------------------------------------------------------*/ | 51 | /*----------------------------------------------------------------------------------------------*/ |
45 | 52 | ||
46 | iDeclareType(History) | 53 | iDeclareType(History) |
@@ -78,4 +85,4 @@ const iGmResponse * | |||
78 | size_t cacheSize_History (const iHistory *); | 85 | size_t cacheSize_History (const iHistory *); |
79 | 86 | ||
80 | iString * debugInfo_History (const iHistory *); | 87 | iString * debugInfo_History (const iHistory *); |
81 | 88 | iMemInfo memoryUsage_History (const iHistory *); | |