Go to the documentation of this file.
19 #ifndef GNASH_SWF_TAGLOADERSTABLE_H
20 #define GNASH_SWF_TAGLOADERSTABLE_H
25 #include <boost/noncopyable.hpp>
30 class movie_definition;
51 typedef std::map<SWF::TagType, TagLoader>
Loaders;
59 _loaders(std::move(loaders))
88 #endif // GNASH_SWF_TAGLOADERSTABLE_H
void(* TagLoader)(SWFStream &input, TagType type, movie_definition &m, const RunResources &r)
Signature of an SWF tag loader.
Definition: TagLoadersTable.h:48
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
TagLoadersTable(Loaders loaders)
Construct a TagLoadersTable by copying another table.
Definition: TagLoadersTable.h:57
TagLoadersTable()
Construct an empty TagLoadersTable.
Definition: TagLoadersTable.h:54
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
~TagLoadersTable()
Definition: TagLoadersTable.h:62
@ m
Definition: GnashKey.h:159
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:96
@ t
Definition: GnashKey.h:166
@ r
Definition: GnashKey.h:164
type
Definition: GnashKey.h:330
std::map< SWF::TagType, TagLoader > Loaders
Definition: TagLoadersTable.h:51
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
bool get(TagType t, TagLoader &lf) const
Get the TagLoader for a specified TagType.
Definition: TagLoadersTable.cpp:29
Table of SWF tags loaders.
Definition: TagLoadersTable.h:39
SWF stream wrapper class.
Definition: SWFStream.h:59
@ SWF
Definition: GnashKey.h:331
bool registerLoader(TagType t, TagLoader lf)
Register a loader for the specified SWF::TagType.
Definition: TagLoadersTable.cpp:42