jce-manager/main/CalendarTab/CalendarManager.h

25 lines
552 B
C
Raw Normal View History

#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"
#include <iostream>
class CalendarManager
{
public:
2014-09-01 22:19:24 +00:00
CalendarManager(calendarSchedule *ptr);
~CalendarManager()
{
2014-09-01 22:19:24 +00:00
delete caliSchedPtr;
}
void setCalendar(std::string html);
2014-09-01 22:19:24 +00:00
void resetTable() { if (caliSchedPtr != NULL) caliSchedPtr->clearTableItems(); }
calendarSchedule* getSch();
private:
2014-09-01 22:19:24 +00:00
calendarSchedule * caliSchedPtr;
};
#endif // CALENDARMANAGER_H