aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgModel.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/GpgModel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/GpgModel.h b/src/core/GpgModel.h
index d227e25d..facb1f72 100644
--- a/src/core/GpgModel.h
+++ b/src/core/GpgModel.h
@@ -28,13 +28,14 @@
#pragma once
-#include "core/GpgConstants.h"
#include "core/model/GpgData.h"
#include "core/model/GpgKey.h"
#include "core/model/GpgSignature.h"
namespace GpgFrontend {
+using GpgError = gpgme_error_t; ///<
+
using KeyId = std::string; ///<
using SubkeyId = std::string; ///<
using KeyIdArgsList = std::vector<KeyId>; ///<
@@ -46,7 +47,7 @@ using SignIdArgsListPtr = std::unique_ptr<SignIdArgsList>; ///<
using KeyFprArgsListPtr = std::unique_ptr<std::vector<std::string>>; ///<
using KeyArgsList = std::vector<GpgKey>; ///<
using KeyListPtr = std::shared_ptr<KeyArgsList>; ///<
-using GpgKeyLinkList = std::list<GpgFrontend::GpgKey>; ///<
+using GpgKeyLinkList = std::list<GpgKey>; ///<
using KeyLinkListPtr = std::unique_ptr<GpgKeyLinkList>; ///<
using KeyPtr = std::unique_ptr<GpgKey>; ///<
using KeyPtrArgsList = const std::initializer_list<KeyPtr>; ///<