/* SPDX-FileCopyrightText: 2009 Trever Fischer SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include "AutomounterSettings.h" #include #include class DeviceAutomounter : public KDEDModule { Q_OBJECT public: explicit DeviceAutomounter(QObject *parent = nullptr, const QVariantList &args = QVariantList()); ~DeviceAutomounter() override; private Q_SLOTS: void init(); void deviceAdded(const QString &udi); void deviceMountChanged(bool accessible, const QString &udi); private: void automountDevice(Solid::Device &dev, AutomounterSettings::AutomountType type); AutomounterSettings *m_settings; };