summaryrefslogtreecommitdiff
path: root/avmedia/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-12-03 00:10:10 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-03 00:48:16 +0100
commit59307a7164e35396f34bf621ad7e9d2f265b1c7f (patch)
tree3282a95522303ff1553e0b4f3fda8f1978ce4830 /avmedia/inc
parent116ad02ae89a0036a223ef943352587119a47f65 (diff)
actually play embedded media:
In order to do this, the media is written to a temp file by avmedia::MediaWindowBaseImpl. This requires some rather ugly hacks to transport the Storage that contains the media to the avmedia stuff, including adding a XModel reference to avmedia::MediaItem.
Diffstat (limited to 'avmedia/inc')
-rw-r--r--avmedia/inc/avmedia/mediaitem.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/avmedia/inc/avmedia/mediaitem.hxx b/avmedia/inc/avmedia/mediaitem.hxx
index a1908105e235..0e4af5c07507 100644
--- a/avmedia/inc/avmedia/mediaitem.hxx
+++ b/avmedia/inc/avmedia/mediaitem.hxx
@@ -114,8 +114,12 @@ public:
void setZoom( ::com::sun::star::media::ZoomLevel eZoom );
::com::sun::star::media::ZoomLevel getZoom() const;
- void setURL( const ::rtl::OUString& rURL );
+ void setURL( const ::rtl::OUString& rURL,
+ ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>
+ const& xModel);
const ::rtl::OUString& getURL() const;
+ ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>
+ getModel() const;
private: