Exemplo n.º 1
0
 NamespaceClass::NamespaceClass(VTable* cvtable)
     : ClassClosure(cvtable)
 {
     toplevel()->_namespaceClass = this;
     AvmAssert(traits()->getSizeOfInstance() == sizeof(NamespaceClass));
     createVanillaPrototype();
 }
Exemplo 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...
};
Exemplo n.º 3
0
 Float4Class::Float4Class(VTable* cvtable)
 : ClassClosure(cvtable)
 {
     toplevel()->_float4Class = this;
     // prototype objects are always vanilla objects.
     createVanillaPrototype();
 }
Exemplo 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;
};
Exemplo 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...
};
Exemplo n.º 6
0
	SystemClass::SystemClass(VTable *cvtable)
		: ClassClosure(cvtable)
    {
//		AXTam* core = (AXTam*)this->core();
//		if (core->systemClass == NULL) {
//			core->systemClass = this;
//		}
		
		createVanillaPrototype();
	}
Exemplo 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();
}
Exemplo 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();
}
Exemplo 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();
	}
Exemplo 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();
    }
Exemplo 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()
	}
Exemplo n.º 12
0
 DictionaryClass::DictionaryClass(VTable *vtable)
 : ClassClosure(vtable)
 {
     createVanillaPrototype();
     vtable->traits->itraits->set_isDictionary();
 }
Exemplo n.º 13
0
ScreenMouseEventClass::ScreenMouseEventClass(VTable* cvtable):ClassClosure(cvtable)//MouseEventClass(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo n.º 14
0
ClipboardTransferModeClass::ClipboardTransferModeClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo 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...
};
Exemplo n.º 16
0
 CdirentClass::CdirentClass(VTable *vtable)
     : ClassClosure(vtable)
 {
     createVanillaPrototype();
 }
Exemplo n.º 17
0
	RemoteNotificationEventClass::RemoteNotificationEventClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable)
	{
		createVanillaPrototype();
		//Add your construct code here...
	};
Exemplo n.º 18
0
StageVideoEventClass::StageVideoEventClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo 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...
};
Exemplo n.º 20
0
 XMLListClass::XMLListClass(VTable* cvtable)
     : ClassClosure(cvtable)
 {
     AvmAssert(traits()->getSizeOfInstance() == sizeof(XMLListClass));
     createVanillaPrototype();
 }
Exemplo n.º 21
0
LocaleIDClass::LocaleIDClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo n.º 22
0
NativeWindowClass::NativeWindowClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo n.º 23
0
ServerSocketClass::ServerSocketClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo n.º 24
0
TextLineCreationResultClass::TextLineCreationResultClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo n.º 25
0
StageWebViewClass::StageWebViewClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo n.º 26
0
FileClass::FileClass(VTable *cvtable)
    : ClassClosure(cvtable)
{
    createVanillaPrototype();
}
Exemplo n.º 27
0
	SoftKeyboardTypeClass::SoftKeyboardTypeClass(VTable* cvtable):ClassClosure(cvtable)//EventClass(cvtable)
	{
		createVanillaPrototype();
		//Add your construct code here...
	};
Exemplo n.º 28
0
HTMLWindowCreateOptionsClass::HTMLWindowCreateOptionsClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};
Exemplo n.º 29
0
	WeiXinShareSessionClass::WeiXinShareSessionClass(VTable *vtable):ClassClosure( vtable )
	{
		createVanillaPrototype();
	}
Exemplo n.º 30
0
DateTimeNameContextClass::DateTimeNameContextClass(VTable* cvtable):ClassClosure(cvtable)
{
	createVanillaPrototype();
	//Add your construct code here...
};