Home GnuPG
Diffusion GpgOL 543b8403f906

Make GpgolAddin class a singleton
543b8403f906Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Make GpgolAddin class a singleton

* src/gpgoladdin.cpp (GpgolAddin::get_instance): New.
* src/gpgoladdin.h (GpgolAddin::get_instance): Declare.
 (GpgolAddin::get_application): Expose application reference.

This makes the Application reference we get on connection
globally accessible which is useful as it can serve as an
entry point into OOM.

Details

Provenance
aheineckeAuthored on Dec 18 2015, 12:26 PM
Parents
rOc4b9d6bc4e4c: Add more fallbacks for sender resolution
Branches
Unknown
Tags
Unknown