// listpq.h - derived class of PQ to be implemented by // using a sorted linked list // cmc, 11/1/2013 #ifndef LISTPQ_H #define LISTPQ_H #include "pq.h" struct Node; // defined in the implementation class ListPQ : public PQ { public: ListPQ(); virtual void put(double); virtual double get(); private: Node *list; }; #endif