home *** CD-ROM | disk | FTP | other *** search
- #ifndef __QUEUE_H
- #define __QUEUE_H
-
- // ╔════════════════════════════════════════════════╗
- // ║ Queue.h, queue.cpp ║
- // ╟────────────────────────────────────────────────╢
- // ║ First-in, first out list ║
- // ╟────────────────────────────────────────────────╢
- // ║ Written by Gus Smedstad ║
- // ╟────────────────────────────────────────────────╢
- // ║ Copyright 1990-91 NoGate Consulting ║
- // ╚════════════════════════════════════════════════╝
-
- #ifndef __DOUBLE_H
- #include "double.h"
- #endif
-
- class queue : public double_list {
- public:
- virtual void destroy(); // destroy tail item
- containable *remove(); // remove tail item
- containable *item(); // contents of tail item
- };
-
- #endif