Home GnuPG
Diffusion GpgOL d3e50de92657

Correctly declare gpgoladding COM interfaces
d3e50de92657Unpublished

Unpublished Commit · Learn More

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

Description

Correctly declare gpgoladding COM interfaces

* src/gpgoladdin.h (IDTExtensibility2, IRibbonExtensibility)
 (IRibbonCallback): Add IUnknown and IDispatch methods. Purify.

Not sure why this worked before probably because they
did actually implement the relevant methods.
All methods even from base classes should be declared.
PURE ensures that the vtable is generated correclty
fixing the "related undefined reference to vtable"
link errors.

Details

Provenance
aheineckeAuthored on Sep 10 2015, 7:16 PM
Parents
rOe58b3e105dd6: Declare destructors of COM objects as virtual
Branches
Unknown
Tags
Unknown