summaryrefslogtreecommitdiffstats
blob: 8615b48840543f3cf7e2a6567692a9f4e7c98cad (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