diff options
Diffstat (limited to 'include/comphelper/asyncnotification.hxx')
-rw-r--r-- | include/comphelper/asyncnotification.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/comphelper/asyncnotification.hxx b/include/comphelper/asyncnotification.hxx index 19f9fa850145..93209768e778 100644 --- a/include/comphelper/asyncnotification.hxx +++ b/include/comphelper/asyncnotification.hxx @@ -27,6 +27,7 @@ #include <rtl/ref.hxx> #include <sal/types.h> #include <salhelper/thread.hxx> +#include <salhelper/simplereferenceobject.hxx> namespace comphelper @@ -38,17 +39,11 @@ namespace comphelper /** the very basic instance to hold a description of an event */ - class COMPHELPER_DLLPUBLIC AnyEvent : ::rtl::IReference + class COMPHELPER_DLLPUBLIC AnyEvent : public salhelper::SimpleReferenceObject { - private: - oslInterlockedCount m_refCount; - public: AnyEvent(); - virtual oslInterlockedCount SAL_CALL acquire() SAL_OVERRIDE; - virtual oslInterlockedCount SAL_CALL release() SAL_OVERRIDE; - protected: virtual ~AnyEvent(); |