Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add flash.printing class stubs

  • Loading branch information...
commit ab158d64af8cabafec0c60bafffef3a5021e7d53 1 parent b2b1c48
@aajanki aajanki authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/scripting/abc.cpp
View
5 src/scripting/abc.cpp
@@ -423,6 +423,11 @@ void ABCVm::registerClasses()
builtin->registerBuiltin("ScriptTimeoutError","flash.errors",Class<ScriptTimeoutError>::getRef());
builtin->registerBuiltin("StackOverflowError","flash.errors",Class<StackOverflowError>::getRef());
+ builtin->registerBuiltin("PrintJob","flash.printing",
+ Class<ASObject>::getStubClass(QName("PrintJob","flash.printing"), Class<EventDispatcher>::getRef()));
+ builtin->registerBuiltin("PrintJobOptions","flash.printing",Class<ASObject>::getStubClass(QName("PrintJobOptions","flash.printing")));
+ builtin->registerBuiltin("PrintJobOrientation","flash.printing",Class<ASObject>::getStubClass(QName("PrintJobOrientation","flash.printing")));
+
builtin->registerBuiltin("isNaN","",_MR(Class<IFunction>::getFunction(isNaN)));
builtin->registerBuiltin("isFinite","",_MR(Class<IFunction>::getFunction(isFinite)));
builtin->registerBuiltin("isXMLName","",_MR(Class<IFunction>::getFunction(_isXMLName)));
Please sign in to comment.
Something went wrong with that request. Please try again.