home *** CD-ROM | disk | FTP | other *** search
- //
- // MiscQueue.h -- a List subclass that acts like a queue
- // Written by Don Yacktman Copyright (c) 1993 by Don Yacktman.
- // Version 1.0. All rights reserved.
- //
- // This notice may not be removed from this source code.
- //
- // This object is included in the MiscKit by permission from the author
- // and its use is governed by the MiscKit license, found in the file
- // "LICENSE.rtf" in the MiscKit distribution. Please refer to that file
- // for a list of all applicable permissions and restrictions.
- //
-
- // This could really be a category...
-
- #import <appkit/appkit.h>
-
- @interface MiscQueue : List
- {
- }
-
- // use -addObject: (from List) to add to the queue, and this to
- // remove from the queue. Other List methods still apply.
- - removeNextObject;
-
- @end