Home GnuPG
Diffusion GPGME 77feaa451074

qt: Add GpgCardJob following the job pattern

Description

qt: Add GpgCardJob following the job pattern

* lang/qt/src/Makefile.am: Add new files.
* lang/qt/src/job.cpp (GpgCardJob): Add impl stuff.
* lang/qt/src/protocol.h (gpgCardJob): Get one.
* lang/qt/src/qgpgmebackend.cpp,
lang/qt/src/qgpgmebackend.h: Add helpers to get the job.
* lang/qt/src/qgpgmegpgcardjob.cpp,
lang/qt/src/gpgcardjob.h,
lang/qt/src/qgpgmegpgcardjob.h: New.

This is annoyingly complex to add a simple new job.
In the future we should implement something like this
without the threadedjobmixin stuff. But the idea was
to follow the usual job pattern.

  • GnuPG-Bug-Id: T4794

Details

Provenance
aheineckeAuthored on Feb 12 2020, 11:52 AM
Parents
rMcff600f1f65a: Do not test for a bug in older GnuPG versions
Branches
Unknown
Tags
Unknown
Tasks
Unknown Object (Maniphest Task)