#ifndef __PIL_HPP #define __PIL_HPP #include "fpi.hpp" class portingIssueList { portingIssueList& operator=(const portingIssueList&);//dont copy portingIssueList(const portingIssueList&);//dont copy public: portingIssueList(); virtual ~portingIssueList(); int add(const char *searchKeyword, const char *helpSearchKeyword, const char *issue, const char *suggestedFix); void rewind(); const fastPortingIssue *get(); const fastPortingIssue *next(); private: //porting issues in a single-linked list class entry : public fastPortingIssue { entry *p; public: entry(const char *searchKeyword, const char *helpSearchKeyword, const char *portingIssue, const char *suggestedFix, entry *prev) : fastPortingIssue(searchKeyword,helpSearchKeyword,portingIssue,suggestedFix) { p=prev; } entry *next() { return p; } }; entry *first,*current; }; #endif