hyprlock/src/core/Password.hpp
2024-02-18 23:08:03 +00:00

16 lines
No EOL
336 B
C++

#pragma once
#include <memory>
#include <string>
class CPassword {
public:
struct SVerificationResult {
bool success = false;
std::string failReason = "";
};
SVerificationResult verify(const std::string& pass);
};
inline std::unique_ptr<CPassword> g_pPassword = std::make_unique<CPassword>();