diff Plugin/Cache/CacheManager.h @ 115:c8ca47a67bf3

automatic clearing of the cache
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Dec 2015 17:08:51 +0100
parents a6492d20b2a8
children 3809121c3290
line wrap: on
line diff
--- a/Plugin/Cache/CacheManager.h	Mon Dec 07 16:19:22 2015 +0100
+++ b/Plugin/Cache/CacheManager.h	Mon Dec 07 17:08:51 2015 +0100
@@ -25,6 +25,13 @@
 
 namespace OrthancPlugins
 {
+  enum CacheProperty
+  {
+    CacheProperty_OrthancVersion,
+    CacheProperty_WebViewerVersion
+  };
+
+
   class CacheManager : public boost::noncopyable
   {
   private:
@@ -92,5 +99,10 @@
                const std::string& item,
                const std::string& content);
 
+    void SetProperty(CacheProperty property,
+                     const std::string& value);
+
+    bool LookupProperty(std::string& target,
+                        CacheProperty property);
   };
 }