home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / LINUX / gopchop-1.1.7.tar.tar / gopchop-1.1.7.tar / gopchop-1.1.7 / src / ElementStream.h < prev    next >
C/C++ Source or Header  |  2003-04-25  |  1KB  |  48 lines

  1. /*
  2. #
  3. # Header for ElementStream class
  4. #
  5. # $Id: ElementStream.h,v 1.5 2003/04/25 06:56:14 nemies Exp $
  6. #
  7. # Copyright (C) 2001-2003 Kees Cook
  8. # kees@outflux.net, http://outflux.net/
  9. # This program is free software; you can redistribute it and/or
  10. # modify it under the terms of the GNU General Public License
  11. # as published by the Free Software Foundation; either version 2
  12. # of the License, or (at your option) any later version.
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. # GNU General Public License for more details.
  17. # You should have received a copy of the GNU General Public License
  18. # along with this program; if not, write to the Free Software
  19. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20. # http://www.gnu.org/copyleft/gpl.html
  21. #
  22. */
  23.  
  24. #ifndef _ELEMENTSTREAM_H_
  25. #define _ELEMENTSTREAM_H_
  26.  
  27. #include "config.h"
  28. #include "Vector.h"
  29. #include <stdint.h>
  30.  
  31. class ElementStream:public Vector
  32. {
  33.   public:
  34.     ElementStream(off_t start, size_t len, int type_in, uint8_t id_in);
  35.     int getType();
  36.     uint8_t getId();
  37.   private:
  38.     int type;
  39.     uint8_t id;
  40. };
  41.  
  42. #endif // _ELEMENTSTREAM_H_
  43.  
  44. /* vi:set ai ts=4 sw=4 expandtab: */
  45.