summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/listenercontainer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/listenercontainer.hxx')
-rw-r--r--slideshow/source/inc/listenercontainer.hxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/slideshow/source/inc/listenercontainer.hxx b/slideshow/source/inc/listenercontainer.hxx
index c16fa8985b52..e99daf567c8d 100644
--- a/slideshow/source/inc/listenercontainer.hxx
+++ b/slideshow/source/inc/listenercontainer.hxx
@@ -40,12 +40,6 @@ struct EmptyBase
typedef EmptyClearableGuard ClearableGuard;
};
-class MutexBase
-{
-public:
- mutable osl::Mutex maMutex;
-};
-
template< typename result_type, typename ListenerTargetT > struct FunctionApply
{
template<typename FuncT> static bool apply(
@@ -406,22 +400,6 @@ private:
};
-/** ListenerContainer variant that serialized access
-
- This ListenerContainer is safe to use in a multi-threaded
- context. It serializes access to the object, and avoids
- dead-locking by releasing the object mutex before calling
- listeners.
- */
-template< typename ListenerT,
- typename ContainerT=std::vector<ListenerT> >
-class ThreadSafeListenerContainer : public ListenerContainerBase<ListenerT,
- MutexBase,
- ContainerT>
-{
-};
-
-
/** ListenerContainer variant that does not serialize access
This ListenerContainer version is not safe to use in a