Replace @:fakeEnum with @:enum abstract

@:fakeEnum support will be removed in HaxeFoundation/haxe#8189
This commit is contained in:
Jens Fischer
2019-04-20 01:00:03 +02:00
committed by Joshua Granick
parent d01f84ffbf
commit af9367b199
34 changed files with 216 additions and 182 deletions

View File

@@ -1,8 +1,9 @@
package flash.notifications;
@:fakeEnum(String) extern enum NotificationStyle
@:native("flash.notifications.NotificationStyle")
@:enum extern abstract NotificationStyle(String)
{
ALERT;
BADGE;
SOUND;
var ALERT;
var BADGE;
var SOUND;
}