GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
CacheManager.h
1 
29 #ifndef GPGFRONTEND_CACHEMANAGER_H
30 #define GPGFRONTEND_CACHEMANAGER_H
31 
32 namespace GpgFrontend {
33 
34 class CacheManager {
35  public:
36  static void SaveCache(std::string key, const nlohmann::json &value);
37 
38  static nlohmann::json LoadCache(std::string name);
39 
40  static void ClearAllCache();
41 };
42 
43 } // namespace GpgFrontend
44 
45 #endif
Definition: CacheManager.h:34
static void SaveCache(std::string key, const nlohmann::json &value)
Definition: CacheManager.cpp:37
Definition: CoreCommonUtil.cpp:31