diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-28 13:22:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-31 09:50:10 +0200 |
commit | 7b096a6da180bb11ffbff15c9a5358c63596cc34 (patch) | |
tree | f5330ead159ec348c0aae10855c770804bd4cba8 /include/svtools/asynclink.hxx | |
parent | f144e591f5786f1cac177e4e6eb13795eeda2657 (diff) |
make Link<> typed
Change-Id: I8949a92792df892b7f360e6b9979c8f61c702ce3
Diffstat (limited to 'include/svtools/asynclink.hxx')
-rw-r--r-- | include/svtools/asynclink.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx index 747b0c38678d..f0fc74cec2af 100644 --- a/include/svtools/asynclink.hxx +++ b/include/svtools/asynclink.hxx @@ -32,20 +32,20 @@ namespace svtools { class SVT_DLLPUBLIC AsynchronLink { - Link<> _aLink; - ImplSVEvent * _nEventId; - Idle* _pIdle; - bool _bInCall; - bool* _pDeleted; - void* _pArg; - ::osl::Mutex* _pMutex; + Link<void*,void> _aLink; + ImplSVEvent* _nEventId; + Idle* _pIdle; + bool _bInCall; + bool* _pDeleted; + void* _pArg; + ::osl::Mutex* _pMutex; DECL_DLLPRIVATE_LINK_TYPED( HandleCall_Idle, Idle*, void ); DECL_DLLPRIVATE_LINK_TYPED( HandleCall_PostUserEvent, void*, void ); SVT_DLLPRIVATE void Call_Impl( void* pArg ); public: - AsynchronLink( const Link<>& rLink ) + AsynchronLink( const Link<void*,void>& rLink ) : _aLink( rLink ) , _nEventId( 0 ) , _pIdle( 0 ) @@ -65,7 +65,7 @@ public: ~AsynchronLink(); void CreateMutex(); - void operator=( const Link<>& rLink ) { _aLink = rLink; } + void operator=( const Link<void*,void>& rLink ) { _aLink = rLink; } void Call( void* pObj, bool bAllowDoubles = false, bool bUseTimer = false ); void ClearPendingCall( ); }; |