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
37namespace GpgFrontend {
38
39using KeyId = std::string;
40using SubkeyId = std::string;
41using KeyIdArgsList = std::vector<KeyId>;
42using KeyIdArgsListPtr = std::unique_ptr<KeyIdArgsList>;
43using UIDArgsList = std::vector<std::string>;
44using UIDArgsListPtr = std::unique_ptr<UIDArgsList>;
45using SignIdArgsList = std::vector<std::pair<std::string, std::string>>;
46using SignIdArgsListPtr = std::unique_ptr<SignIdArgsList>;
47using KeyFprArgsListPtr = std::unique_ptr<std::vector<std::string>>;
48using KeyArgsList = std::vector<GpgKey>;
49using KeyListPtr = std::unique_ptr<KeyArgsList>;
50using GpgKeyLinkList = std::list<GpgFrontend::GpgKey>;
51using KeyLinkListPtr = std::unique_ptr<GpgKeyLinkList>;
52using KeyPtr = std::unique_ptr<GpgKey>;
53using KeyPtrArgsList = const std::initializer_list<KeyPtr>;
54
55} // namespace GpgFrontend
56
57#endif // GPGFRONTEND_ZH_CN_TS_GPGMODEL_H
Definition: CoreCommonUtil.cpp:29