GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgInfo.h
1
29
#pragma once
30
31
namespace
GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule
{
36
class
GpgInfo
{
37
public
:
38
QString
GnuPGHomePath
;
39
40
std::map<QString, std::vector<QString>> ComponentsInfo;
41
std::map<QString, std::vector<QString>> ConfigurationsInfo;
42
std::map<QString, std::vector<QString>> OptionsInfo;
43
std::map<QString, std::vector<QString>> AvailableOptionsInfo;
44
};
45
50
struct
GpgComponentInfo
{
51
QString name;
52
QString desc;
53
QString version;
54
QString path;
55
QString binary_checksum;
56
57
GpgComponentInfo
() =
default
;
58
59
explicit
GpgComponentInfo
(
const
QJsonObject &j);
60
61
[[nodiscard]]
auto
Json()
const
-> QJsonObject;
62
};
63
68
struct
GpgOptionsInfo
{
69
QString name;
70
QString flags;
71
QString level;
72
QString description;
73
QString type;
74
QString alt_type;
75
QString argname;
76
QString default_value;
77
QString argdef;
78
QString value;
79
80
GpgOptionsInfo
() =
default
;
81
82
explicit
GpgOptionsInfo
(
const
QJsonObject &j);
83
84
[[nodiscard]]
auto
Json()
const
-> QJsonObject;
85
};
86
87
}
// namespace GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule
GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule::GpgInfo
Use to record some info about gnupg.
Definition:
GpgInfo.h:36
GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule::GpgInfo::GnuPGHomePath
QString GnuPGHomePath
value of —homedir
Definition:
GpgInfo.h:38
GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule
Definition:
GnuPGInfoGatheringModule.cpp:38
GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule::GpgComponentInfo
Use to record some info about gnupg components.
Definition:
GpgInfo.h:50
GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule::GpgOptionsInfo
Definition:
GpgInfo.h:68
src
module
integrated
gnupg_info_gathering_module
GpgInfo.h
Generated by
1.9.1