Gnash  0.8.11dev
DefaultTagLoaders.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 // Free Software Foundation, Inc
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 #ifndef GNASH_SWF_DEFAULTLOADERS_H
20 #define GNASH_SWF_DEFAULTLOADERS_H
21 
22 #include "dsodefs.h" //DSOEXPORT
23 
24 namespace gnash {
25  namespace SWF {
26  class TagLoadersTable;
27  }
28 }
29 
30 namespace gnash {
31 namespace SWF {
32 
34 DSOEXPORT void addDefaultLoaders(TagLoadersTable& table);
35 
36 } // namespace gnash::SWF
37 } // namespace gnash
38 
39 #endif
gnash::SWF::DEFINEEDITTEXT
@ DEFINEEDITTEXT
Definition: SWF.h:67
gnash::SWF::DefineBitsTag::loader
static void loader(SWFStream &, TagType, movie_definition &, const RunResources &)
Definition: DefineBitsTag.cpp:196
gnash::SWF::CSMTEXTSETTINGS
@ CSMTEXTSETTINGS
Definition: SWF.h:104
gnash::SWF::DOACTION
@ DOACTION
Definition: SWF.h:44
DoActionTag.h
gnash::SWF::DEFINETEXT
@ DEFINETEXT
Definition: SWF.h:43
gnash::SWF::DEFINEBUTTON
@ DEFINEBUTTON
Definition: SWF.h:39
VideoFrameTag.h
DoInitActionTag.h
gnash::SWF::SymbolClassTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: SymbolClassTag.h:54
gnash::SWF::ImportAssetsTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: ImportAssetsTag.h:45
tag_loaders.h
gnash::SWF::STARTSOUND
@ STARTSOUND
Definition: SWF.h:47
gnash::SWF::TagType
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
DoABCTag.h
gnash::SWF::DefineButton2Tag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load a DefineButton2 tag.
Definition: DefineButtonTag.cpp:93
DefineButtonSoundTag.h
gnash::SWF::IMPORTASSETS
@ IMPORTASSETS
Definition: SWF.h:87
gnash::SWF::DEFINEBEHAVIOR
@ DEFINEBEHAVIOR
Definition: SWF.h:74
gnash::SWF::DEFINESHAPE
@ DEFINESHAPE
Definition: SWF.h:34
gnash::SWF::StartSoundTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load a SWF::STARTSOUND tag.
Definition: StartSoundTag.cpp:39
dsodefs.h
gnash::SWF::CSMTextSettingsTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: CSMTextSettingsTag.cpp:40
DefineFontAlignZonesTag.h
gnash::SWF::STARTSOUND2
@ STARTSOUND2
Definition: SWF.h:115
DefineMorphShapeTag.h
gnash::SWF::FREECHARACTER
@ FREECHARACTER
Definition: SWF.h:35
gnash::SWF::DEFINEFONT2
@ DEFINEFONT2
Definition: SWF.h:78
ExportAssetsTag.h
gnash::SWF::ScriptLimitsTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: ScriptLimitsTag.h:51
TagLoadersTable.h
DefineFontTag.h
gnash::SWF::ENABLEDEBUGGER2
@ ENABLEDEBUGGER2
Definition: SWF.h:94
gnash::SWF::JPEGTABLES
@ JPEGTABLES
Definition: SWF.h:40
_
#define _(String)
Definition: log.h:44
gnash::SWF::VideoFrameTag::loader
static void loader(SWFStream &in, SWF::TagType tag, movie_definition &m, const RunResources &r)
Read tag SWF::VIDEOFRAME.
Definition: VideoFrameTag.cpp:35
gnash::SWF::DEFINETEXTFORMAT
@ DEFINETEXTFORMAT
Definition: SWF.h:72
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
gnash::SWF::SCRIPTLIMITS
@ SCRIPTLIMITS
Definition: SWF.h:95
gnash::SWF::DEFINEVIDEO
@ DEFINEVIDEO
Definition: SWF.h:68
DefaultTagLoaders.h
gnash::SWF::DEFINESCALINGGRID
@ DEFINESCALINGGRID
Definition: SWF.h:108
gnash::SWF::define_sound_loader
void define_sound_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Sample rate table for DEFINESOUNDHEAD tags.
Definition: tag_loaders.cpp:151
gnash::SWF::DEFINELOSSLESS2
@ DEFINELOSSLESS2
Definition: SWF.h:66
gnash::SWF::DEFINESOUND
@ DEFINESOUND
Definition: SWF.h:46
gnash::SWF::STOPSOUND
@ STOPSOUND
Definition: SWF.h:48
gnash::SWF::FRAMELABEL
@ FRAMELABEL
Definition: SWF.h:73
gnash::SWF::DEFINEBITSJPEG4
@ DEFINEBITSJPEG4
Definition: SWF.h:116
gnash::SWF::DEFINEFUNCTION
@ DEFINEFUNCTION
Definition: SWF.h:83
gnash::SWF::DEFINEMORPHSHAPE2
@ DEFINEMORPHSHAPE2
Definition: SWF.h:111
gnash::SWF::DefineScalingGridTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineScalingGridTag.cpp:35
gnash::SWF::ENABLEDEBUGGER
@ ENABLEDEBUGGER
Definition: SWF.h:88
gnash::SWF::DEFINEFONTNAME
@ DEFINEFONTNAME
Definition: SWF.h:114
gnash::SWF::PLACEOBJECT2
@ PLACEOBJECT2
Definition: SWF.h:58
gnash::SWF::FRAMETAG
@ FRAMETAG
Definition: SWF.h:77
SymbolClassTag.h
gnash::SWF::reflex_loader
void reflex_loader(SWFStream &in, TagType tag, movie_definition &, const RunResources &)
SWF Tags Reflex (777)
Definition: tag_loaders.cpp:378
gnash::SWF::DEFINEBUTTONSOUND
@ DEFINEBUTTONSOUND
Definition: SWF.h:49
gnash::SWF::DefineText2Tag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineTextTag.cpp:83
PlaceObject2Tag.h
StreamSoundBlockTag.h
gnash::SWF::ExportAssetsTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: ExportAssetsTag.h:43
gnash::SWF::SERIALNUMBER
@ SERIALNUMBER
Definition: SWF.h:71
gnash::SWF::DefineFontAlignZonesTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineFontAlignZonesTag.cpp:40
gnash::SWF::DefineFontTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load a DefineFont tag.
Definition: DefineFontTag.cpp:41
gnash::SWF::DEBUGID
@ DEBUGID
Definition: SWF.h:93
gnash::SWF::PLACEOBJECT
@ PLACEOBJECT
Definition: SWF.h:36
gnash::SWF::SYNCFRAME
@ SYNCFRAME
Definition: SWF.h:60
gnash::SWF::DEFINETEXT2
@ DEFINETEXT2
Definition: SWF.h:63
DefineEditTextTag.h
gnash::SWF::DEFINECOMMANDOBJ
@ DEFINECOMMANDOBJ
Definition: SWF.h:80
gnash::renderer::opengl::for_each
void for_each(C &container, R(T::*pmf)(const A &), const A &arg)
Definition: Renderer_ogl.cpp:690
gnash::SWF::DefineButtonTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load a DefineButtonTag.
Definition: DefineButtonTag.cpp:76
DefineButtonTag.h
gnash::SWF::DEFINESCENEANDFRAMELABELDATA
@ DEFINESCENEANDFRAMELABELDATA
Definition: SWF.h:112
gnash::SWF::DoActionTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DoActionTag.h:54
gnash::SWF::DEFINEMORPHSHAPE
@ DEFINEMORPHSHAPE
Definition: SWF.h:76
gnash::SWF::GENTAGOBJECT
@ GENTAGOBJECT
Definition: SWF.h:85
gnash::SWF::EXPORTASSETS
@ EXPORTASSETS
Definition: SWF.h:86
gnash::SWF::frame_label_loader
void frame_label_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Label the current frame (SWF::FRAMELABEL)
Definition: tag_loaders.cpp:58
ImportAssetsTag.h
gnash::SWF::DEFINEBUTTON2
@ DEFINEBUTTON2
Definition: SWF.h:64
gnash::SWF::DefineShapeTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineShapeTag.cpp:45
gnash::SWF::DOABC
@ DOABC
Definition: SWF.h:102
gnash::SWF::DefineVideoStreamTag::loader
static void loader(SWFStream &in, SWF::TagType tag, movie_definition &m, const RunResources &r)
Read tag SWF::DEFINEVIDEOSTREAM.
Definition: DefineVideoStreamTag.cpp:54
gnash::SWF::DefineFontInfoTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load a DefineFontInfo tag.
Definition: DefineFontTag.cpp:332
gnash::SWF::DEFINESHAPE2
@ DEFINESHAPE2
Definition: SWF.h:54
gnash::SWF::SOUNDSTREAMHEAD2
@ SOUNDSTREAMHEAD2
Definition: SWF.h:75
gnash::SWF::DEFINESHAPE4_
@ DEFINESHAPE4_
Definition: SWF.h:97
gnash::SWF::DEFINEFONTINFO
@ DEFINEFONTINFO
Definition: SWF.h:45
gnash::SWF::DefineFontNameTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DefineFontNameTag.h:42
gnash::SWF::NAMECHARACTER
@ NAMECHARACTER
Definition: SWF.h:70
gnash::key::p
@ p
Definition: GnashKey.h:162
gnash::SWF::METADATA
@ METADATA
Definition: SWF.h:107
gnash::SWF::StartSound2Tag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load a SWF::STARTSOUND2 tag.
Definition: StartSoundTag.cpp:110
gnash::SWF::SOUNDSTREAMHEAD
@ SOUNDSTREAMHEAD
Definition: SWF.h:50
gnash::SWF::IMPORTASSETS2
@ IMPORTASSETS2
Definition: SWF.h:101
gnash::SWF::DEFINEFONTINFO2
@ DEFINEFONTINFO2
Definition: SWF.h:92
gnash::SWF::PLACEFUNCTION
@ PLACEFUNCTION
Definition: SWF.h:84
DefineButtonCxformTag.h
gnash::SWF::FILEATTRIBUTES
@ FILEATTRIBUTES
Definition: SWF.h:99
gnash::SWF::DEFINELOSSLESS
@ DEFINELOSSLESS
Definition: SWF.h:52
gnash::SWF::DefineButtonCxformTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DefineButtonCxformTag.cpp:32
DefineShapeTag.h
gnash::SWF::SYMBOLCLASS
@ SYMBOLCLASS
Definition: SWF.h:106
gnash::SWF::DEFINESPRITE
@ DEFINESPRITE
Definition: SWF.h:69
gnash::SWF::DEFINEFONT3
@ DEFINEFONT3
Definition: SWF.h:105
SoundStreamHeadTag.h
gnash::SWF::PlaceObject2Tag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: PlaceObject2Tag.cpp:485
gnash::SWF::SetBackgroundColorTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Set background color tag loader (SWF::SETBACKGROUNDCOLOR)
Definition: SetBackgroundColorTag.h:86
gnash::SWF::DEFINEALIGNZONES
@ DEFINEALIGNZONES
Definition: SWF.h:103
gnash::SWF::DefineEditTextTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load an SWF::DEFINEEDITTEXT (37) tag.
Definition: DefineEditTextTag.cpp:34
gnash::SWF::RemoveObjectTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: RemoveObjectTag.cpp:60
gnash::SWF::SetTabIndexTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: SetTabIndexTag.cpp:33
gnash::SWF::FREEALL
@ FREEALL
Definition: SWF.h:61
StartSoundTag.h
gnash::SWF::REMOVEOBJECT2
@ REMOVEOBJECT2
Definition: SWF.h:59
RemoveObjectTag.h
gnash::SWF::PATHSAREPOSTSCRIPT
@ PATHSAREPOSTSCRIPT
Definition: SWF.h:57
gnash::SWF::CHARACTERSET
@ CHARACTERSET
Definition: SWF.h:81
gnash::SWF::sprite_loader
void sprite_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Create and initialize a sprite, and add it to the movie.
Definition: tag_loaders.cpp:99
gnash::SWF::DEFINEBITS
@ DEFINEBITS
Definition: SWF.h:38
DefineTextTag.h
gnash::SWF::metadata_loader
void metadata_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: tag_loaders.cpp:301
DefineSceneAndFrameLabelDataTag.h
gnash::SWF::DEFINESHAPE4
@ DEFINESHAPE4
Definition: SWF.h:110
gnash::SWF::GENCOMMAND
@ GENCOMMAND
Definition: SWF.h:79
SetTabIndexTag.h
gnashconfig.h
gnash::SWF::serialnumber_loader
void serialnumber_loader(SWFStream &in, TagType tag, movie_definition &, const RunResources &)
Load a SWF::SERIALNUMBER tag.
Definition: tag_loaders.cpp:343
SWF.h
DefineBitsTag.h
gnash::SWF::DefineButtonSoundTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineButtonSoundTag.cpp:41
gnash::SWF::DoABCTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const gnash::RunResources &)
Definition: DoABCTag.h:71
gnash::SWF::VIDEOFRAME
@ VIDEOFRAME
Definition: SWF.h:91
gnash::SWF::DEFINESHAPE3
@ DEFINESHAPE3
Definition: SWF.h:62
gnash::SWF::PROTECT
@ PROTECT
Definition: SWF.h:56
SetBackgroundColorTag.h
DefineScalingGridTag.h
gnash::SWF::DEFINEBITSJPEG2
@ DEFINEBITSJPEG2
Definition: SWF.h:53
DSOEXPORT
#define DSOEXPORT
Definition: dsodefs.h:55
DefineVideoStreamTag.h
gnash::SWF::DefineMorphShapeTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineMorphShapeTag.cpp:46
gnash::SWF::jpeg_tables_loader
void jpeg_tables_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DefineBitsTag.cpp:146
gnash::SWF::INITACTION
@ INITACTION
Definition: SWF.h:89
ScriptLimitsTag.h
gnash::SWF::SOUNDSTREAMBLOCK
@ SOUNDSTREAMBLOCK
Definition: SWF.h:51
gnash::SWF::TagLoadersTable
Table of SWF tags loaders.
Definition: TagLoadersTable.h:39
gnash::SWF::SoundStreamHeadTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: SoundStreamHeadTag.cpp:38
gnash::SWF::REMOVEOBJECT
@ REMOVEOBJECT
Definition: SWF.h:37
gnash::SWF::file_attributes_loader
void file_attributes_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: tag_loaders.cpp:247
DefineFontNameTag.h
gnash::SWF::DoInitActionTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DoInitActionTag.h:63
gnash::SWF::SETBACKGROUNDCOLOR
@ SETBACKGROUNDCOLOR
Definition: SWF.h:41
gnash::key::SWF
@ SWF
Definition: GnashKey.h:331
gnash::log_unimpl
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
gnash::SWF::DefineTextTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineTextTag.cpp:42
gnash::SWF::DOABCDEFINE
@ DOABCDEFINE
Definition: SWF.h:109
gnash::SWF::DEFINEBITSJPEG3
@ DEFINEBITSJPEG3
Definition: SWF.h:65
gnash::SWF::SETTABINDEX
@ SETTABINDEX
Definition: SWF.h:96
gnash::SWF::PLACEOBJECT3
@ PLACEOBJECT3
Definition: SWF.h:100
gnash::SWF::addDefaultLoaders
void addDefaultLoaders(TagLoadersTable &table)
Add the default parsing functions for SWF files to a TagLoadersTable.
Definition: DefaultTagLoaders.cpp:107
gnash::SWF::FONTREF
@ FONTREF
Definition: SWF.h:82
gnash::SWF::DEFINEBUTTONCXFORM
@ DEFINEBUTTONCXFORM
Definition: SWF.h:55
gnash::SWF::DefineSceneAndFrameLabelDataTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DefineSceneAndFrameLabelDataTag.h:49
gnash::SWF::REFLEX
@ REFLEX
Definition: SWF.h:117
gnash::SWF::DEFINEMORPHSHAPE2_
@ DEFINEMORPHSHAPE2_
Definition: SWF.h:98
gnash::SWF::END
@ END
Definition: SWF.h:32
gnash::SWF::DEFINEVIDEOSTREAM
@ DEFINEVIDEOSTREAM
Definition: SWF.h:90
CSMTextSettingsTag.h
gnash::SWF::StreamSoundBlockTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load an SWF::SOUNDSTREAMBLOCK (19) tag.
Definition: StreamSoundBlockTag.cpp:57
gnash::SWF::DEFINEFONT
@ DEFINEFONT
Definition: SWF.h:42