kde-workspace/soliduiserver/soliduiserver_helper.h
Ivailo Monev 1e2511421c generic: adjust to KAuthorization changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 08:27:34 +02:00

36 lines
1.3 KiB
C++

/* This file is part of the KDE project
Copyright (C) 2021 Ivailo Monev <xakepa10@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2, as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef SOLIDUISERVER_HELPER_H
#define SOLIDUISERVER_HELPER_H
#include <kauthorization.h>
class SolidUiServerHelper : public KAuthorization
{
Q_OBJECT
public:
SolidUiServerHelper(const char* const helper, QObject *parent = nullptr);
public Q_SLOTS:
int cryptopen(const QVariantMap &parameters);
int cryptclose(const QVariantMap &parameters);
int mount(const QVariantMap &parameters);
int unmount(const QVariantMap &parameters);
};
#endif // SOLIDUISERVER_HELPER_H