GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgInfo.h
1 
29 #ifndef GPGFRONTEND_ZH_CN_TS_GPGINFO_H
30 #define GPGFRONTEND_ZH_CN_TS_GPGINFO_H
31 
32 #include <mutex>
33 #include <string>
34 
35 namespace GpgFrontend {
40 class GpgInfo {
41  public:
42  std::string GnupgVersion;
43  std::string GpgMEVersion;
44 
45  std::string AppPath;
46  std::string DatabasePath;
47  std::string GpgConfPath;
48  std::string AssuanPath;
49  std::string CMSPath;
50  std::string GpgAgentPath;
51  std::string DirmngrPath;
52  std::string KeyboxdPath;
53 
54  std::string GnuPGHomePath;
55 
56  std::map<std::string, std::vector<std::string>> ComponentsInfo;
57  std::map<std::string, std::vector<std::string>> ConfigurationsInfo;
58  std::map<std::string, std::vector<std::string>> OptionsInfo;
59  std::map<std::string, std::vector<std::string>> AvailableOptionsInfo;
60 
61  std::shared_mutex Lock;
62 };
63 } // namespace GpgFrontend
64 
65 #endif // GPGFRONTEND_ZH_CN_TS_GPGINFO_H
Use to record some info about gnupg.
Definition: GpgInfo.h:40
std::string KeyboxdPath
executable binary path of keyboxd
Definition: GpgInfo.h:52
std::string GnuPGHomePath
value of —homedir
Definition: GpgInfo.h:54
std::string AppPath
executable binary path of gnupg
Definition: GpgInfo.h:45
std::string GpgConfPath
executable binary path of gpgconf
Definition: GpgInfo.h:47
std::string AssuanPath
executable binary path of assuan
Definition: GpgInfo.h:48
std::string DatabasePath
key database path
Definition: GpgInfo.h:46
std::string DirmngrPath
executable binary path of dirmgr
Definition: GpgInfo.h:51
std::string GnupgVersion
version of gnupg
Definition: GpgInfo.h:42
std::string CMSPath
executable binary path of cms
Definition: GpgInfo.h:49
std::string GpgAgentPath
executable binary path of gpg-agent
Definition: GpgInfo.h:50
Definition: CoreCommonUtil.cpp:31