home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
dho.zip
/
DHO
/
INCLUDE
/
QUEUE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-27
|
690b
|
36 lines
/****************************************/
/* Developer Helper Object Set */
/* (C) 1994-95 Thomas E. Bednarz, Jr. */
/* All rights reserved */
/***************************************/
/* $Id: queue.h 1.4 1995/08/13 03:21:12 teb Exp $ */
#ifndef __QUEUE_H__
#define __QUEUE_H__
#include <object.h>
#include <node.h>
class TQueue : public TObject
{
TNode *head;
TNode *tail;
public:
TQueue();
virtual ~TQueue();
void Enqueue(TObject *obj);
TObject *Dequeue();
int EmptyQueue();
void ClearQueue();
virtual const char *getClassName(void);
};
#endif