00001 #if !defined( __ARSMPEG_H__ ) 00002 #define __ARSMPEG_H__ 00003 00004 namespace Ars 00005 { 00006 class XMPEG : public XImage { 00007 private: 00008 00009 std::string sct , key ,fname; 00010 SMPEG_Info mpegInfo; 00011 SMPEG *mpeg; 00012 00013 public: 00014 00018 XMPEG( void ); 00019 00020 ~XMPEG( void ); 00021 00026 virtual void Init( icstring &aStr ); 00027 00029 virtual const bool SetupWindow( const Message &msg ); 00030 00031 const bool Play( void ); 00032 SMPEG *GetMPEG( void ) const { return mpeg; } 00033 const SMPEG_Info &GetInfo( void ) const { return mpegInfo; } 00034 00035 void EndPlay( void ); 00036 }; 00037 00038 } 00039 00040 #endif