31 #include "core/GpgFrontendCoreExport.h"
32 #include "core/model/GFBuffer.h"
33 #include "core/typedef/CoreTypedef.h"
37 class GFDataExchanger;
58 GpgData(
const void* buffer,
size_t size,
bool copy =
true);
72 explicit GpgData(std::shared_ptr<GFDataExchanger>);
79 explicit GpgData(
const QString& path,
bool read);
98 operator gpgme_data_t();
113 void operator()(gpgme_data_t _data) {
114 if (_data !=
nullptr) gpgme_data_release(_data);
120 std::unique_ptr<struct gpgme_data, DataRefDeleter> data_ref_ =
nullptr;
124 struct gpgme_data_cbs data_cbs_;
125 std::shared_ptr<GFDataExchanger> data_ex_;
Definition: GFBuffer.h:36
Definition: GpgData.h:112