Register all of the ActionScript classes, with their dependencies. More...
#include <ClassHierarchy.h>
Classes | |
| struct | ExtensionClass |
| struct | NativeClass |
Public Types | |
| typedef std::vector< NativeClass > | NativeClasses |
Public Member Functions | |
| ClassHierarchy (as_object *global, Extension *e) | |
| ~ClassHierarchy () | |
| Delete our private namespaces. | |
| bool | declareClass (ExtensionClass &c) |
| bool | declareClass (const NativeClass &c) |
| void | declareAll (const NativeClasses &classes) |
| Declare a list of native classes. | |
| void | markReachableResources () const |
| Mark objects for garbage collector. | |
Register all of the ActionScript classes, with their dependencies.
| typedef std::vector<NativeClass> gnash::ClassHierarchy::NativeClasses |
Construct the declaration object. Later set the global and extension objects using setGlobal and setExtension
| gnash::ClassHierarchy::~ClassHierarchy | ( | ) |
Delete our private namespaces.
| void gnash::ClassHierarchy::declareAll | ( | const NativeClasses & | classes | ) |
Declare a list of native classes.
Referenced by gnash::AVM1Global::registerClasses().
| bool gnash::ClassHierarchy::declareClass | ( | const NativeClass & | c | ) |
Declare an ActionScript class and how to instantiate it from the core.
| c | The NativeClass structure which defines the class. |
| bool gnash::ClassHierarchy::declareClass | ( | ExtensionClass & | c | ) |
Declare an ActionScript class, with information on how to load it.
| c | The ExtensionClass structure which defines the class. |
| void gnash::ClassHierarchy::markReachableResources | ( | ) | const |
Mark objects for garbage collector.
Referenced by gnash::AVM1Global::markReachableResources().
1.7.1