Gnash  0.8.11dev
tag_loaders.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 
20 #ifndef GNASH_SWF_TAG_LOADERS_H
21 #define GNASH_SWF_TAG_LOADERS_H
22 
23 #include "SWF.h"
24 
25 // Forward declarations
26 namespace gnash {
27  class movie_definition;
28  class RunResources;
29  class SWFStream;
30 }
31 
32 namespace gnash {
33 namespace SWF {
34 
36 //
37 void reflex_loader(SWFStream&, TagType, movie_definition&,
38  const RunResources&);
39 
41 //
44 void sprite_loader(SWFStream&, TagType, movie_definition&, const RunResources&);
45 
47 void frame_label_loader(SWFStream&, TagType, movie_definition&,
48  const RunResources&);
49 
51 void define_sound_loader(SWFStream&, TagType, movie_definition&,
52  const RunResources&);
53 
54 void
55 file_attributes_loader(SWFStream& in, TagType tag, movie_definition& m,
56  const RunResources& r);
57 
58 void
59 metadata_loader(SWFStream& in, TagType tag, movie_definition& m,
60  const RunResources& r);
61 
63 void
64 serialnumber_loader(SWFStream& in, TagType tag, movie_definition& /*m*/,
65  const RunResources& /*r*/);
66 
67 
68 } // namespace gnash::SWF
69 } // namespace gnash
70 
71 
72 #endif // GNASH_SWF_TAG_LOADERS_H
73 
74 
75 // Local Variables:
76 // mode: C++
77 // indent-tabs-mode: t
78 // End:
void reflex_loader(SWFStream &in, TagType tag, movie_definition &, const RunResources &)
SWF Tags Reflex (777)
Definition: tag_loaders.cpp:378
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
void serialnumber_loader(SWFStream &in, TagType tag, movie_definition &, const RunResources &)
Load a SWF::SERIALNUMBER tag.
Definition: tag_loaders.cpp:343
void file_attributes_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: tag_loaders.cpp:247
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:30
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Definition: GnashKey.h:164
void metadata_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: tag_loaders.cpp:301
void frame_label_loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Label the current frame (SWF::FRAMELABEL)
Definition: tag_loaders.cpp:58
Definition: GnashKey.h:159
Definition: GnashKey.h:331
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