|
Gnash
0.8.10
|
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. | |
| typedef std::map< SWF::TagType, TagLoader > | Loaders |
Public Member Functions | |
| TagLoadersTable () | |
| Construct an empty TagLoadersTable. | |
| TagLoadersTable (const Loaders &loaders) | |
| Construct a TagLoadersTable by copying another table. | |
| ~TagLoadersTable () | |
| bool | get (TagType t, TagLoader &lf) const |
| Get the TagLoader for a specified TagType. | |
| bool | registerLoader (TagType t, TagLoader lf) |
| Register a loader for the specified SWF::TagType. | |
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) |
| gnash::SWF::TagLoadersTable::TagLoadersTable | ( | ) | [inline] |
Construct an empty TagLoadersTable.
| gnash::SWF::TagLoadersTable::TagLoadersTable | ( | const Loaders & | loaders | ) | [inline] |
Construct a TagLoadersTable by copying another table.
| gnash::SWF::TagLoadersTable::~TagLoadersTable | ( | ) | [inline] |
| 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.
References assert.
1.7.6.1