Gnash  0.8.11dev
Classes | Namespaces | Functions
Global_as.h File Reference
#include <string>
#include <memory>
#include "as_object.h"
#include "fn_call.h"
#include "log.h"
#include "ClassHierarchy.h"
#include "dsodefs.h"

Go to the source code of this file.

Classes

class  gnash::Global_as
 The Global object ultimately contains all objects in an ActionScript run. More...
 

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 

Functions

as_object * gnash::createObject (const Global_as &gl)
 
as_object * gnash::registerBuiltinObject (as_object &where, Global_as::Properties p, const ObjectURI &uri)
 Register a built-in object. More...
 
as_object * gnash::registerBuiltinClass (as_object &where, Global_as::ASFunction ctor, Global_as::Properties p, Global_as::Properties c, const ObjectURI &uri)
 Register a built-in class. More...
 
DSOEXPORT as_value gnash::invoke (const as_value &method, const as_environment &env, as_object *this_ptr, fn_call::Args &args, as_object *super=nullptr, const movie_definition *callerDef=nullptr)
 Call an as_value on an as_object. More...
 
as_value gnash::callMethod (fn_call::Args &args, as_object *obj, const ObjectURI &uri)
 Call a member function of this object in an AS-compatible way. More...
 
template<typename Param , typename... Params>
as_value gnash::callMethod (fn_call::Args &args, as_object *obj, const ObjectURI &uri, Param param, Params... params)
 
template<typename... Params>
as_value gnash::callMethod (as_object *obj, const ObjectURI &uri, Params... params)
 
as_function * gnash::getClassConstructor (const fn_call &fn, const std::string &s)
 Convenience function for finding a class constructor. More...
 
as_value gnash::emptyFunction (const fn_call &)