diff options
Diffstat (limited to 'UnoControls/source/inc/OConnectionPointHelper.hxx')
-rw-r--r-- | UnoControls/source/inc/OConnectionPointHelper.hxx | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index 77a788651b77..cf87833b29ca 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -28,18 +28,12 @@ #include "OConnectionPointContainerHelper.hxx" -// namespaces - -namespace unocontrols{ - -// class declaration OConnectionPointHelper +namespace unocontrols { class OConnectionPointHelper : public css::lang::XConnectionPoint , public ::cppu::OWeakObject { - public: - OConnectionPointHelper( ::osl::Mutex& aMutex , OConnectionPointContainerHelper* pContainerImplementation , css::uno::Type const & aType ); @@ -48,7 +42,7 @@ public: // XInterface - /**_______________________________________________________________________________________________________ + /** @short give answer, if interface is supported @descr The interfaces are searched by type. @@ -63,7 +57,7 @@ public: virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; - /**_______________________________________________________________________________________________________ + /** @short increment refcount @seealso XInterface @seealso release() @@ -72,7 +66,7 @@ public: virtual void SAL_CALL acquire() throw() override; - /**_______________________________________________________________________________________________________ + /** @short decrement refcount @seealso XInterface @seealso acquire() @@ -96,7 +90,6 @@ public: virtual css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > SAL_CALL getConnections() override; private: - bool impl_LockContainer(); void impl_UnlockContainer(); @@ -109,10 +102,9 @@ private: OConnectionPointContainerHelper* m_pContainerImplementation; css::uno::Type m_aInterfaceType; css::uno::Reference< css::uno::XInterface > m_xLock; +}; -}; // class OConnectionPointHelper - -} // namespace unocontrols +} #endif // INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTHELPER_HXX |