GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgResultAnalyse.h
1
28
#pragma once
29
30
#include <sstream>
31
32
#include "core/typedef/GpgTypedef.h"
33
34
namespace
GpgFrontend
{
35
36
class
GPGFRONTEND_CORE_EXPORT
GpgResultAnalyse
:
public
QObject {
37
Q_OBJECT
38
public
:
43
GpgResultAnalyse
() =
default
;
44
50
[[nodiscard]]
auto
GetResultReport() const -> const QString;
51
57
[[nodiscard]] auto GetStatus() const ->
int
;
58
63
void
Analyse();
64
65
protected:
70
virtual
void
doAnalyse() = 0;
71
77
void
setStatus(
int
m_status);
78
79
QString buffer_;
80
QTextStream stream_ = QTextStream(&buffer_);
81
int
status_ = 1;
82
bool
analysed_ = false;
83
};
84
85
}
// namespace GpgFrontend
GpgFrontend::GpgResultAnalyse
Definition:
GpgResultAnalyse.h:36
GpgFrontend::GpgResultAnalyse::GpgResultAnalyse
GpgResultAnalyse()=default
Construct a new Result Analyse object.
GpgFrontend
Definition:
app.cpp:39
src
core
function
result_analyse
GpgResultAnalyse.h
Generated by
1.9.1