summaryrefslogtreecommitdiff
path: root/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/source/inc/OConnectionPointContainerHelper.hxx')
-rw-r--r--UnoControls/source/inc/OConnectionPointContainerHelper.hxx21
1 files changed, 6 insertions, 15 deletions
diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
index abc4191e7bde..316a8368ca3d 100644
--- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
@@ -25,25 +25,19 @@
#include <cppuhelper/weak.hxx>
#include <cppuhelper/propshlp.hxx>
-// namespaces
-
-namespace unocontrols{
-
-// class declaration OConnectionPointContainerHelper
+namespace unocontrols {
class OConnectionPointContainerHelper : public css::lang::XConnectionPointContainer
, public ::cppu::OWeakObject
{
-
public:
-
OConnectionPointContainerHelper( ::osl::Mutex& aMutex );
virtual ~OConnectionPointContainerHelper() override;
// XInterface
- /**_______________________________________________________________________________________________________
+ /**
@short give answer, if interface is supported
@descr The interfaces are searched by type.
@@ -58,7 +52,7 @@ public:
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- /**_______________________________________________________________________________________________________
+ /**
@short increment refcount
@seealso XInterface
@seealso release()
@@ -67,7 +61,7 @@ public:
virtual void SAL_CALL acquire() throw() override;
- /**_______________________________________________________________________________________________________
+ /**
@short decrement refcount
@seealso XInterface
@seealso acquire()
@@ -100,15 +94,12 @@ public:
// "Parent" function must do this.
::cppu::OMultiTypeInterfaceContainerHelper& impl_getMultiTypeContainer() { return m_aMultiTypeContainer; }
-
private:
-
::osl::Mutex& m_aSharedMutex;
::cppu::OMultiTypeInterfaceContainerHelper m_aMultiTypeContainer; // Container to hold listener
+};
-}; // class OConnectionPointContainerHelper
-
-} // namespace unocontrols
+}
#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTCONTAINERHELPER_HXX