mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
Merge pull request #348 from ptarabbia/develop
add hasDelegates() method to AbstractEvent
This commit is contained in:
commit
c033ee18d6
@ -223,6 +223,10 @@ public:
|
||||
strategy.notify(pSender, args);
|
||||
}
|
||||
|
||||
bool hasDelegates() const {
|
||||
return !(_strategy.empty());
|
||||
}
|
||||
|
||||
ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args)
|
||||
/// Sends a notification to all registered delegates. The order is
|
||||
/// determined by the TStrategy. This method is not blocking and will
|
||||
|
Loading…
x
Reference in New Issue
Block a user