summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/image.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index 862f1806296c..8ee5faff27a7 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -49,6 +49,8 @@ namespace vcl
#define IMAGELIST_IMAGE_NOTFOUND (sal_uInt16(0xFFFF))
+enum class StockImage { Yes };
+
class SAL_WARN_UNUSED VCL_DLLPUBLIC Image
{
friend class ::OutputDevice;
@@ -57,6 +59,7 @@ public:
explicit Image( const BitmapEx& rBitmapEx );
explicit Image( const css::uno::Reference< css::graphic::XGraphic >& rxGraphic );
explicit Image( const OUString &rPNGFileUrl );
+ explicit Image( StockImage, const OUString &rPNGFilePath );
Size GetSizePixel() const;