PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/titanium/mobile/core/Dispatcher.hx

http://github.com/visup/haxe-titanium-api
Haxe | 15 lines | 12 code | 2 blank | 1 comment | 0 complexity | c41d4811285919d6aa31658b002dde57 MD5 | raw file
 1package titanium.mobile.core;
 2
 3typedef Event =
 4{
 5	type:String,
 6	source:Dynamic
 7}
 8
 9extern class Dispatcher 
10{
11	// methods
12	public function addEventListener(name:String, eventListener:Dynamic->Void):Void;
13	public function fireEvent(name:String, event:Dynamic):Void;
14	public function removeEventListener(name:String, eventListener:Dynamic->Void):Void;
15}