Solid

ifaces/deviceinterface.h
1/*
2 SPDX-FileCopyrightText: 2006 Kevin Ottens <ervin@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef SOLID_IFACES_DEVICEINTERFACE_H
8#define SOLID_IFACES_DEVICEINTERFACE_H
9
10#include <QObject>
11
12namespace Solid
13{
14namespace Ifaces
15{
16/**
17 * Base interface of all the device interfaces.
18 *
19 * A device interface describes what a device can do. A device generally has
20 * a set of device interfaces.
21 *
22 * @see Solid::Ifaces::AbstractDeviceInterface
23 */
25{
26public:
27 /**
28 * Destroys a DeviceInterface object.
29 */
30 virtual ~DeviceInterface();
31};
32}
33}
34
35Q_DECLARE_INTERFACE(Solid::Ifaces::DeviceInterface, "org.kde.Solid.Ifaces.DeviceInterface/0.1")
36
37#endif
Base interface of all the device interfaces.
virtual ~DeviceInterface()
Destroys a DeviceInterface object.
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.