[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/server gnash.h
From: |
strk |
Subject: |
[Gnash-commit] gnash/server gnash.h |
Date: |
Wed, 01 Feb 2006 14:24:35 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Branch:
Changes by: strk <address@hidden> 06/02/01 14:24:35
Modified files:
server : gnash.h
Log message:
Added SWF namespace with tags definition and stub doxygen mainpage
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/server/gnash.h.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: gnash/server/gnash.h
diff -u gnash/server/gnash.h:1.6 gnash/server/gnash.h:1.7
--- gnash/server/gnash.h:1.6 Mon Jan 30 10:29:28 2006
+++ gnash/server/gnash.h Wed Feb 1 14:24:34 2006
@@ -15,6 +15,11 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
+/// \mainpage
+///
+/// See Related Pages for movies and sprites informations
+///
+
#ifndef GNASH_H
#define GNASH_H
@@ -1121,8 +1126,75 @@
int process_swf(tu_file* swf_out, tu_file* swf_in, const process_options&
options);
}
+
} // namespace gnash
+/// SWF format definitions
+namespace SWF { // gnash::SWF
+
+ /// SWF tag types. Symbolc names copied from Ming
+ typedef enum
+ {
+ END = 0, /// end of sprite or movie definition
+ SHOWFRAME = 1,
+ DEFINESHAPE = 2,
+ FREECHARACTER = 3,
+ PLACEOBJECT = 4,
+ REMOVEOBJECT = 5,
+ DEFINEBITS = 6,
+ DEFINEBUTTON = 7,
+ JPEGTABLES = 8,
+ SETBACKGROUNDCOLOR = 9,
+ DEFINEFONT = 10,
+ DEFINETEXT = 11,
+ DOACTION = 12,
+ DEFINEFONTINFO = 13,
+ DEFINESOUND = 14,
+ STARTSOUND = 15,
+ DEFINEBUTTONSOUND = 17,
+ SOUNDSTREAMHEAD = 18,
+ SOUNDSTREAMBLOCK = 19,
+ DEFINELOSSLESS = 20,
+ DEFINEBITSJPEG2 = 21,
+ DEFINESHAPE2 = 22,
+ DEFINEBUTTONCXFORM = 23,
+ PROTECT = 24,
+ PATHSAREPOSTSCRIPT = 25,
+ PLACEOBJECT2 = 26,
+ REMOVEOBJECT2 = 28,
+ SYNCFRAME = 29,
+ FREEALL = 31,
+ DEFINESHAPE3 = 32,
+ DEFINETEXT2 = 33,
+ DEFINEBUTTON2 = 34,
+ DEFINEBITSJPEG3 = 35,
+ DEFINELOSSLESS2 = 36,
+ DEFINEEDITTEXT = 37,
+ DEFINEVIDEO = 38,
+ DEFINESPRITE = 39, /// Definition of a Sprite/MovieClip
+ NAMECHARACTER = 40,
+ SERIALNUMBER = 41,
+ DEFINETEXTFORMAT = 42,
+ FRAMELABEL = 43,
+ SOUNDSTREAMHEAD2 = 45,
+ DEFINEMORPHSHAPE = 46,
+ FRAMETAG = 47,
+ DEFINEFONT2 = 48,
+ GENCOMMAND = 49,
+ DEFINECOMMANDOBJ = 50,
+ CHARACTERSET = 51,
+ FONTREF = 52,
+ EXPORTASSETS = 56,
+ IMPORTASSETS = 57,
+ ENABLEDEBUGGER = 58,
+ INITACTION = 59,
+ DEFINEVIDEOSTREAM = 60,
+ VIDEOFRAME = 61,
+ DEFINEBITSPTR = 1023
+ } tag_type;
+
+
+} // namespace gnash::SWF
#endif // GNASH_H
- [Gnash-commit] gnash/server gnash.h,
strk <=