From 3c81d9e4c897dd5cf7dbbf267e6a0ac5f52a0a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 12 Apr 2020 22:25:13 +0200 Subject: [PATCH] Trade: doc++ Not bothering with all the engrish there, this thing needs an overhaul anyway. --- src/Magnum/Trade/AbstractImageConverter.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Trade/AbstractImageConverter.h b/src/Magnum/Trade/AbstractImageConverter.h index 0f7d7e670..4d162c066 100644 --- a/src/Magnum/Trade/AbstractImageConverter.h +++ b/src/Magnum/Trade/AbstractImageConverter.h @@ -119,7 +119,7 @@ such instances after the plugin module has been unloaded. @section Trade-AbstractImageConverter-subclassing Subclassing -The plugin needs to implement the@ref doFeatures() function and one or more of +The plugin needs to implement the @ref doFeatures() function and one or more of @ref doExportToImage(), @ref doExportToCompressedImage(), @ref doExportToData() or @ref doExportToFile() functions based on what features are supported. @@ -134,6 +134,11 @@ checked by the implementation: @ref ImageConverterFeature::ConvertData is supported. - The function @ref doExportToData(const CompressedImageView2D&) is called only if @ref ImageConverterFeature::ConvertCompressedData is supported. +- The function @ref doExportToFile(const ImageView2D&, const std::string&) is + called only if @ref ImageConverterFeature::ConvertFile is supported. +- The function @ref doExportToFile(const CompressedImageView2D&, const std::string&) + is called only if @ref ImageConverterFeature::ConvertCompressedFile is + supported. @m_class{m-block m-warning}