ImagingTools Core SDK
ISuperuserProvider.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IChangeable.h>
7
8
9namespace imtauth
10{
11
12
13class ISuperuserProvider: virtual public istd::IChangeable
14{
15public:
16 enum ExistsStatus
17 {
18 ES_EXISTS,
19 ES_NOT_EXISTS,
20 ES_UNKNOWN
21 };
22
26 virtual ExistsStatus SuperuserExists(QString& errorMessage) const = 0;
27
31 virtual QByteArray GetSuperuserId() const = 0;
32};
33
34
35} // namespace imtauth
36
37