diff options
author | Saturneric <[email protected]> | 2021-10-02 14:08:50 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-10-02 14:16:27 +0000 |
commit | 3c65d087eeee687ac01af2e80f3dd538f9a2c230 (patch) | |
tree | 1e860dc6343c1897e2224a002f2ca44c574381b3 /src/gpg/model/GpgData.h | |
parent | The basic functions of the core pass the test. (diff) | |
download | GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.tar.gz GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.zip |
UI Framework Modified.
Diffstat (limited to '')
-rw-r--r-- | src/gpg/model/GpgData.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpg/model/GpgData.h b/src/gpg/model/GpgData.h index 0c4615ad..30a1c496 100644 --- a/src/gpg/model/GpgData.h +++ b/src/gpg/model/GpgData.h @@ -30,16 +30,16 @@ namespace GpgFrontend { class GpgData { -public: + public: GpgData(); - GpgData(void *buffer, size_t size, bool copy = true); + GpgData(void* buffer, size_t size, bool copy = true); operator gpgme_data_t() { return data_.get(); } - BypeArrayPtr Read2Buffer(); + ByteArrayPtr Read2Buffer(); -private: + private: struct __data_ref_deletor { void operator()(gpgme_data_t _data) { if (_data != nullptr) @@ -50,6 +50,6 @@ private: std::unique_ptr<struct gpgme_data, __data_ref_deletor> data_ = nullptr; }; -} // namespace GpgFrontend +} // namespace GpgFrontend -#endif // _GPGDATA_H
\ No newline at end of file +#endif // _GPGDATA_H
\ No newline at end of file |