blob: fc9695b0fd618e73dcc1327ad4bccd90087ed21e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* Copyright (c) 2015-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <Swiften/EventLoop/Cocoa/CocoaEvent.h>
#include <Swiften/EventLoop/Cocoa/CocoaEventLoop.h>
@implementation CocoaEvent
- (id) init:(Swift::CocoaEventLoop*) el {
self = [super init];
if (self != nil) {
eventLoop = el;
}
return self;
}
- (void) process {
eventLoop->handleNextCocoaEvent();
}
- (void) dealloc {
[super dealloc];
}
@end
|