Exemplo n.º 1
0
// extern (used by Global.cpp)
void
textlinemetrics_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, textlinemetrics_ctor,
            attachTextLineMetricsInterface, 
            attachTextLineMetricsStaticInterface, uri);
}
// extern (used by Global.cpp)
void
accessibilityproperties_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, accessibilityproperties_ctor,
            attachAccessibilityPropertiesInterface,
            attachAccessibilityPropertiesStaticInterface, uri);
}
Exemplo n.º 3
0
// extern (used by Global.cpp)
void
scripttimeouterror_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, scripttimeouterror_ctor,
            attachScriptTimeoutErrorInterface,
            attachScriptTimeoutErrorStaticInterface, uri);
}
Exemplo n.º 4
0
// extern (used by Global.cpp)
void
invalidswferror_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, invalidswferror_ctor,
            attachInvalidSWFErrorInterface,
            attachInvalidSWFErrorStaticInterface, uri);
}
Exemplo n.º 5
0
// extern (used by Global.cpp)
void
illegaloperationerror_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, illegaloperationerror_ctor,
            attachIllegalOperationErrorInterface,
            attachIllegalOperationErrorStaticInterface, uri);
}
Exemplo n.º 6
0
// extern (used by Global.cpp)
void
ibitmapdrawable_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, ibitmapdrawable_ctor,
            attachIBitmapDrawableInterface, 
            attachIBitmapDrawableStaticInterface, uri);
}
Exemplo n.º 7
0
// extern 
void
filereference_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, filereference_ctor,
            attachFileReferenceInterface, 
            attachFileReferenceStaticInterface, uri);
}
Exemplo n.º 8
0
// extern (used by Global.cpp)
void
keyboardevent_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, keyboardevent_ctor,
            attachKeyboardEventInterface,
            attachKeyboardEventStaticInterface, uri);
}
Exemplo n.º 9
0
// extern (used by Global.cpp)
void
progressevent_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, progressevent_ctor,
                         attachProgressEventInterface,
                         attachProgressEventStaticInterface, uri);
}
Exemplo n.º 10
0
void
AsBroadcaster::init(as_object& where, const ObjectURI& uri)
{
    // AsBroadcaster is a class, even though it doesn't look much like one.
    // Its prototype has no properties.
    registerBuiltinClass(where, asbroadcaster_ctor, 0,
            attachAsBroadcasterStaticInterface, uri);
}
Exemplo n.º 11
0
// extern (used by Global.cpp)
void
color_class_init(as_object& where, const ObjectURI& uri)
{
    as_object* cl = registerBuiltinClass(where, color_ctor,
            attachColorInterface, 0, uri);

    as_object* proto = toObject(
        getMember(*cl, NSV::PROP_PROTOTYPE), getVM(where));

    if (!proto) return;

    const int protect = as_object::DefaultFlags | PropFlags::readOnly;
    proto->set_member_flags(NSV::PROP_uuPROTOuu, protect); 
    proto->set_member_flags(NSV::PROP_CONSTRUCTOR, protect); 

}
Exemplo n.º 12
0
// extern (used by Global.cpp)
void
netconnection_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, netconnection_new,
            attachNetConnectionInterface, 0, uri);
}
Exemplo n.º 13
0
void
localconnection_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, localconnection_new,
            attachLocalConnectionInterface, 0, uri);
}
Exemplo n.º 14
0
// extern (used by Global.cpp)
void
printjoboptions_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, printjoboptions_ctor, attachPrintJobOptionsInterface, 
        attachPrintJobOptionsStaticInterface, uri);
}
Exemplo n.º 15
0
// extern (used by Global.cpp)
void
activityevent_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, activityevent_ctor, attachActivityEventInterface, 
        attachActivityEventStaticInterface, uri);
}
Exemplo n.º 16
0
// extern (used by Global.cpp)
void
contextmenu_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, contextmenu_ctor, attachContextMenuInterface,
            0, uri);
}
Exemplo n.º 17
0
// extern (used by Global.cpp)
void
soundloadercontext_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, soundloadercontext_ctor, attachSoundLoaderContextInterface, 
        attachSoundLoaderContextStaticInterface, uri);
}
Exemplo n.º 18
0
// extern (used by Global.cpp)
void
eventphase_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, eventphase_ctor, attachEventPhaseInterface, 
        attachEventPhaseStaticInterface, uri);
}
Exemplo n.º 19
0
// extern (used by Global.cpp)
void
microphone_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, microphone_ctor, attachMicrophoneInterface,
                         attachMicrophoneStaticInterface, uri);
}
Exemplo n.º 20
0
// extern (used by Global.cpp)
void
shape_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, shape_ctor, attachShapeInterface, 
        attachShapeStaticInterface, uri);
}
Exemplo n.º 21
0
// extern (used by Global.cpp)
void
timerevent_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, timerevent_ctor, attachTimerEventInterface,
            attachTimerEventStaticInterface, uri);
}
Exemplo n.º 22
0
// extern (used by Global.cpp)
void
urlrequestheader_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, urlrequestheader_ctor, attachURLRequestHeaderInterface, 
        attachURLRequestHeaderStaticInterface, uri);
}
Exemplo n.º 23
0
// extern (used by Global.cpp)
void
asyncerrorevent_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, asyncerrorevent_ctor, attachAsyncErrorEventInterface, 
        attachAsyncErrorEventStaticInterface, uri);
}
Exemplo n.º 24
0
// extern (used by Global.cpp)
void
avm1movie_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, avm1movie_ctor, attachAVM1MovieInterface, 
        attachAVM1MovieStaticInterface, uri);
}
Exemplo n.º 25
0
// extern (used by Global.cpp)
void
clipboard_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, clipboard_ctor, attachClipboardInterface,
            attachClipboardInterface, uri);
}
Exemplo n.º 26
0
// extern 
void
textrenderer_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, textrenderer_ctor, 0,
            attachTextRendererStaticProperties, uri);
}
Exemplo n.º 27
0
// extern (used by Global.cpp)
void
loadvars_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, loadvars_ctor, attachLoadVarsInterface, 0, uri);
}
Exemplo n.º 28
0
// extern (used by Global.cpp)
void
xmlsocket_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, xmlsocket_new, attachXMLSocketInterface,
            0, uri);
}
Exemplo n.º 29
0
void
urlstream_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, urlstream_ctor, attachURLStreamInterface, 
        attachURLStreamStaticInterface, uri);
}
Exemplo n.º 30
0
// extern (used by Global.cpp)
void
newobjectsample_class_init(as_object& where, const ObjectURI& uri)
{
    registerBuiltinClass(where, newobjectsample_ctor, attachNewObjectSampleInterface, 
        attachNewObjectSampleStaticInterface, uri);
}