summaryrefslogtreecommitdiff
path: root/include/vcl/evntpost.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-21 08:55:52 +0200
committerNoel Grandin <noel@peralex.com>2015-09-22 20:21:55 +0200
commit6d8124e30c6ce38219ca323f9674f242c822c360 (patch)
tree2a05e63023a1ff5cb327ca844d2830c66bf9fbdb /include/vcl/evntpost.hxx
parent3526da14b7c49adff202f32c15948fed8b9915ea (diff)
convert Link<> to typed
and remove unused UserEvent class Change-Id: Ic61c5eef75c36393dbbaa92d93163eab89021ee3
Diffstat (limited to 'include/vcl/evntpost.hxx')
-rw-r--r--include/vcl/evntpost.hxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/include/vcl/evntpost.hxx b/include/vcl/evntpost.hxx
index 55f93685cac6..276c8879aed5 100644
--- a/include/vcl/evntpost.hxx
+++ b/include/vcl/evntpost.hxx
@@ -27,23 +27,17 @@ struct ImplSVEvent;
namespace vcl
{
- struct UserEvent
- {
- sal_uLong m_nWhich;
- void* m_pData;
- };
-
class VCL_DLLPUBLIC EventPoster
{
- ImplSVEvent * m_nId;
- Link<> m_aLink;
+ ImplSVEvent * m_nId;
+ Link<LinkParamNone*,void> m_aLink;
DECL_DLLPRIVATE_LINK_TYPED( DoEvent_Impl, void*, void );
public:
- EventPoster( const Link<>& rLink );
+ EventPoster( const Link<LinkParamNone*,void>& rLink );
~EventPoster();
- void Post( UserEvent* pEvent );
+ void Post();
};
}