diff options
author | saturneric <[email protected]> | 2023-11-07 07:57:28 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-11-07 07:57:28 +0000 |
commit | 4dcd2ac8c4f673fc21c4cf0072d6cb648ca64e7e (patch) | |
tree | d5e09d3170922aa288877344a8a90905b0c02d62 /src/core/GpgModel.h | |
parent | refactor: remove CommonUtils at core (diff) | |
download | GpgFrontend-4dcd2ac8c4f673fc21c4cf0072d6cb648ca64e7e.tar.gz GpgFrontend-4dcd2ac8c4f673fc21c4cf0072d6cb648ca64e7e.zip |
refactor: separate typedef and impl
Diffstat (limited to '')
-rw-r--r-- | src/core/GpgModel.h | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/src/core/GpgModel.h b/src/core/GpgModel.h index facb1f72..72574988 100644 --- a/src/core/GpgModel.h +++ b/src/core/GpgModel.h @@ -28,28 +28,12 @@ #pragma once +// +#include "core/typedef/GpgTypedef.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>; ///< -using KeyIdArgsListPtr = std::unique_ptr<KeyIdArgsList>; ///< -using UIDArgsList = std::vector<std::string>; ///< -using UIDArgsListPtr = std::unique_ptr<UIDArgsList>; ///< -using SignIdArgsList = std::vector<std::pair<std::string, std::string>>; ///< -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<GpgKey>; ///< -using KeyLinkListPtr = std::unique_ptr<GpgKeyLinkList>; ///< -using KeyPtr = std::unique_ptr<GpgKey>; ///< -using KeyPtrArgsList = const std::initializer_list<KeyPtr>; ///< - -} // namespace GpgFrontend +// namespace GpgFrontend |