summaryrefslogtreecommitdiff
path: root/include/avmedia
diff options
context:
space:
mode:
Diffstat (limited to 'include/avmedia')
-rw-r--r--include/avmedia/mediaitem.hxx5
-rw-r--r--include/avmedia/modeltools.hxx22
2 files changed, 27 insertions, 0 deletions
diff --git a/include/avmedia/mediaitem.hxx b/include/avmedia/mediaitem.hxx
index 97a63a961597..c512e2654eb9 100644
--- a/include/avmedia/mediaitem.hxx
+++ b/include/avmedia/mediaitem.hxx
@@ -26,6 +26,7 @@
#include <svl/poolitem.hxx>
#include <com/sun/star/media/ZoomLevel.hpp>
#include <com/sun/star/frame/XModel.hpp>
+#include <com/sun/star/embed/XStorage.hpp>
#include <avmedia/avmediadllapi.h>
#define AVMEDIA_SETMASK_NONE ((sal_uInt32)(0x00000000))
@@ -128,6 +129,10 @@ bool AVMEDIA_DLLPUBLIC EmbedMedia(
OUString const& rSourceURL,
OUString & o_rEmbeddedURL);
+OUString GetFilename(OUString const& rSourceURL);
+
+::com::sun::star::uno::Reference<::com::sun::star::io::XStream> CreateStream(
+ ::com::sun::star::uno::Reference<::com::sun::star::embed::XStorage> const& xStorage, OUString const& rFilename);
}
#endif
diff --git a/include/avmedia/modeltools.hxx b/include/avmedia/modeltools.hxx
new file mode 100644
index 000000000000..db9fc139f3f5
--- /dev/null
+++ b/include/avmedia/modeltools.hxx
@@ -0,0 +1,22 @@
+/* -*- 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/.
+ */
+
+#include <rtl/ustring.hxx>
+#include <com/sun/star/frame/XModel.hpp>
+#include <avmedia/avmediadllapi.h>
+
+namespace avmedia {
+
+bool AVMEDIA_DLLPUBLIC Embed3DModel(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xModel,
+ const OUString& rSourceURL, OUString& o_rEmbeddedURL);
+
+} // namespace avemdia
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */