// // CSE143, Summer 2001 // Homework 5 // Air Traffic Control Starter Code // AircraftList.h // #ifndef AIRCRAFTLIST_H #define AIRCRAFTLIST_H #include #include "Aircraft.h" // node in the list struct AircraftNode { Aircraft *a; // the Aircraft AircraftNode *next; // pointer to the next node in the queue }; class AircraftList { public: // the constructor, creates an empty queue of Events AircraftList() {}; // = true if the list is empty bool isEmpty () const; // add a new aircraft e to the list void insert(Aircraft *a); // Removes the flight specified by flightNumber from the list and returns // a pointer to that Aircraft. If the aircraft does not exist, returns NULL. Aircraft *remove(int flightNumber) {return NULL;} // = length of the list int getLength () {return length;} // the destructor for the queue ~AircraftList() {} private: AircraftNode *head; int length; }; #endif