qswiki/database/permissionsdaosqlite.h

17 lines
469 B
C
Raw Permalink Normal View History

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;
2018-11-03 17:12:20 +01:00
using SqliteDao::SqliteDao;
};
#endif // PERMISSIONSDAOSQLITE_H