diff --git a/MP4/box_abst.cpp b/MP4/box_abst.cpp new file mode 100644 index 00000000..6e264a1b --- /dev/null +++ b/MP4/box_abst.cpp @@ -0,0 +1,13 @@ +#include "box_abst.h" + +Box_abst::Box_abst( ) { + Container = new Box( 0x61627374 ); +} + +Box_abst::~Box_abst() { + delete Container; +} + +Box * Box_abst::GetBox() { + return Container; +} diff --git a/MP4/box_abst.h b/MP4/box_abst.h new file mode 100644 index 00000000..5346b8cc --- /dev/null +++ b/MP4/box_abst.h @@ -0,0 +1,10 @@ +#include "box.h" + +class Box_abst { + public: + Box_abst( ); + ~Box_abst(); + Box * GetBox(); + private: + Box * Container; +};//Box_ftyp Class