giobase.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /***************************************************************************\
  2. *
  3. * MPEG Layer3-Audio Decoder
  4. * © 1997-2006 by Fraunhofer IIS
  5. * All Rights Reserved
  6. *
  7. * filename: giobase.h
  8. * project : MPEG Decoder
  9. * author : Martin Sieler
  10. * date : 1998-02-11
  11. * contents/description: HEADER - basic I/O class for MPEG Decoder
  12. *
  13. *
  14. \***************************************************************************/
  15. /*
  16. * $Date: 2010/11/17 20:46:02 $
  17. * $Id: giobase.h,v 1.1 2010/11/17 20:46:02 audiodsp Exp $
  18. */
  19. #ifndef __GIOBASE_H__
  20. #define __GIOBASE_H__
  21. /* ------------------------ includes --------------------------------------*/
  22. #include "mp3sscdef.h"
  23. /*-------------------------- defines --------------------------------------*/
  24. /*-------------------------------------------------------------------------*/
  25. class CGioBase
  26. {
  27. public:
  28. virtual SSC Read(void *pBuffer, int cbToRead, int *pcbRead) = 0;
  29. virtual bool IsEof() const = 0;
  30. protected:
  31. ~CGioBase() {}
  32. private:
  33. };
  34. /*-------------------------------------------------------------------------*/
  35. #endif