2014-08-31 09:33:27 +00:00
|
|
|
#ifndef CALENDARMANAGER_H
|
|
|
|
#define CALENDARMANAGER_H
|
|
|
|
|
|
|
|
#include "./src/jceData/Calendar/calendarPage.h"
|
2014-09-01 22:19:24 +00:00
|
|
|
#include "./src/jceData/Calendar/calendarSchedule.h"
|
2014-08-31 09:33:27 +00:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
class CalendarManager
|
|
|
|
{
|
|
|
|
public:
|
2014-09-01 22:19:24 +00:00
|
|
|
CalendarManager(calendarSchedule *ptr);
|
2014-08-31 09:33:27 +00:00
|
|
|
~CalendarManager()
|
|
|
|
{
|
2014-09-01 22:19:24 +00:00
|
|
|
delete caliSchedPtr;
|
2014-08-31 09:33:27 +00:00
|
|
|
}
|
2014-09-08 14:30:18 +00:00
|
|
|
|
2014-08-31 09:33:27 +00:00
|
|
|
void setCalendar(std::string html);
|
2014-09-01 22:19:24 +00:00
|
|
|
void resetTable() { if (caliSchedPtr != NULL) caliSchedPtr->clearTableItems(); }
|
2014-09-08 14:30:18 +00:00
|
|
|
calendarSchedule* getSch();
|
2014-08-31 09:33:27 +00:00
|
|
|
private:
|
2014-09-01 22:19:24 +00:00
|
|
|
calendarSchedule * caliSchedPtr;
|
2014-08-31 09:33:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CALENDARMANAGER_H
|