qswiki/database/permissionsdaosqlite.h

18 γραμμές
528 B
C

2018-11-03 17:12:20 +01:00
#ifndef PERMISSIONSDAOSQLITE_H
#define PERMISSIONSDAOSQLITE_H
#include "permissionsdao.h"
#include "sqlitedao.h"
class PermissionsDaoSqlite : public PermissionsDao, protected SqliteDao
{
public:
PermissionsDaoSqlite();
std::optional<Permissions> find(std::string pagename, std::string username) override;
2021-10-05 21:51:31 +02:00
virtual void save(std::string pagename, std::string username, Permissions perms) override;
2023-08-11 09:21:02 +02:00
virtual void clearForPage(std::string pagename) override;
2018-11-03 17:12:20 +01:00
using SqliteDao::SqliteDao;
};
#endif // PERMISSIONSDAOSQLITE_H