summaryrefslogtreecommitdiff
path: root/include/vcl/GraphicLoader.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-03-01 05:36:10 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-03-07 00:23:16 +0100
commit5f618375a5360160e67f6aac4aece90ab218c081 (patch)
tree57b55f9cf59650b73eafd529227650415b7db236 /include/vcl/GraphicLoader.hxx
parent8fbacaccf41c914bb3e8328980b9981018b187fe (diff)
add GraphicLoader and funct. to load graphic from URL
Change-Id: Ib722ee5bc20908d50642b1371b20c878158204cf Reviewed-on: https://gerrit.libreoffice.org/50538 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/GraphicLoader.hxx')
-rw-r--r--include/vcl/GraphicLoader.hxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/vcl/GraphicLoader.hxx b/include/vcl/GraphicLoader.hxx
new file mode 100644
index 000000000000..9b96ec13b8a2
--- /dev/null
+++ b/include/vcl/GraphicLoader.hxx
@@ -0,0 +1,25 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_VCL_GRAPHIC_LOADER_HXX
+#define INCLUDED_VCL_GRAPHIC_LOADER_HXX
+
+#include <vcl/graph.hxx>
+
+namespace vcl
+{
+namespace graphic
+{
+Graphic VCL_DLLPUBLIC loadFromURL(OUString const& rURL);
+}
+} // end vcl::graphic
+
+#endif // INCLUDED_VCL_GRAPHIC_TOOLS_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */