<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Implement digital signature support (qt frontends)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94378#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Implement digital signature support (qt frontends)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94378">bug 94378</a>
from <span class="vcard"><a class="email" href="mailto:h.mth@web.de" title="Hanno Meyer-Thurow <h.mth@web.de>"> <span class="fn">Hanno Meyer-Thurow</span></a>
</span></b>
<pre>There is one thing I just cannot wrap my head around/thinking to much:
Variant I: Do you want FormFieldSignature to return a SignatureValidationInfo
instance pointer, that the user has to delete?
Variant 2: Or should the FormFieldSignature instance manage the
SignatureValidationInfo instance, where the user gets a const instance pointer
(get and forget)?
If the SignatureValidationInfo class ever changes, application linked to old
ABI or mixing compiler ABI(name mangling), I question the proper
destruction[0][1].
Therefore I recommend variant II; expecting same c++ name mangling; keep it
simple.
How do you want it?
[0]
<a href="http://stackoverflow.com/questions/232926/how-to-make-consistent-dll-binaries-across-vs-versions#232959">http://stackoverflow.com/questions/232926/how-to-make-consistent-dll-binaries-across-vs-versions#232959</a>
[1]
<a href="http://stackoverflow.com/questions/331045/using-c-dlls-with-different-compiler-versions#331088">http://stackoverflow.com/questions/331045/using-c-dlls-with-different-compiler-versions#331088</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>