1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-09 01:10:10 +00:00
CLK/OSBindings/Mac/Clock Signal/CSApplication.m

21 lines
428 B
Objective-C

//
// Application.m
// Clock Signal
//
// Created by Thomas Harte on 21/09/2019.
// Copyright © 2019 Thomas Harte. All rights reserved.
//
#import "CSApplication.h"
@implementation CSApplication
- (void)sendEvent:(NSEvent *)event {
// Send the event unless an event delegate says otherwise.
if(!self.eventDelegate || [self.eventDelegate application:self shouldSendEvent:event]) {
[super sendEvent:event];
}
}
@end