diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-08 10:55:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-08 12:16:54 +0200 |
commit | 3eed23154170fcb8d313ff079d61c9701b77eefa (patch) | |
tree | 1c9b0daee609373cdd68141d4f7d203e99f5e1cf /avmedia/source/macavf | |
parent | 01107a6c1954ceff2d3affc7369027150bf6c032 (diff) |
compact namespace in avmedia..bridges
Change-Id: Iba1282caadab91a0c6e1c044dbab5e6e15f3707b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93705
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia/source/macavf')
-rw-r--r-- | avmedia/source/macavf/framegrabber.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/macavf/framegrabber.mm | 5 | ||||
-rw-r--r-- | avmedia/source/macavf/macavfcommon.hxx | 8 | ||||
-rw-r--r-- | avmedia/source/macavf/manager.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/macavf/manager.mm | 5 | ||||
-rw-r--r-- | avmedia/source/macavf/player.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/macavf/player.mm | 5 | ||||
-rw-r--r-- | avmedia/source/macavf/window.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/macavf/window.mm | 5 |
9 files changed, 19 insertions, 29 deletions
diff --git a/avmedia/source/macavf/framegrabber.hxx b/avmedia/source/macavf/framegrabber.hxx index a0fceec3bf47..0b199991edaa 100644 --- a/avmedia/source/macavf/framegrabber.hxx +++ b/avmedia/source/macavf/framegrabber.hxx @@ -24,7 +24,7 @@ #include <com/sun/star/media/XFrameGrabber.hpp> -namespace avmedia { namespace macavf { +namespace avmedia::macavf { class FrameGrabber : public ::cppu::WeakImplHelper< css::media::XFrameGrabber, css::lang::XServiceInfo > @@ -51,7 +51,6 @@ private: AVAssetImageGenerator* mpImageGen; }; -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/framegrabber.mm b/avmedia/source/macavf/framegrabber.mm index 5bd9441f9dea..71180010305b 100644 --- a/avmedia/source/macavf/framegrabber.mm +++ b/avmedia/source/macavf/framegrabber.mm @@ -28,7 +28,7 @@ using namespace ::com::sun::star; -namespace avmedia { namespace macavf { +namespace avmedia::macavf { FrameGrabber::FrameGrabber( const uno::Reference< lang::XMultiServiceFactory >& /*rxMgr*/ ) : mpImageGen( nullptr ) @@ -101,7 +101,6 @@ uno::Sequence< OUString > SAL_CALL FrameGrabber::getSupportedServiceNames( ) return { AVMEDIA_MACAVF_FRAMEGRABBER_SERVICENAME }; } -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/macavfcommon.hxx b/avmedia/source/macavf/macavfcommon.hxx index c682755ce8a8..699f495a0ddf 100644 --- a/avmedia/source/macavf/macavfcommon.hxx +++ b/avmedia/source/macavf/macavfcommon.hxx @@ -60,9 +60,7 @@ // MacAVObserver handles the notifications used in the AVFoundation framework -namespace avmedia { namespace macavf { -class MacAVObserverHandler; -} } +namespace avmedia::macavf { class MacAVObserverHandler; } typedef std::unordered_map<NSObject*,avmedia::macavf::MacAVObserverHandler*> HandlersForObject; @@ -74,7 +72,7 @@ typedef std::unordered_map<NSObject*,avmedia::macavf::MacAVObserverHandler*> Han - (void)onNotification:(NSNotification*)pNotification; @end -namespace avmedia { namespace macavf { +namespace avmedia::macavf { class MacAVObserverHandler { @@ -86,6 +84,6 @@ public: virtual bool handleObservation( NSString* pKeyPath ) = 0; }; -}} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/manager.hxx b/avmedia/source/macavf/manager.hxx index 2320e8bb4656..fbdcb61b3caf 100644 --- a/avmedia/source/macavf/manager.hxx +++ b/avmedia/source/macavf/manager.hxx @@ -25,7 +25,7 @@ #include <com/sun/star/media/XManager.hpp> -namespace avmedia { namespace macavf { +namespace avmedia::macavf { class Manager : public ::cppu::WeakImplHelper< css::media::XManager, css::lang::XServiceInfo > @@ -47,7 +47,6 @@ private: css::uno::Reference< css::lang::XMultiServiceFactory > mxMgr; }; -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/manager.mm b/avmedia/source/macavf/manager.mm index 8dd50f475630..7f3036c86faf 100644 --- a/avmedia/source/macavf/manager.mm +++ b/avmedia/source/macavf/manager.mm @@ -24,7 +24,7 @@ using namespace ::com::sun::star; -namespace avmedia { namespace macavf { +namespace avmedia::macavf { Manager::Manager( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : mxMgr( rxMgr ) @@ -66,7 +66,6 @@ uno::Sequence< OUString > SAL_CALL Manager::getSupportedServiceNames( ) return { AVMEDIA_MACAVF_MANAGER_SERVICENAME }; } -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/player.hxx b/avmedia/source/macavf/player.hxx index 22867b1af20f..b9b49cc8cdac 100644 --- a/avmedia/source/macavf/player.hxx +++ b/avmedia/source/macavf/player.hxx @@ -25,7 +25,7 @@ #include <com/sun/star/media/XPlayer.hpp> -namespace avmedia { namespace macavf { +namespace avmedia::macavf { class Player : public MacAVObserverHandler @@ -79,7 +79,6 @@ private: bool mbLooping; }; -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm index 0ad415742ec8..dfe558524073 100644 --- a/avmedia/source/macavf/player.mm +++ b/avmedia/source/macavf/player.mm @@ -56,7 +56,7 @@ using namespace ::com::sun::star; @end -namespace avmedia { namespace macavf { +namespace avmedia::macavf { MacAVObserverObject* MacAVObserverHandler::mpMacAVObserverObject = nullptr; @@ -359,7 +359,6 @@ uno::Sequence< OUString > SAL_CALL Player::getSupportedServiceNames( ) return { AVMEDIA_MACAVF_PLAYER_SERVICENAME }; } -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/window.hxx b/avmedia/source/macavf/window.hxx index 9f078cdd9b31..c494b6deffd4 100644 --- a/avmedia/source/macavf/window.hxx +++ b/avmedia/source/macavf/window.hxx @@ -33,7 +33,7 @@ - (void) play; @end -namespace avmedia { namespace macavf { +namespace avmedia::macavf { class Player; @@ -106,7 +106,6 @@ private: void ImplLayoutVideoWindow(); }; -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/macavf/window.mm b/avmedia/source/macavf/window.mm index 523ee0b43eac..3c39a0725277 100644 --- a/avmedia/source/macavf/window.mm +++ b/avmedia/source/macavf/window.mm @@ -26,7 +26,7 @@ using namespace ::com::sun::star; -namespace avmedia { namespace macavf { +namespace avmedia::macavf { Window::Window( const uno::Reference< lang::XMultiServiceFactory >& i_rxMgr, Player& i_rPlayer, NSView* i_pParentView ) : mxMgr( i_rxMgr ) @@ -256,7 +256,6 @@ uno::Sequence< OUString > SAL_CALL Window::getSupportedServiceNames( ) return { AVMEDIA_MACAVF_WINDOW_SERVICENAME }; } -} // namespace macavf -} // namespace avmedia +} // namespace avmedia::macavf /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |