From 73b2f40ae5e6881991dea609b0781373b28d7d30 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Thu, 21 Feb 2019 13:05:55 +0100 Subject: cpp: Add ostream operators for import result * lang/cpp/src/importresult.cpp: Add ostream operators. * lang/cpp/src/importresult.h: Update accordingly. --- lang/cpp/src/importresult.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lang/cpp/src/importresult.h') 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) -- cgit v1.2.3