Solid

iokitgenericinterface.cpp
1/*
2 SPDX-FileCopyrightText: 2009 Harald Fernengel <harry@kdevelop.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#include "iokitgenericinterface.h"
8
9#include "iokitdevice.h"
10
11using namespace Solid::Backends::IOKit;
12
13GenericInterface::GenericInterface(IOKitDevice *device)
14 : DeviceInterface(device)
15{
16}
17
18GenericInterface::~GenericInterface()
19{
20}
21
22QVariant GenericInterface::property(const QString &key) const
23{
24 return m_device->property(key);
25}
26
27QMap<QString, QVariant> GenericInterface::allProperties() const
28{
29 return m_device->allProperties();
30}
31
32bool GenericInterface::propertyExists(const QString &key) const
33{
34 return m_device->iOKitPropertyExists(key);
35}
36
37#include "moc_iokitgenericinterface.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.