2024-11-27 23:50:04 +08:00
|
|
|
#ifndef __VISITORRECORDSPAGE_H__
|
|
|
|
#define __VISITORRECORDSPAGE_H__
|
|
|
|
|
2024-11-28 19:34:24 +08:00
|
|
|
#include <Wt/WContainerWidget.h>
|
|
|
|
|
|
|
|
class Session;
|
2024-11-29 20:01:10 +08:00
|
|
|
class VisitorRecordTableModel;
|
2024-11-27 23:50:04 +08:00
|
|
|
|
2024-11-28 19:34:24 +08:00
|
|
|
// https://infima.dev/
|
|
|
|
|
|
|
|
class VisitorRecordsPage : public Wt::WContainerWidget {
|
|
|
|
public:
|
|
|
|
VisitorRecordsPage(Session &session);
|
2024-11-29 20:01:10 +08:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void onDeleteButtonClicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::shared_ptr<VisitorRecordTableModel> m_model;
|
2024-11-28 19:34:24 +08:00
|
|
|
};
|
2024-11-27 23:50:04 +08:00
|
|
|
|
|
|
|
#endif // __VISITORRECORDSPAGE_H__
|