summaryrefslogtreecommitdiff
path: root/avmedia/source/viewer/mediawindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/viewer/mediawindow.cxx')
-rw-r--r--avmedia/source/viewer/mediawindow.cxx60
1 files changed, 30 insertions, 30 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx
index 3835bc1e13ba..992bb40a3460 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -41,9 +41,9 @@ using namespace ::com::sun::star;
namespace avmedia {
-// ---------------
+
// - MediaWindow -
-// ---------------
+
MediaWindow::MediaWindow( Window* parent, bool bInternalMediaControl ) :
mpImpl( new priv::MediaWindowImpl( parent, this, bInternalMediaControl ) )
@@ -51,151 +51,151 @@ MediaWindow::MediaWindow( Window* parent, bool bInternalMediaControl ) :
mpImpl->Show();
}
-// -------------------------------------------------------------------------
+
MediaWindow::~MediaWindow() {}
-// -------------------------------------------------------------------------
+
void MediaWindow::setURL( const OUString& rURL, const OUString& rReferer )
{
mpImpl->setURL( rURL, OUString(), rReferer );
}
-// -------------------------------------------------------------------------
+
const OUString& MediaWindow::getURL() const
{
return mpImpl->getURL();
}
-// -------------------------------------------------------------------------
+
bool MediaWindow::isValid() const
{
return mpImpl->isValid();
}
-// -------------------------------------------------------------------------
+
void MediaWindow::MouseMove( const MouseEvent& /* rMEvt */ )
{
}
-// ---------------------------------------------------------------------
+
void MediaWindow::MouseButtonDown( const MouseEvent& /* rMEvt */ )
{
}
-// ---------------------------------------------------------------------
+
void MediaWindow::MouseButtonUp( const MouseEvent& /* rMEvt */ )
{
}
-// -------------------------------------------------------------------------
+
void MediaWindow::KeyInput( const KeyEvent& /* rKEvt */ )
{
}
-// -------------------------------------------------------------------------
+
void MediaWindow::KeyUp( const KeyEvent& /* rKEvt */ )
{
}
-// -------------------------------------------------------------------------
+
void MediaWindow::Command( const CommandEvent& /* rCEvt */ )
{
}
-// -------------------------------------------------------------------------
+
sal_Int8 MediaWindow::AcceptDrop( const AcceptDropEvent& /* rEvt */ )
{
return 0;
}
-// -------------------------------------------------------------------------
+
sal_Int8 MediaWindow::ExecuteDrop( const ExecuteDropEvent& /* rEvt */ )
{
return 0;
}
-// -------------------------------------------------------------------------
+
void MediaWindow::StartDrag( sal_Int8 /* nAction */, const Point& /* rPosPixel */ )
{
}
-// -------------------------------------------------------------------------
+
Size MediaWindow::getPreferredSize() const
{
return mpImpl->getPreferredSize();
}
-// -------------------------------------------------------------------------
+
void MediaWindow::setPosSize( const Rectangle& rNewRect )
{
mpImpl->setPosSize( rNewRect );
}
-// -------------------------------------------------------------------------
+
void MediaWindow::setPointer( const Pointer& rPointer )
{
mpImpl->setPointer( rPointer );
}
-// -------------------------------------------------------------------------
+
bool MediaWindow::start()
{
return mpImpl->start();
}
-// -------------------------------------------------------------------------
+
void MediaWindow::updateMediaItem( MediaItem& rItem ) const
{
mpImpl->updateMediaItem( rItem );
}
-// -------------------------------------------------------------------------
+
void MediaWindow::executeMediaItem( const MediaItem& rItem )
{
mpImpl->executeMediaItem( rItem );
}
-// -------------------------------------------------------------------------
+
void MediaWindow::show()
{
mpImpl->Show();
}
-// -------------------------------------------------------------------------
+
void MediaWindow::hide()
{
mpImpl->Hide();
}
-// -------------------------------------------------------------------------
+
Window* MediaWindow::getWindow() const
{
return mpImpl.get();
}
-// -------------------------------------------------------------------------
+
void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
{
@@ -229,7 +229,7 @@ void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
}
}
-// -------------------------------------------------------------------------
+
bool MediaWindow::executeMediaURLDialog(Window* /* pParent */,
OUString& rURL, bool *const o_pbLink)
@@ -318,7 +318,7 @@ bool MediaWindow::executeMediaURLDialog(Window* /* pParent */,
return !rURL.isEmpty();
}
-// -------------------------------------------------------------------------
+
void MediaWindow::executeFormatErrorBox( Window* pParent )
{
@@ -327,7 +327,7 @@ void MediaWindow::executeFormatErrorBox( Window* pParent )
aErrBox.Execute();
}
-// -------------------------------------------------------------------------
+
bool MediaWindow::isMediaURL( const OUString& rURL, const OUString& rReferer, bool bDeep, Size* pPreferredSizePixel )
{
@@ -383,14 +383,14 @@ bool MediaWindow::isMediaURL( const OUString& rURL, const OUString& rReferer, bo
return bRet;
}
-// -------------------------------------------------------------------------
+
uno::Reference< media::XPlayer > MediaWindow::createPlayer( const OUString& rURL, const OUString& rReferer )
{
return priv::MediaWindowImpl::createPlayer( rURL, rReferer );
}
-// -------------------------------------------------------------------------
+
uno::Reference< graphic::XGraphic > MediaWindow::grabFrame( const OUString& rURL,
const OUString& rReferer,