mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-02 05:30:06 +00:00
move check_privilege.* to main
This commit is contained in:
parent
4a4075b50f
commit
2f9908b54e
4 changed files with 12 additions and 12 deletions
|
|
@ -1,25 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace scwx::qt::util
|
||||
{
|
||||
|
||||
bool is_high_privilege();
|
||||
|
||||
class PrivilegeChecker
|
||||
{
|
||||
public:
|
||||
explicit PrivilegeChecker();
|
||||
~PrivilegeChecker();
|
||||
|
||||
// returning true means check failed.
|
||||
bool first_check();
|
||||
bool second_check();
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
std::unique_ptr<Impl> p;
|
||||
};
|
||||
|
||||
} // namespace scwx::qt::util
|
||||
Loading…
Add table
Add a link
Reference in a new issue