summaryrefslogtreecommitdiff
path: root/avmedia/source/quicktime
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 17:37:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 17:00:26 +0000
commitf7a6ef74fe9b72105495b7d315ce155e01eb6489 (patch)
tree1e011ab74859f90699688a04387acdde6372cfb9 /avmedia/source/quicktime
parentb2afdb85c30c27c7fce96f206aeb115cb2a193ab (diff)
Remove visual noise from avmedia
Change-Id: I2f2cccc75f902359fbe557333c0062b13d1e9e96 Reviewed-on: https://gerrit.libreoffice.org/8231 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'avmedia/source/quicktime')
-rw-r--r--avmedia/source/quicktime/framegrabber.hxx4
-rw-r--r--avmedia/source/quicktime/framegrabber.mm16
-rw-r--r--avmedia/source/quicktime/manager.hxx4
-rw-r--r--avmedia/source/quicktime/manager.mm14
-rw-r--r--avmedia/source/quicktime/player.hxx4
-rw-r--r--avmedia/source/quicktime/player.mm48
-rw-r--r--avmedia/source/quicktime/quicktimeuno.mm4
-rw-r--r--avmedia/source/quicktime/window.hxx4
8 files changed, 49 insertions, 49 deletions
diff --git a/avmedia/source/quicktime/framegrabber.hxx b/avmedia/source/quicktime/framegrabber.hxx
index fa452eab66b1..0552af4cb1ef 100644
--- a/avmedia/source/quicktime/framegrabber.hxx
+++ b/avmedia/source/quicktime/framegrabber.hxx
@@ -26,9 +26,9 @@
namespace avmedia { namespace quicktime {
-// ----------------
+
// - FrameGrabber -
-// ----------------
+
class FrameGrabber : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XFrameGrabber,
::com::sun::star::lang::XServiceInfo >
diff --git a/avmedia/source/quicktime/framegrabber.mm b/avmedia/source/quicktime/framegrabber.mm
index 3e262f1e24e4..52511c9e40ce 100644
--- a/avmedia/source/quicktime/framegrabber.mm
+++ b/avmedia/source/quicktime/framegrabber.mm
@@ -32,9 +32,9 @@ using namespace ::com::sun::star;
namespace avmedia { namespace quicktime {
-// ----------------
+
// - FrameGrabber -
-// ----------------
+
FrameGrabber::FrameGrabber( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
mxMgr( rxMgr )
@@ -54,7 +54,7 @@ FrameGrabber::FrameGrabber( const uno::Reference< lang::XMultiServiceFactory >&
[pool release];
}
-// ------------------------------------------------------------------------------
+
FrameGrabber::~FrameGrabber()
{
@@ -68,7 +68,7 @@ FrameGrabber::~FrameGrabber()
}
}
-// ------------------------------------------------------------------------------
+
bool FrameGrabber::create( const ::rtl::OUString& rURL )
{
@@ -92,7 +92,7 @@ bool FrameGrabber::create( const ::rtl::OUString& rURL )
return( bRet );
}
-// ------------------------------------------------------------------------------
+
uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMediaTime )
throw (uno::RuntimeException)
@@ -113,7 +113,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe
return xRet;
}
-// ------------------------------------------------------------------------------
+
::rtl::OUString SAL_CALL FrameGrabber::getImplementationName( )
throw (uno::RuntimeException)
@@ -121,7 +121,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe
return ::rtl::OUString( AVMEDIA_QUICKTIME_FRAMEGRABBER_IMPLEMENTATIONNAME );
}
-// ------------------------------------------------------------------------------
+
sal_Bool SAL_CALL FrameGrabber::supportsService( const ::rtl::OUString& ServiceName )
throw (uno::RuntimeException)
@@ -129,7 +129,7 @@ sal_Bool SAL_CALL FrameGrabber::supportsService( const ::rtl::OUString& ServiceN
return ( ServiceName == AVMEDIA_QUICKTIME_FRAMEGRABBER_SERVICENAME );
}
-// ------------------------------------------------------------------------------
+
uno::Sequence< ::rtl::OUString > SAL_CALL FrameGrabber::getSupportedServiceNames( )
throw (uno::RuntimeException)
diff --git a/avmedia/source/quicktime/manager.hxx b/avmedia/source/quicktime/manager.hxx
index cf840fd9a056..af64284a900e 100644
--- a/avmedia/source/quicktime/manager.hxx
+++ b/avmedia/source/quicktime/manager.hxx
@@ -24,9 +24,9 @@
#include "com/sun/star/media/XManager.hpp"
-// -----------
+
// - Manager -
-// -----------
+
namespace avmedia { namespace quicktime {
diff --git a/avmedia/source/quicktime/manager.mm b/avmedia/source/quicktime/manager.mm
index fb9c41af3132..fa315fdff341 100644
--- a/avmedia/source/quicktime/manager.mm
+++ b/avmedia/source/quicktime/manager.mm
@@ -24,9 +24,9 @@
using namespace ::com::sun::star;
namespace avmedia { namespace quicktime {
-// ----------------
+
// - Manager -
-// ----------------
+
Manager::Manager( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
mxMgr( rxMgr )
@@ -34,13 +34,13 @@ Manager::Manager( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
OSL_TRACE( "avmediaquicktime: Manager::Manager" );
}
-// ------------------------------------------------------------------------------
+
Manager::~Manager()
{
}
-// ------------------------------------------------------------------------------
+
uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const ::rtl::OUString& rURL )
throw (uno::RuntimeException)
@@ -57,7 +57,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const ::rtl::OU
return xRet;
}
-// ------------------------------------------------------------------------------
+
::rtl::OUString SAL_CALL Manager::getImplementationName( )
throw (uno::RuntimeException)
@@ -65,7 +65,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const ::rtl::OU
return ::rtl::OUString( AVMEDIA_QUICKTIME_MANAGER_IMPLEMENTATIONNAME );
}
-// ------------------------------------------------------------------------------
+
sal_Bool SAL_CALL Manager::supportsService( const ::rtl::OUString& ServiceName )
throw (uno::RuntimeException)
@@ -73,7 +73,7 @@ sal_Bool SAL_CALL Manager::supportsService( const ::rtl::OUString& ServiceName )
return ( ServiceName == AVMEDIA_QUICKTIME_MANAGER_SERVICENAME );
}
-// ------------------------------------------------------------------------------
+
uno::Sequence< ::rtl::OUString > SAL_CALL Manager::getSupportedServiceNames( )
throw (uno::RuntimeException)
diff --git a/avmedia/source/quicktime/player.hxx b/avmedia/source/quicktime/player.hxx
index bc70704126ab..69cbcdd9f55a 100644
--- a/avmedia/source/quicktime/player.hxx
+++ b/avmedia/source/quicktime/player.hxx
@@ -28,9 +28,9 @@
namespace avmedia { namespace quicktime {
/*
-// ----------
+
// - Player -
-// ----------
+
*/
class Player : public ::cppu::WeakImplHelper2< ::com::sun::star::media::XPlayer,
diff --git a/avmedia/source/quicktime/player.mm b/avmedia/source/quicktime/player.mm
index f12bf87a99dc..57faad476e34 100644
--- a/avmedia/source/quicktime/player.mm
+++ b/avmedia/source/quicktime/player.mm
@@ -27,9 +27,9 @@ using namespace ::com::sun::star;
namespace avmedia { namespace quicktime {
-// ----------------
+
// - Player -
-// ----------------
+
Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
mxMgr( rxMgr ),
@@ -58,7 +58,7 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) :
[pool release];
}
-// ------------------------------------------------------------------------------
+
Player::~Player()
{
@@ -68,7 +68,7 @@ Player::~Player()
mpMovie = nil;
}
}
-// ------------------------------------------------------------------------------
+
QTMovie* Player::getMovie()
{
@@ -76,7 +76,7 @@ QTMovie* Player::getMovie()
return mpMovie;
}
-// ------------------------------------------------------------------------------
+
bool Player::create( const ::rtl::OUString& rURL )
{
@@ -116,7 +116,7 @@ bool Player::create( const ::rtl::OUString& rURL )
return bRet;
}
-// ------------------------------------------------------------------------------
+
void SAL_CALL Player::start( )
throw (uno::RuntimeException)
@@ -129,7 +129,7 @@ void SAL_CALL Player::start( )
}
}
-// ------------------------------------------------------------------------------
+
void SAL_CALL Player::stop( )
throw (uno::RuntimeException)
@@ -141,7 +141,7 @@ void SAL_CALL Player::stop( )
}
}
-// ------------------------------------------------------------------------------
+
sal_Bool SAL_CALL Player::isPlaying()
throw (uno::RuntimeException)
@@ -159,7 +159,7 @@ sal_Bool SAL_CALL Player::isPlaying()
return bRet;
}
-// ------------------------------------------------------------------------------
+
double SAL_CALL Player::getDuration( )
throw (uno::RuntimeException)
@@ -176,7 +176,7 @@ double SAL_CALL Player::getDuration( )
return duration;
}
-// ------------------------------------------------------------------------------
+
void SAL_CALL Player::setMediaTime( double fTime )
throw (uno::RuntimeException)
@@ -189,7 +189,7 @@ void SAL_CALL Player::setMediaTime( double fTime )
}
}
-// ------------------------------------------------------------------------------
+
double SAL_CALL Player::getMediaTime( )
throw (uno::RuntimeException)
@@ -210,7 +210,7 @@ double SAL_CALL Player::getMediaTime( )
return position;
}
-// ------------------------------------------------------------------------------
+
double SAL_CALL Player::getRate( )
throw (uno::RuntimeException)
@@ -228,7 +228,7 @@ double SAL_CALL Player::getRate( )
return rate;
}
-// ------------------------------------------------------------------------------
+
void SAL_CALL Player::setPlaybackLoop( sal_Bool bSet )
throw (uno::RuntimeException)
@@ -245,7 +245,7 @@ void SAL_CALL Player::setPlaybackLoop( sal_Bool bSet )
}
}
-// ------------------------------------------------------------------------------
+
sal_Bool SAL_CALL Player::isPlaybackLoop( )
throw (uno::RuntimeException)
@@ -257,7 +257,7 @@ sal_Bool SAL_CALL Player::isPlaybackLoop( )
return bRet;
}
-// ------------------------------------------------------------------------------
+
void SAL_CALL Player::setMute( sal_Bool bSet )
throw (uno::RuntimeException)
@@ -273,7 +273,7 @@ void SAL_CALL Player::setMute( sal_Bool bSet )
}
-// ------------------------------------------------------------------------------
+
sal_Bool SAL_CALL Player::isMute( )
throw (uno::RuntimeException)
@@ -283,7 +283,7 @@ sal_Bool SAL_CALL Player::isMute( )
return mbMuted;
}
-// ------------------------------------------------------------------------------
+
void SAL_CALL Player::setVolumeDB( sal_Int16 nVolumeDB )
throw (uno::RuntimeException)
@@ -308,7 +308,7 @@ void SAL_CALL Player::setVolumeDB( sal_Int16 nVolumeDB )
}
}
-// ------------------------------------------------------------------------------
+
sal_Int16 SAL_CALL Player::getVolumeDB( )
throw (uno::RuntimeException)
@@ -333,7 +333,7 @@ sal_Int16 SAL_CALL Player::getVolumeDB( )
return nVolumeDB;
}
-// ------------------------------------------------------------------------------
+
awt::Size SAL_CALL Player::getPreferredPlayerWindowSize( )
throw (uno::RuntimeException)
@@ -343,7 +343,7 @@ awt::Size SAL_CALL Player::getPreferredPlayerWindowSize( )
return aSize;
}
-// ------------------------------------------------------------------------------
+
uno::Reference< ::media::XPlayerWindow > SAL_CALL Player::createPlayerWindow( const uno::Sequence< uno::Any >& aArguments )
throw (uno::RuntimeException)
@@ -366,7 +366,7 @@ uno::Reference< ::media::XPlayerWindow > SAL_CALL Player::createPlayerWindow( co
return xRet;
}
-// ------------------------------------------------------------------------------
+
uno::Reference< media::XFrameGrabber > SAL_CALL Player::createFrameGrabber( )
throw (::com::sun::star::uno::RuntimeException)
@@ -389,7 +389,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL Player::createFrameGrabber( )
return xRet;
}
-// ------------------------------------------------------------------------------
+
::rtl::OUString SAL_CALL Player::getImplementationName( )
throw (uno::RuntimeException)
@@ -397,7 +397,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL Player::createFrameGrabber( )
return ::rtl::OUString( AVMEDIA_QUICKTIME_PLAYER_IMPLEMENTATIONNAME );
}
-// ------------------------------------------------------------------------------
+
sal_Bool SAL_CALL Player::supportsService( const ::rtl::OUString& ServiceName )
throw (uno::RuntimeException)
@@ -405,7 +405,7 @@ sal_Bool SAL_CALL Player::supportsService( const ::rtl::OUString& ServiceName )
return ( ServiceName == AVMEDIA_QUICKTIME_PLAYER_SERVICENAME );
}
-// ------------------------------------------------------------------------------
+
uno::Sequence< ::rtl::OUString > SAL_CALL Player::getSupportedServiceNames( )
throw (uno::RuntimeException)
diff --git a/avmedia/source/quicktime/quicktimeuno.mm b/avmedia/source/quicktime/quicktimeuno.mm
index 7baacb49e7e2..20ef849cfbf6 100644
--- a/avmedia/source/quicktime/quicktimeuno.mm
+++ b/avmedia/source/quicktime/quicktimeuno.mm
@@ -22,9 +22,9 @@
using namespace ::com::sun::star;
-// -------------------
+
// - factory methods -
-// -------------------
+
static uno::Reference< uno::XInterface > SAL_CALL create_MediaPlayer( const uno::Reference< lang::XMultiServiceFactory >& rxFact )
{
diff --git a/avmedia/source/quicktime/window.hxx b/avmedia/source/quicktime/window.hxx
index de349818be74..3a47e30657b7 100644
--- a/avmedia/source/quicktime/window.hxx
+++ b/avmedia/source/quicktime/window.hxx
@@ -27,9 +27,9 @@
namespace avmedia { namespace quicktime {
-// ---------------
+
// - Window -
-// ---------------
+
class Player;