diff options
author | Andre Heinecke <[email protected]> | 2016-07-13 09:56:18 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-07-13 09:56:18 +0000 |
commit | 537cb871fd59f3a20c697a046715e6339ff6633b (patch) | |
tree | 41178b6bd72f78cbe794fc1a33a325c1cfbba244 /lang/cpp/src/context.cpp | |
parent | python: Port more tests. (diff) | |
download | gpgme-537cb871fd59f3a20c697a046715e6339ff6633b.tar.gz gpgme-537cb871fd59f3a20c697a046715e6339ff6633b.zip |
Cpp: Add feature enum for new identify
* lang/cpp/src/context.cpp (supported_features2): Add
BinaryAndFineGrainedIdentify
* lang/cpp/src/global.h (Feature2): ditto.
--
This is mostly for compatible code with KF5::Gpgmepp where there
is no hard requirement against gpgme 1.7. With 1.7 a version
check would also suffice.
Diffstat (limited to 'lang/cpp/src/context.cpp')
-rw-r--r-- | lang/cpp/src/context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index 9e31b6a9..20d827ec 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -1519,6 +1519,7 @@ static const unsigned long supported_features = 0 ; static const unsigned long supported_features2 = 0 + | GpgME::BinaryAndFineGrainedIdentify ; bool GpgME::hasFeature(unsigned long features) |