summaryrefslogtreecommitdiff
path: root/include/vcl/ImageTree.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-03 17:47:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-04 09:54:45 +0200
commit92d5cd31d93ca30f97fab09304a59aa41268431e (patch)
treebf5000b654d96e12cdf1a855db8dd16077966f57 /include/vcl/ImageTree.hxx
parenta7dde8db81624c4f31c93b8611a4636d662f548e (diff)
give icon data directly to gtk, skipping internal loaders
Change-Id: I4168b78d68a99e56105c49e1a1b6e1aa457609af Reviewed-on: https://gerrit.libreoffice.org/53812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/ImageTree.hxx')
-rw-r--r--include/vcl/ImageTree.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/ImageTree.hxx b/include/vcl/ImageTree.hxx
index a40905d863ef..66a82b000ebc 100644
--- a/include/vcl/ImageTree.hxx
+++ b/include/vcl/ImageTree.hxx
@@ -22,6 +22,7 @@
#include <memory>
#include <sal/config.h>
+#include <tools/stream.hxx>
#include <vcl/dllapi.h>
#include <vcl/bitmapex.hxx>
@@ -55,6 +56,9 @@ public:
VCL_DLLPUBLIC OUString getImageUrl(
OUString const & name, OUString const & style, OUString const & lang);
+ VCL_DLLPUBLIC std::shared_ptr<SvMemoryStream> getImageStream(
+ OUString const & rName, OUString const & rStyle, OUString const & rLang);
+
VCL_DLLPUBLIC bool loadImage(
OUString const & name, OUString const & style,
BitmapEx & bitmap, bool localized,