GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
CommonStruct.h
1
29
#pragma once
30
31
namespace
GpgFrontend
{
32
37
template
<
typename
T>
38
struct
GPGFRONTEND_CORE_EXPORT
RefDeleter
{
39
void
operator()(T* _key) {
40
gpgme_unre
41
}
42
};
43
44
template
<
typename
T>
45
using
KeyRefHandler = std::unique_ptr<T, RefDeleter<T>>;
46
}
// namespace GpgFrontend
GpgFrontend
Definition:
app.cpp:39
GpgFrontend::RefDeleter
Definition:
CommonStruct.h:38
src
core
model
CommonStruct.h
Generated by
1.9.1