Solid

fakenetworkshare.h
1/*
2 SPDX-FileCopyrightText: 2011 Mario Bensi <mbensi@ipsquad.net>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef SOLID_BACKENDS_FAKE_NETWORKSHARE_H
8#define SOLID_BACKENDS_FAKE_NETWORKSHARE_H
9
10#include "fakedeviceinterface.h"
11#include <solid/devices/ifaces/networkshare.h>
12
13namespace Solid
14{
15namespace Backends
16{
17namespace Fake
18{
19class FakeNetworkShare : public FakeDeviceInterface, public Solid::Ifaces::NetworkShare
20{
23
24public:
25 explicit FakeNetworkShare(FakeDevice *device);
26
27 ~FakeNetworkShare() override;
28
29 Solid::NetworkShare::ShareType type() const override;
30
31 QUrl url() const override;
32};
33
34}
35}
36}
37
38#endif // SOLID_BACKENDS_FAKE_NETWORKSHARE_H
NetworkShare interface.
ShareType
This enum type defines the type of networkShare device can be.
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:56:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.