aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/GpgUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/utils/GpgUtils.h')
-rw-r--r--src/core/utils/GpgUtils.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/utils/GpgUtils.h b/src/core/utils/GpgUtils.h
index b453cc0a..9fcfe5cf 100644
--- a/src/core/utils/GpgUtils.h
+++ b/src/core/utils/GpgUtils.h
@@ -28,7 +28,7 @@
#pragma once
-#include "core/function/result_analyse/GpgResultAnalyse.h"
+#include "core/model/GpgAbstractKey.h"
#include "core/model/KeyDatabaseInfo.h"
#include "core/struct/settings_object/KeyDatabaseItemSO.h"
#include "core/typedef/CoreTypedef.h"
@@ -173,4 +173,12 @@ auto GPGFRONTEND_CORE_EXPORT GetUsagesByKey(const GpgKey& key) -> QString;
*/
auto GPGFRONTEND_CORE_EXPORT GetUsagesBySubkey(const GpgSubKey& key) -> QString;
+/**
+ * @brief
+ *
+ * @return GpgKey
+ */
+auto GPGFRONTEND_CORE_EXPORT GetGpgKeyByGpgAbstractKey(GpgAbstractKey*)
+ -> GpgKey;
+
} // namespace GpgFrontend \ No newline at end of file