summaryrefslogtreecommitdiff
path: root/avmedia/source/macavf/window.mm
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/macavf/window.mm')
-rw-r--r--avmedia/source/macavf/window.mm33
1 files changed, 0 insertions, 33 deletions
diff --git a/avmedia/source/macavf/window.mm b/avmedia/source/macavf/window.mm
index a5465017c896..0ddee7fe120d 100644
--- a/avmedia/source/macavf/window.mm
+++ b/avmedia/source/macavf/window.mm
@@ -28,10 +28,6 @@ using namespace ::com::sun::star;
namespace avmedia { namespace macavf {
-// ---------------
-// - Window -
-// ---------------
-
Window::Window( const uno::Reference< lang::XMultiServiceFactory >& i_rxMgr, Player& i_rPlayer, NSView* i_pParentView )
: mxMgr( i_rxMgr )
, maListeners( maMutex )
@@ -71,7 +67,6 @@ Window::Window( const uno::Reference< lang::XMultiServiceFactory >& i_rxMgr, Pla
[mpView.layer addSublayer:mpPlayerLayer];
}
-// ------------------------------------------------------------------------------
Window::~Window()
{
@@ -79,7 +74,6 @@ Window::~Window()
[mpPlayerLayer release];
}
-// ------------------------------------------------------------------------------
bool Window::handleObservation( NSString* pKeyPath )
{
@@ -90,13 +84,11 @@ bool Window::handleObservation( NSString* pKeyPath )
}
// XPlayerWindow
-// ------------------------------------------------------------------------------
void SAL_CALL Window::update()
throw (uno::RuntimeException)
{}
-// ------------------------------------------------------------------------------
sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel /* eZoomLevel */ )
throw (uno::RuntimeException)
@@ -104,7 +96,6 @@ sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel /* eZoomLevel */ )
return false;
}
-// ------------------------------------------------------------------------------
media::ZoomLevel SAL_CALL Window::getZoomLevel( )
throw (uno::RuntimeException)
@@ -112,7 +103,6 @@ media::ZoomLevel SAL_CALL Window::getZoomLevel( )
return meZoomLevel;
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::setPointerType( sal_Int32 nPointerType )
throw (uno::RuntimeException)
@@ -121,7 +111,6 @@ void SAL_CALL Window::setPointerType( sal_Int32 nPointerType )
}
// XWindow
-// ------------------------------------------------------------------------------
void SAL_CALL Window::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 /* Flags */ )
throw (uno::RuntimeException)
@@ -140,7 +129,6 @@ void SAL_CALL Window::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal
[mpPlayerLayer setFrame:CGRectMake(viewFrame.origin.x, viewFrame.origin.y, viewFrame.size.width, viewFrame.size.height)];
}
-// ------------------------------------------------------------------------------
awt::Rectangle SAL_CALL Window::getPosSize()
throw (uno::RuntimeException)
@@ -155,7 +143,6 @@ awt::Rectangle SAL_CALL Window::getPosSize()
return aRet;
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::setVisible( sal_Bool bVisible )
throw (uno::RuntimeException)
@@ -163,7 +150,6 @@ void SAL_CALL Window::setVisible( sal_Bool bVisible )
OSL_TRACE ("Window::setVisible(%d)", bVisible);
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::setEnable( sal_Bool bEnable )
throw (uno::RuntimeException)
@@ -171,7 +157,6 @@ void SAL_CALL Window::setEnable( sal_Bool bEnable )
OSL_TRACE ("Window::setEnable(%d)", bEnable);
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::setFocus()
throw (uno::RuntimeException)
@@ -179,7 +164,6 @@ void SAL_CALL Window::setFocus()
OSL_TRACE ("Window::setFocus");
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::addWindowListener( const uno::Reference< awt::XWindowListener >& xListener )
throw (uno::RuntimeException)
@@ -187,7 +171,6 @@ void SAL_CALL Window::addWindowListener( const uno::Reference< awt::XWindowListe
maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::removeWindowListener( const uno::Reference< awt::XWindowListener >& xListener )
throw (uno::RuntimeException)
@@ -195,7 +178,6 @@ void SAL_CALL Window::removeWindowListener( const uno::Reference< awt::XWindowLi
maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::addFocusListener( const uno::Reference< awt::XFocusListener >& xListener )
throw (uno::RuntimeException)
@@ -203,7 +185,6 @@ void SAL_CALL Window::addFocusListener( const uno::Reference< awt::XFocusListene
maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::removeFocusListener( const uno::Reference< awt::XFocusListener >& xListener )
throw (uno::RuntimeException)
@@ -211,7 +192,6 @@ void SAL_CALL Window::removeFocusListener( const uno::Reference< awt::XFocusList
maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::addKeyListener( const uno::Reference< awt::XKeyListener >& xListener )
throw (uno::RuntimeException)
@@ -219,7 +199,6 @@ void SAL_CALL Window::addKeyListener( const uno::Reference< awt::XKeyListener >&
maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::removeKeyListener( const uno::Reference< awt::XKeyListener >& xListener )
throw (uno::RuntimeException)
@@ -227,7 +206,6 @@ void SAL_CALL Window::removeKeyListener( const uno::Reference< awt::XKeyListener
maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::addMouseListener( const uno::Reference< awt::XMouseListener >& xListener )
throw (uno::RuntimeException)
@@ -235,7 +213,6 @@ void SAL_CALL Window::addMouseListener( const uno::Reference< awt::XMouseListene
maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::removeMouseListener( const uno::Reference< awt::XMouseListener >& xListener )
throw (uno::RuntimeException)
@@ -243,7 +220,6 @@ void SAL_CALL Window::removeMouseListener( const uno::Reference< awt::XMouseList
maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::addMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener )
throw (uno::RuntimeException)
@@ -251,7 +227,6 @@ void SAL_CALL Window::addMouseMotionListener( const uno::Reference< awt::XMouseM
maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::removeMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener )
throw (uno::RuntimeException)
@@ -259,7 +234,6 @@ void SAL_CALL Window::removeMouseMotionListener( const uno::Reference< awt::XMou
maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::addPaintListener( const uno::Reference< awt::XPaintListener >& xListener )
throw (uno::RuntimeException)
@@ -267,7 +241,6 @@ void SAL_CALL Window::addPaintListener( const uno::Reference< awt::XPaintListene
maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::removePaintListener( const uno::Reference< awt::XPaintListener >& xListener )
throw (uno::RuntimeException)
@@ -277,14 +250,12 @@ void SAL_CALL Window::removePaintListener( const uno::Reference< awt::XPaintList
// XComponent
-// ------------------------------------------------------------------------------
void SAL_CALL Window::dispose( )
throw (uno::RuntimeException)
{
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::addEventListener( const uno::Reference< lang::XEventListener >& xListener )
throw (uno::RuntimeException)
@@ -292,7 +263,6 @@ void SAL_CALL Window::addEventListener( const uno::Reference< lang::XEventListen
maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener );
}
-// ------------------------------------------------------------------------------
void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventListener >& xListener )
throw (uno::RuntimeException)
@@ -301,7 +271,6 @@ void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventLis
}
// XServiceInfo
-// ------------------------------------------------------------------------------
::rtl::OUString SAL_CALL Window::getImplementationName( )
throw (uno::RuntimeException)
@@ -309,7 +278,6 @@ void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventLis
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( AVMEDIA_MACAVF_WINDOW_IMPLEMENTATIONNAME ) );
}
-// ------------------------------------------------------------------------------
sal_Bool SAL_CALL Window::supportsService( const ::rtl::OUString& ServiceName )
throw (uno::RuntimeException)
@@ -317,7 +285,6 @@ sal_Bool SAL_CALL Window::supportsService( const ::rtl::OUString& ServiceName )
return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( AVMEDIA_MACAVF_WINDOW_SERVICENAME ) );
}
-// ------------------------------------------------------------------------------
uno::Sequence< ::rtl::OUString > SAL_CALL Window::getSupportedServiceNames( )
throw (uno::RuntimeException)