[Kde-pim] [patch] make gpgme++ portable to msvc

Jarosław Staniek js at iidea.pl
Fri Dec 7 23:18:17 GMT 2007


Hello
for review;

A small change that makes the code portable to msvc 2k3.

This way was proposed by Marc. I am convinced that using 
GpgME::Error::toErrorCode() also makes the overall code a bit more readable 
than using operator int(). Safe operator bool() is left as before.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gpgmepp.patch
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20071208/fc420433/attachment.ksh>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list