Older/WebApplication/VisitorRecordTableModel.h
luocai 5f3bf1067d
All checks were successful
Deploy / Build (push) Successful in 6m4s
add model.
2024-11-28 19:34:24 +08:00

12 lines
512 B
C++

#ifndef __VISITORRECORDTABLEMODEL_H__
#define __VISITORRECORDTABLEMODEL_H__
#include <Wt/WAbstractTableModel.h>
class VisitorRecordTableModel : public Wt::WAbstractTableModel {
public:
Wt::cpp17::any data(const Wt::WModelIndex &index, Wt::ItemDataRole role = Wt::ItemDataRole::Display) const final;
int columnCount(const Wt::WModelIndex &parent = Wt::WModelIndex()) const final;
int rowCount(const Wt::WModelIndex &parent = Wt::WModelIndex()) const final;
};
#endif // __VISITORRECORDTABLEMODEL_H__