aboutsummaryrefslogtreecommitdiff
path: root/include/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cache.h')
-rw-r--r--include/cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/cache.h b/include/cache.h
index 846083c7..703c9862 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -44,8 +44,10 @@ class Cache {
public:
Cache(const Filepath& cachefile, ConfigContainer& c);
~Cache();
- void externalize_rssfeed(RssFeed& feed,
- bool reset_unread);
+
+ static std::unique_ptr<Cache> in_memory(ConfigContainer& c);
+
+ void externalize_rssfeed(RssFeed& feed, bool reset_unread);
std::shared_ptr<RssFeed> internalize_rssfeed(std::string rssurl,
RssIgnores* ign);
void update_rssitem_unread_and_enqueued(RssItem& item,