GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
g
i
k
l
p
r
s
t
u
w
Functions
a
b
c
d
g
i
l
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Files
File List
▼
GpgFrontend Project
GpgFrontend Develop Document Main Page
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
▼
core
▼
function
►
basic
▼
gpg
GpgAdvancedOperator.h
GpgBasicOperator.h
GpgCommandExecutor.h
GpgContext.h
GpgFileOpera.h
GpgKeyGetter.h
GpgKeyImportExporter.h
GpgKeyManager.h
GpgKeyOpera.h
GpgUIDOperator.h
►
result_analyse
ArchiveFileOperator.h
CacheManager.h
CoreSignalStation.h
DataObjectOperator.h
GlobalSettingStation.h
KeyPackageOperator.h
LoggerManager.h
PassphraseGenerator.h
SecureMemoryAllocator.h
►
log
►
model
►
module
►
thread
►
typedef
►
utils
GpgConstants.h
GpgCoreInit.h
GpgFrontendCore.h
GpgModel.h
►
module
►
pinentry
►
test
►
ui
app.h
cmd.h
GpgFrontendContext.h
init.h
main.h
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Pages
GpgContext.h
1
29
#pragma once
30
31
#include "core/function/SecureMemoryAllocator.h"
32
#include "core/function/basic/GpgFunctionObject.h"
33
34
namespace
GpgFrontend
{
35
40
struct
GpgContextInitArgs
{
41
QString db_path = {};
42
43
bool
test_mode =
false
;
44
bool
offline_mode =
false
;
45
bool
auto_import_missing_key =
false
;
46
47
bool
custom_gpgconf =
false
;
48
QString custom_gpgconf_path;
49
50
bool
use_pinentry =
false
;
51
};
52
57
class
GPGFRONTEND_CORE_EXPORT
GpgContext
58
:
public
SingletonFunctionObject
<GpgContext> {
59
public
:
60
explicit
GpgContext
(
int
channel);
61
62
explicit
GpgContext
(
GpgContextInitArgs
args,
int
channel);
63
64
virtual
~
GpgContext
()
override
;
65
66
[[nodiscard]]
auto
Good()
const
-> bool;
67
68
auto
BinaryContext() -> gpgme_ctx_t;
69
70
auto
DefaultContext() -> gpgme_ctx_t;
71
72
private
:
73
class
Impl
;
74
SecureUniquePtr<Impl> p_;
75
};
76
}
// namespace GpgFrontend
GpgFrontend::GpgContext::Impl
Definition:
GpgContext.cpp:51
GpgFrontend::GpgContext
Definition:
GpgContext.h:58
GpgFrontend::SingletonFunctionObject
Definition:
GpgFunctionObject.h:58
GpgFrontend
Definition:
app.cpp:39
GpgFrontend::GpgContextInitArgs
Definition:
GpgContext.h:40
src
core
function
gpg
GpgContext.h
Generated by
1.9.1