1 /*  Copyright (c) MediaArea.net SARL. All Rights Reserved.
2  *
3  *  Use of this source code is governed by a BSD-style license that can
4  *  be found in the License.html file in the root of the source tree.
5  */
6 
7 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8 //
9 // Information about SWF files
10 //
11 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12 
13 //---------------------------------------------------------------------------
14 #ifndef MediaInfo_File_SwfH
15 #define MediaInfo_File_SwfH
16 //---------------------------------------------------------------------------
17 
18 //---------------------------------------------------------------------------
19 #include "MediaInfo/File__Analyze.h"
20 //---------------------------------------------------------------------------
21 
22 namespace MediaInfoLib
23 {
24 
25 //***************************************************************************
26 // Class File_Swf
27 //***************************************************************************
28 
29 class File_Swf : public File__Analyze
30 {
31 public :
32     //In
33     int64u Frame_Count_Valid;
34     int32u FileLength;
35     int8u  Version;
36 
37 public :
38     File_Swf();
39 
40 private :
41     //Buffer
42     bool FileHeader_Begin();
43     void FileHeader_Parse();
44     void Header_Parse();
45     void Data_Parse();
46 
47     //Elements
48     void Header();
49     void Header_Continue();
End()50     void End()                          {};
ShowFrame()51     void ShowFrame()                    {};
DefineShape()52     void DefineShape()                  {};
PlaceObject()53     void PlaceObject()                  {};
RemoveObject()54     void RemoveObject()                 {};
DefineBits()55     void DefineBits()                   {};
DefineButton()56     void DefineButton()                 {};
JPEGTables()57     void JPEGTables()                   {};
SetBackgroundColor()58     void SetBackgroundColor()           {};
DefineFont()59     void DefineFont()                   {};
DefineText()60     void DefineText()                   {};
DoAction()61     void DoAction()                     {};
DefineFontInfo()62     void DefineFontInfo()               {};
63     void DefineSound();
StartSound()64     void StartSound()                   {};
DefineButtonSound()65     void DefineButtonSound()            {};
66     void SoundStreamHead();
SoundStreamBlock()67     void SoundStreamBlock()             {};
DefineBitsLossless()68     void DefineBitsLossless()           {};
DefineBitsJPEG2()69     void DefineBitsJPEG2()              {};
DefineShape2()70     void DefineShape2()                 {};
DefineCxform()71     void DefineCxform()                 {};
Protect()72     void Protect()                      {};
PlaceObject2()73     void PlaceObject2()                 {};
RemoveObject2()74     void RemoveObject2()                {};
DefineShape3()75     void DefineShape3()                 {};
DefineText2()76     void DefineText2()                  {};
DefineButton2()77     void DefineButton2()                {};
DefineBitsJPEG3()78     void DefineBitsJPEG3()              {};
DefineBitsLossless2()79     void DefineBitsLossless2()          {};
DefineEditText()80     void DefineEditText()               {};
81     void DefineSprite();
FrameLabel()82     void FrameLabel()                   {};
DefineMorphShape()83     void DefineMorphShape()             {};
SoundStreamHead2()84     void SoundStreamHead2()             {SoundStreamHead();};
DefineFont2()85     void DefineFont2()                  {};
ExportAssets()86     void ExportAssets()                 {};
ImportAssets()87     void ImportAssets()                 {};
EnableDebugger()88     void EnableDebugger()               {};
DoInitAction()89     void DoInitAction()                 {};
90     void DefineVideoStream();
DefineVideoFrame()91     void DefineVideoFrame()             {};
DefineFontInfo2()92     void DefineFontInfo2()              {};
EnableDebugger2()93     void EnableDebugger2()              {};
ScriptLimits()94     void ScriptLimits()                 {};
SetTabIndex()95     void SetTabIndex()                  {};
FileAttributes()96     void FileAttributes()               {};
PlaceObject3()97     void PlaceObject3()                 {};
ImportAssets2()98     void ImportAssets2()                {};
DefineFontAlignZones()99     void DefineFontAlignZones()         {};
CSMTextSettings()100     void CSMTextSettings()              {};
DefineFont3()101     void DefineFont3()                  {};
SymbolClass()102     void SymbolClass()                  {};
Metadata()103     void Metadata()                     {};
DefineScalingGrid()104     void DefineScalingGrid()            {};
DoABC()105     void DoABC()                        {};
DefineShape4()106     void DefineShape4()                 {};
DefineMorphShape2()107     void DefineMorphShape2()            {};
DefineSceneAndFrameLabelData()108     void DefineSceneAndFrameLabelData() {};
DefineBinaryData()109     void DefineBinaryData()             {};
DefineFontName()110     void DefineFontName()               {};
StartSound2()111     void StartSound2()                  {};
112 
113     //Helpers
114     bool Decompress();
115 };
116 
117 } //NameSpace
118 
119 #endif
120