qswiki/database/permissionsdao.h

13 lines
272 B
C++

#ifndef PERMISSIONSDAO_H
#define PERMISSIONSDAO_H
#include "../permissions.h"
#include "../user.h"
class PermissionsDao
{
public:
PermissionsDao();
virtual std::optional<Permissions> find(std::string pagename, std::string username) = 0;
};
#endif // PERMISSIONSDAO_H