winemac: Add discardEventsPassingTest to WineEventQueue's interface.

This is called from the status item implementation.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2021-03-08 10:42:02 +00:00 committed by Alexandre Julliard
parent 9ea3450301
commit 7a68ae5951
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ @interface WineEventQueue : NSObject
- (void) postEvent:(macdrv_event*)inEvent;
- (void) discardEventsMatchingMask:(macdrv_event_mask)mask forWindow:(NSWindow*)window;
- (void) discardEventsPassingTest:(BOOL (^)(macdrv_event* event))block;
- (BOOL) query:(macdrv_query*)query timeout:(NSTimeInterval)timeout flags:(NSUInteger)flags;
- (BOOL) query:(macdrv_query*)query timeout:(NSTimeInterval)timeout;