home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / pascal / rehack / contain / queue.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-01  |  833 b   |  25 lines

  1. #ifndef __QUEUE_H
  2. #define __QUEUE_H
  3.  
  4. // ╔════════════════════════════════════════════════╗
  5. // ║ Queue.h, queue.cpp                             ║
  6. // ╟────────────────────────────────────────────────╢
  7. // ║ First-in, first out list                       ║
  8. // ╟────────────────────────────────────────────────╢
  9. // ║ Written by Gus Smedstad                        ║
  10. // ╟────────────────────────────────────────────────╢
  11. // ║ Copyright 1990-91 NoGate Consulting            ║
  12. // ╚════════════════════════════════════════════════╝
  13.  
  14. #ifndef __DOUBLE_H
  15. #include "double.h"
  16. #endif
  17.  
  18. class queue : public double_list {
  19. public:
  20.   virtual void         destroy();  // destroy tail item
  21.           containable *remove();  // remove tail item
  22.           containable *item();                   // contents of tail item
  23.  };
  24.  
  25. #endif