mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-17 07:15:57 +01:00
16 lines
No EOL
336 B
C++
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>(); |