Home GnuPG
Diffusion GPGME 3503816570a1

qt: Add mechanism for missing d-pointer in Job

Description

qt: Add mechanism for missing d-pointer in Job

* lang/qt/src/job_p.h: New.
* lang/qt/src/job.cpp (typedef JobPrivateHash, d_func, setJobPrivate,
getJobPrivate): New.

Because of ABI compatibility requirements we cannot add a d-pointer
to Job. Therefore we store the d-pointers in a global static. This
mechanism will allow Job subclasses to store additional data without
breaking the ABI.

Details

Provenance
ikloeckerAuthored on Jun 25 2021, 3:06 PM
Parents
rMade95b25ce47: qt: Remove superfluous trailing ';'
Branches
Unknown
Tags
Unknown
Tasks
T4717: Kleopatra: Changing expiry does not change expiry for subkeys