NamespaceClass::NamespaceClass(VTable* cvtable) : ClassClosure(cvtable) { toplevel()->_namespaceClass = this; AvmAssert(traits()->getSizeOfInstance() == sizeof(NamespaceClass)); createVanillaPrototype(); }
SecurityClass::SecurityClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); m_bExactSetting=true; //prototype = new (core()->GetGC(), cvtable->getExtraSize())SecurityObject(cvtable, toplevel()->objectClass->prototype, 0); //Add your construct code here... };
Float4Class::Float4Class(VTable* cvtable) : ClassClosure(cvtable) { toplevel()->_float4Class = this; // prototype objects are always vanilla objects. createVanillaPrototype(); }
SoundMixerClass::SoundMixerClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //prototype = new (core()->GetGC(), cvtable->getExtraSize())SoundMixerObject(cvtable, toplevel()->objectClass->prototype, 0); //Add your construct code here... m_strAudioPlaybackMode = NULL;//((ShellToplevel*)toplevel())->getAudioPlaybackModeClass()->getSlotMEDIA(); m_bUseSpeakerphoneForVoice = false; };
CapabilitiesClass::CapabilitiesClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); InitDatas(); MakeString(); //prototype = new (core()->GetGC(), cvtable->getExtraSize())CapabilitiesObject(cvtable, toplevel()->objectClass->prototype, 0); //Add your construct code here... };
SystemClass::SystemClass(VTable *cvtable) : ClassClosure(cvtable) { // AXTam* core = (AXTam*)this->core(); // if (core->systemClass == NULL) { // core->systemClass = this; // } createVanillaPrototype(); }
MSIDispatchConsumerClass::MSIDispatchConsumerClass(VTable *cvtable) : ClassClosure(cvtable) { AXTam* core = (AXTam*)this->core(); // should only be initialized once - but see above if (!core->dispatchClass) core->dispatchClass= this; createVanillaPrototype(); }
MSIUnknownConsumerClass::MSIUnknownConsumerClass(VTable *cvtable) : ClassClosure(cvtable) { AXTam* core = (AXTam*)this->core(); // should only be initialized once, but is currently done each time // we init builtins for a new domainenv. if (!core->unknownClass) core->unknownClass = this; createVanillaPrototype(); }
QNameClass::QNameClass(VTable* cvtable) : ClassClosure(cvtable) { AvmAssert(traits()->getSizeOfInstance() == sizeof(QNameClass)); createVanillaPrototype(); AvmCore* core = this->core(); kUri = core->internConstantStringLatin1("uri")->atom(); kLocalName = core->internConstantStringLatin1("localName")->atom(); }
ProgramClass::ProgramClass(VTable *cvtable) : ClassClosure(cvtable) { ShellCore* core = (ShellCore*)this->core(); if (core->programClass == NULL) { core->programClass = this; } createVanillaPrototype(); // initialTime: support for getTimer // todo note this is currently routed to the performance counter // for benchmark purposes. initialPerfTime = VMPI_getPerformanceCounter(); initialTime = VMPI_getTime(); }
XMLClass::XMLClass(VTable* cvtable) : ClassClosure(cvtable) { AvmAssert(traits()->getSizeOfInstance() == sizeof(XMLClass)); AvmCore* core = this->core(); createVanillaPrototype(); // These are static objects on the XML type // E4X: The XML constructor has the following properties // XML.ignoreComments // XML.ignoreProcessingInstructions // XML.ignoreWhitespace // XML.prettyPrinting // XML.prettyIndent m_flags = kFlagIgnoreComments | kFlagIgnoreProcessingInstructions | kFlagIgnoreWhitespace | kFlagPrettyPrinting; m_prettyIndent = 2; kAttribute = core->internConstantStringLatin1("attribute"); kComment = core->internConstantStringLatin1("comment"); kProcessingInstruction = core->internConstantStringLatin1("processing-instruction"); kElement = core->internConstantStringLatin1("element"); kText = core->internConstantStringLatin1("text"); kColon = core->internConstantStringLatin1(":"); kXml = core->internConstantStringLatin1("xml"); // for notifications kAttrAdded = core->internConstantStringLatin1("attributeAdded"); kAttrRemoved = core->internConstantStringLatin1("attributeRemoved"); kAttrChanged = core->internConstantStringLatin1("attributeChanged"); kNodeAdded = core->internConstantStringLatin1("nodeAdded"); kNodeRemoved = core->internConstantStringLatin1("nodeRemoved"); kNodeChanged = core->internConstantStringLatin1("nodeChanged"); kNamespaceAdded = core->internConstantStringLatin1("namespaceAdded"); kNamespaceRemoved = core->internConstantStringLatin1("namespaceRemoved"); kNamespaceSet = core->internConstantStringLatin1("namespaceSet"); kNameSet = core->internConstantStringLatin1("nameSet"); kTextSet = core->internConstantStringLatin1("textSet"); toplevel()->_builtinClasses[avmplus::NativeID::abcclass_XML]=this; // XML.settings // XML.setSettings ([settings]) // XML.defaultSettings() }
DictionaryClass::DictionaryClass(VTable *vtable) : ClassClosure(vtable) { createVanillaPrototype(); vtable->traits->itraits->set_isDictionary(); }
ScreenMouseEventClass::ScreenMouseEventClass(VTable* cvtable):ClassClosure(cvtable)//MouseEventClass(cvtable) { createVanillaPrototype(); //Add your construct code here... };
ClipboardTransferModeClass::ClipboardTransferModeClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };
StageDisplayStateClass::StageDisplayStateClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //prototype = new (core()->GetGC(), cvtable->getExtraSize())StageDisplayStateObject(cvtable, toplevel()->objectClass->prototype, 0); //Add your construct code here... };
CdirentClass::CdirentClass(VTable *vtable) : ClassClosure(vtable) { createVanillaPrototype(); }
RemoteNotificationEventClass::RemoteNotificationEventClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable) { createVanillaPrototype(); //Add your construct code here... };
StageVideoEventClass::StageVideoEventClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable) { createVanillaPrototype(); //Add your construct code here... };
TextFormatAlignClass::TextFormatAlignClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //prototype = new (core()->GetGC(), cvtable->getExtraSize())TextFormatAlignObject(cvtable, toplevel()->objectClass->prototype, 0); //Add your construct code here... };
XMLListClass::XMLListClass(VTable* cvtable) : ClassClosure(cvtable) { AvmAssert(traits()->getSizeOfInstance() == sizeof(XMLListClass)); createVanillaPrototype(); }
LocaleIDClass::LocaleIDClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };
NativeWindowClass::NativeWindowClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };
ServerSocketClass::ServerSocketClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };
TextLineCreationResultClass::TextLineCreationResultClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };
StageWebViewClass::StageWebViewClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };
FileClass::FileClass(VTable *cvtable) : ClassClosure(cvtable) { createVanillaPrototype(); }
SoftKeyboardTypeClass::SoftKeyboardTypeClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable) { createVanillaPrototype(); //Add your construct code here... };
HTMLWindowCreateOptionsClass::HTMLWindowCreateOptionsClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };
WeiXinShareSessionClass::WeiXinShareSessionClass(VTable *vtable):ClassClosure( vtable ) { createVanillaPrototype(); }
DateTimeNameContextClass::DateTimeNameContextClass(VTable* cvtable):ClassClosure(cvtable) { createVanillaPrototype(); //Add your construct code here... };