prepared to build
This commit is contained in:
parent
1a144da36d
commit
7d7b6f4475
44 changed files with 3863 additions and 4 deletions
23
client/platforms/linux/daemon/polkithelper.h
Normal file
23
client/platforms/linux/daemon/polkithelper.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef POLKITHELPER_H
|
||||
#define POLKITHELPER_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class PolkitHelper final {
|
||||
public:
|
||||
static PolkitHelper* instance();
|
||||
|
||||
bool checkAuthorization(const QString& actionId);
|
||||
|
||||
private:
|
||||
PolkitHelper() = default;
|
||||
~PolkitHelper() = default;
|
||||
|
||||
Q_DISABLE_COPY(PolkitHelper)
|
||||
};
|
||||
|
||||
#endif // POLKITHELPER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue