aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/importresult.h
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2019-02-21 12:05:55 +0000
committerAndre Heinecke <[email protected]>2019-02-21 12:05:55 +0000
commit73b2f40ae5e6881991dea609b0781373b28d7d30 (patch)
treeebb2562273dc459ae366710c74b8de21f55bb6ab /lang/cpp/src/importresult.h
parentcpp: Make GpgME::Data::toKeys really const (diff)
downloadgpgme-73b2f40ae5e6881991dea609b0781373b28d7d30.tar.gz
gpgme-73b2f40ae5e6881991dea609b0781373b28d7d30.zip
cpp: Add ostream operators for import result
* lang/cpp/src/importresult.cpp: Add ostream operators. * lang/cpp/src/importresult.h: Update accordingly.
Diffstat (limited to '')
-rw-r--r--lang/cpp/src/importresult.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/cpp/src/importresult.h b/lang/cpp/src/importresult.h
index 05476796..bcd956c3 100644
--- a/lang/cpp/src/importresult.h
+++ b/lang/cpp/src/importresult.h
@@ -129,7 +129,10 @@ private:
unsigned int idx;
};
-}
+GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const ImportResult &irs);
+GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const Import &imp);
+
+} // namespace GpgME
GPGMEPP_MAKE_STD_SWAP_SPECIALIZATION(ImportResult)
GPGMEPP_MAKE_STD_SWAP_SPECIALIZATION(Import)