|
Gnash
0.8.11dev
|
Table of SWF tags loaders. More...
#include <TagLoadersTable.h>
Public Types | |
| typedef void(* | TagLoader) (SWFStream &input, TagType type, movie_definition &m, const RunResources &r) |
| Signature of an SWF tag loader. More... | |
| typedef std::map< SWF::TagType, TagLoader > | Loaders |
Public Member Functions | |
| TagLoadersTable () | |
| Construct an empty TagLoadersTable. More... | |
| TagLoadersTable (Loaders loaders) | |
| Construct a TagLoadersTable by copying another table. More... | |
| ~TagLoadersTable () | |
| bool | get (TagType t, TagLoader &lf) const |
| Get the TagLoader for a specified TagType. More... | |
| bool | registerLoader (TagType t, TagLoader lf) |
| Register a loader for the specified SWF::TagType. More... | |
Table of SWF tags loaders.
| typedef std::map<SWF::TagType, TagLoader> gnash::SWF::TagLoadersTable::Loaders |
| typedef void(* gnash::SWF::TagLoadersTable::TagLoader) (SWFStream &input, TagType type, movie_definition &m, const RunResources &r) |
|
inline |
Construct an empty TagLoadersTable.
|
inline |
Construct a TagLoadersTable by copying another table.
|
inline |
References registerLoader(), and gnash::key::t.
| bool gnash::SWF::TagLoadersTable::get | ( | SWF::TagType | t, |
| TagLoader & | lf | ||
| ) | const |
Get the TagLoader for a specified TagType.
Referenced by gnash::SWFParser::read().
| bool gnash::SWF::TagLoadersTable::registerLoader | ( | SWF::TagType | t, |
| TagLoader | lf | ||
| ) |
Register a loader for the specified SWF::TagType.
This is part of an API for allowing external applications to register custom tags, and is not used by Gnash itself.
Referenced by ~TagLoadersTable().
1.8.11