#ifndef _H #define _H #include <Reader.h> #include <Tag.h> #include <Action.h> #include <Filter.h> #include <Trait.h> #include <List.h> #include <ShapeItem.h> #include <GlyphList.h> #include <IdItems.h> namespace { struct Context { public: Context(); int swfVersion; bool transientPropsToXML; bool debugTrace; bool exportAssets; bool quiet; bool isLast; char tagVersion; bool alpha; bool many_shapes; bool convertEncoding; const char *swf_encoding; ; }; class : public { public: (); virtual ~(); virtual bool parse( Reader *r, int end, Context *ctx ); virtual void dump( int indent, Context *ctx ); virtual size_t calcSize( Context *ctx, int start_at ); virtual void write( Writer *w, Context *ctx ); virtual void writeXML( xmlNodePtr xml, Context *ctx ); virtual void parseXML( xmlNodePtr xml, Context *ctx ); static * get( Reader *r, int end, Context *ctx ); static * getByName( const char *name ); protected: static int id; }; } #endif ; // get(); void set( ); get(); void set( ); void get( unsigned char **dst, int *size ); void set( const unsigned char *src, int size ); *get(); *get(); Item Tag Action Filter Style StackItem NamespaceConstant MultinameConstant Trait OpCode