GpgFrontend Project A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.

GpgModel.h
1
29 #ifndef GPGFRONTEND_ZH_CN_TS_GPGMODEL_H
30 #define GPGFRONTEND_ZH_CN_TS_GPGMODEL_H
31
32 #include "core/GpgConstants.h"
33 #include "core/model/GpgData.h"
34 #include "core/model/GpgKey.h"
35 #include "core/model/GpgSignature.h"
36
37 namespace GpgFrontend {
38
39 using KeyId = std::string;
40 using SubkeyId = std::string;
41 using KeyIdArgsList = std::vector<KeyId>;
42 using KeyIdArgsListPtr = std::unique_ptr<KeyIdArgsList>;
43 using UIDArgsList = std::vector<std::string>;
44 using UIDArgsListPtr = std::unique_ptr<UIDArgsList>;
45 using SignIdArgsList = std::vector<std::pair<std::string, std::string>>;
46 using SignIdArgsListPtr = std::unique_ptr<SignIdArgsList>;
47 using KeyFprArgsListPtr = std::unique_ptr<std::vector<std::string>>;
48 using KeyArgsList = std::vector<GpgKey>;
49 using KeyListPtr = std::unique_ptr<KeyArgsList>;
50 using GpgKeyLinkList = std::list<GpgFrontend::GpgKey>;
51 using KeyLinkListPtr = std::unique_ptr<GpgKeyLinkList>;
52 using KeyPtr = std::unique_ptr<GpgKey>;
53 using KeyPtrArgsList = const std::initializer_list<KeyPtr>;
54
55 } // namespace GpgFrontend
56
57 #endif // GPGFRONTEND_ZH_CN_TS_GPGMODEL_H
GpgFrontend
Definition: CoreCommonUtil.cpp:31