#ifndef CALENDARPAGE_H #define CALENDARPAGE_H #include "../page.h" #include "calendarCourse.h" #include //#include //strlen and strtok to phrase the html file //#include //checks if character is numeric class CalendarPage : public Page { public: QString htmlToString(); std::list* getCourses() { return courses; } protected: virtual void setPage(QString html); CalendarPage() { } private: QString tokenToLines(QString &textToParse); void calendarListInit(QString &linesTokinzedString); calendarCourse* lineToCourse(QString line); QString tempHtml; std::list* courses; }; #endif // CALENDARPAGE_H