Skip to content
Browse files

[IOErrorEvent] Add (undocumented) constants

  • Loading branch information...
1 parent 06e7483 commit 5e88ff1f9c0f08482aaae9fcfb34711b73480149 @aajanki aajanki committed Feb 23, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/scripting/flash/events/flashevents.cpp
View
3 src/scripting/flash/events/flashevents.cpp
@@ -491,7 +491,10 @@ void IOErrorEvent::sinit(Class_base* c)
c->setConstructor(Class<IFunction>::getFunction(_constructor));
c->setSuper(Class<ErrorEvent>::getRef());
+ c->setVariableByQName("DISK_ERROR","",Class<ASString>::getInstanceS("diskError"),DECLARED_TRAIT);
c->setVariableByQName("IO_ERROR","",Class<ASString>::getInstanceS("ioError"),DECLARED_TRAIT);
+ c->setVariableByQName("NETWORK_ERROR","",Class<ASString>::getInstanceS("networkError"),DECLARED_TRAIT);
+ c->setVariableByQName("VERIFY_ERROR","",Class<ASString>::getInstanceS("verifyError"),DECLARED_TRAIT);
}
EventDispatcher::EventDispatcher(Class_base* c):ASObject(c)

0 comments on commit 5e88ff1

Please sign in to comment.
Something went wrong with that request. Please try again.