// evlist.h: the event-list class for the CSC 270 simulation example
// -- J. Clarke, March-June 1996

// We only use one event list, so defining a class seems a little
// unnecessary. However, it will give us practice.

#include "porting.h"

class eventListClass {
private:
	struct eventListItem {
		eventClass * data;
		eventListItem * next;
	};
	eventListItem * firstEvent;

public:
	eventListClass (void);
	void insert (eventClass * event);
	eventClass * getNext (void);
};
