Esempio n. 1
0
 NamespaceClass::NamespaceClass(VTable* cvtable)
     : ClassClosure(cvtable)
 {
     toplevel()->_namespaceClass = this;
     AvmAssert(traits()->getSizeOfInstance() == sizeof(NamespaceClass));
     createVanillaPrototype();
 }
Esempio n. 2
0
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...
};
Esempio n. 3
0
 Float4Class::Float4Class(VTable* cvtable)
 : ClassClosure(cvtable)
 {
     toplevel()->_float4Class = this;
     // prototype objects are always vanilla objects.
     createVanillaPrototype();
 }
Esempio n. 4
0
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;
};
Esempio n. 5
0
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...
};
Esempio n. 6
0
	SystemClass::SystemClass(VTable *cvtable)
		: ClassClosure(cvtable)
    {
//		AXTam* core = (AXTam*)this->core();
//		if (core->systemClass == NULL) {
//			core->systemClass = this;
//		}
		
		createVanillaPrototype();
	}
Esempio n. 7
0
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();
}
Esempio n. 8
0
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();
}
Esempio n. 9
0
	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();
	}
Esempio n. 10
0
    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();
    }
Esempio n. 11
0
	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()
	}
Esempio n. 12
0
 DictionaryClass::DictionaryClass(VTable *vtable)
 : ClassClosure(vtable)
 {
     createVanillaPrototype();
     vtable->traits->itraits->set_isDictionary();
 }
Esempio n. 13
0
ScreenMouseEventClass::ScreenMouseEventClass(VTable* cvtable):ClassClosure(cvtable)//MouseEventClass(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Esempio n. 14
0
ClipboardTransferModeClass::ClipboardTransferModeClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Esempio n. 15
0
StageDisplayStateClass::StageDisplayStateClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//prototype = new (core()->GetGC(), cvtable->getExtraSize())StageDisplayStateObject(cvtable, toplevel()->objectClass->prototype, 0);
	//Add your construct code here...
};
Esempio n. 16
0
 CdirentClass::CdirentClass(VTable *vtable)
     : ClassClosure(vtable)
 {
     createVanillaPrototype();
 }
	RemoteNotificationEventClass::RemoteNotificationEventClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable)
	{
		createVanillaPrototype();
		//Add your construct code here...
	};
Esempio n. 18
0
StageVideoEventClass::StageVideoEventClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Esempio n. 19
0
TextFormatAlignClass::TextFormatAlignClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//prototype = new (core()->GetGC(), cvtable->getExtraSize())TextFormatAlignObject(cvtable, toplevel()->objectClass->prototype, 0);
	//Add your construct code here...
};
Esempio n. 20
0
 XMLListClass::XMLListClass(VTable* cvtable)
     : ClassClosure(cvtable)
 {
     AvmAssert(traits()->getSizeOfInstance() == sizeof(XMLListClass));
     createVanillaPrototype();
 }
Esempio n. 21
0
LocaleIDClass::LocaleIDClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Esempio n. 22
0
NativeWindowClass::NativeWindowClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Esempio n. 23
0
ServerSocketClass::ServerSocketClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
TextLineCreationResultClass::TextLineCreationResultClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Esempio n. 25
0
StageWebViewClass::StageWebViewClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Esempio n. 26
0
FileClass::FileClass(VTable *cvtable)
    : ClassClosure(cvtable)
{
    createVanillaPrototype();
}
Esempio n. 27
0
	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...
};
Esempio n. 29
0
	WeiXinShareSessionClass::WeiXinShareSessionClass(VTable *vtable):ClassClosure( vtable )
	{
		createVanillaPrototype();
	}
Esempio n. 30
0
DateTimeNameContextClass::DateTimeNameContextClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};