33 #include "core/GpgFrontendCoreExport.h"
34 #include "core/model/GFBuffer.h"
35 #include "core/typedef/CoreTypedef.h"
39 class GFDataExchanger;
60 GpgData(
const void* buffer,
size_t size,
bool copy =
true);
74 explicit GpgData(std::shared_ptr<GFDataExchanger>);
81 explicit GpgData(
const QString& path,
bool read);
100 operator gpgme_data_t();
115 void operator()(gpgme_data_t _data) {
116 if (_data !=
nullptr) gpgme_data_release(_data);
122 std::unique_ptr<struct gpgme_data, DataRefDeleter> data_ref_ =
nullptr;
126 struct gpgme_data_cbs data_cbs_;
127 std::shared_ptr<GFDataExchanger> data_ex_;
Definition: GFBuffer.h:36
Definition: GpgData.h:114