summaryrefslogtreecommitdiffstats
blob: 4f72c29e34c16fd6d4426df412137df90dc9d644 (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
/*
 * Copyright (c) 2015 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