diff options
Diffstat (limited to 'avmedia/source/framework/mediaplayer.cxx')
-rw-r--r-- | avmedia/source/framework/mediaplayer.cxx | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/avmedia/source/framework/mediaplayer.cxx b/avmedia/source/framework/mediaplayer.cxx index c39af428e92e..489ff5e05f0a 100644 --- a/avmedia/source/framework/mediaplayer.cxx +++ b/avmedia/source/framework/mediaplayer.cxx @@ -33,10 +33,6 @@ namespace avmedia { - -// - MediaPlayer - - - MediaPlayer::MediaPlayer( vcl::Window* _pParent, sal_uInt16 nId, SfxBindings* _pBindings, SfxChildWinInfo* pInfo ) : SfxChildWindow( _pParent, nId ) { @@ -45,19 +41,14 @@ MediaPlayer::MediaPlayer( vcl::Window* _pParent, sal_uInt16 nId, SfxBindings* _p }; - MediaPlayer::~MediaPlayer() { } - SFX_IMPL_DOCKINGWINDOW_WITHID( MediaPlayer, SID_AVMEDIA_PLAYER ) -// - MediaFloater - - - MediaFloater::MediaFloater( SfxBindings* _pBindings, SfxChildWindow* pCW, vcl::Window* pParent ) : SfxDockingWindow( _pBindings, pCW, pParent, WB_CLOSEABLE | WB_MOVEABLE | WB_SIZEABLE | WB_DOCKABLE ), mpMediaWindow( new MediaWindow( this, true ) ) @@ -71,12 +62,12 @@ MediaFloater::MediaFloater( SfxBindings* _pBindings, SfxChildWindow* pCW, vcl::W } - MediaFloater::~MediaFloater() { disposeOnce(); } + void MediaFloater::dispose() { delete mpMediaWindow; @@ -85,7 +76,6 @@ void MediaFloater::dispose() } - void MediaFloater::Resize() { SfxDockingWindow::Resize(); @@ -95,7 +85,6 @@ void MediaFloater::Resize() } - void MediaFloater::ToggleFloatingMode() { ::avmedia::MediaItem aRestoreItem; @@ -124,7 +113,6 @@ void MediaFloater::ToggleFloatingMode() } - void MediaFloater::setURL( const OUString& rURL, const OUString& rReferer, bool bPlayImmediately ) { if( mpMediaWindow ) @@ -137,7 +125,6 @@ void MediaFloater::setURL( const OUString& rURL, const OUString& rReferer, bool } - void MediaFloater::dispatchCurrentURL() { SfxDispatcher* pDispatcher = GetBindings().GetDispatcher(); @@ -153,6 +140,6 @@ void MediaFloater::dispatchCurrentURL() } } -} +} // namespace avmedia /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |