www.pudn.com > C++_Flash.rar > SWFObject.h


// SWFObject.h: interface for the CSWFObject class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(SWFOBJECT_H) 
#define SWFOBJECT_H 
 
#include "Definitions.h" 
#include "SWFMatrix.h" 
 
class CSWFObject   
{ 
public: 
	CSWFObject(); 
	virtual ~CSWFObject(); 
 
public: 
	// Public methods 
	virtual UCHAR* BuildSWFStream() = 0; 
	virtual int GetSWFStreamLength() = 0; 
 
private: 
	// Private members 
	UCHAR* m_SWFStream; 
	int m_SWFStreamLength; 
 
public: 
	// Public members 
	int m_ObjectType; 
	USHORT m_ID; 
	USHORT m_Depth; 
	CSWFMatrix m_TransformationMatrix; 
 
}; 
 
#endif // !defined(SWFOBJECT_H)