GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgGenerateKeyResult.h
1
29
#pragma once
30
31
#include <gpgme.h>
32
33
#include "core/GpgFrontendCore.h"
34
#include "core/GpgFrontendCoreExport.h"
35
36
namespace
GpgFrontend
{
37
38
class
GPGFRONTEND_CORE_EXPORT
GpgGenerateKeyResult
{
39
public
:
40
auto
IsGood() -> bool;
41
42
auto
GetFingerprint() -> QString
const
;
43
44
explicit
GpgGenerateKeyResult
(gpgme_genkey_result_t);
45
46
GpgGenerateKeyResult
();
47
48
GpgGenerateKeyResult
(
const
GpgGenerateKeyResult
&);
49
50
auto
operator=(
const
GpgGenerateKeyResult
&) ->
GpgGenerateKeyResult
&;
51
52
virtual
~
GpgGenerateKeyResult
();
53
54
private
:
55
using
ResultRefHandler =
56
std::shared_ptr<struct _gpgme_op_genkey_result>;
57
58
ResultRefHandler result_ref_ =
nullptr
;
59
};
60
61
}
// namespace GpgFrontend
GpgFrontend::GpgGenerateKeyResult
Definition:
GpgGenerateKeyResult.h:38
GpgFrontend
Definition:
app.cpp:39
src
core
model
GpgGenerateKeyResult.h
Generated by
1.9.1