1
/* This file is part of the KDE project
2
Copyright (C) 2008 Dario Freddi <drf54321@gmail.com>
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License version 2 as published by the Free Software Foundation.
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
Boston, MA 02110-1301, USA.
20
#ifndef WICD_WIREDNETWORKINTERFACE_H
21
#define WICD_WIREDNETWORKINTERFACE_H
23
#include <solid/control/ifaces/wirednetworkinterface.h>
24
#include <solid/control/wirednetworkinterface.h>
26
#include "networkinterface.h"
28
class WicdWiredNetworkInterface : public WicdNetworkInterface, virtual public Solid::Control::Ifaces::WiredNetworkInterface
31
Q_INTERFACES(Solid::Control::Ifaces::WiredNetworkInterface)
34
WicdWiredNetworkInterface(const QString & objectPath);
35
virtual ~WicdWiredNetworkInterface();
37
Solid::Control::NetworkInterface::Type type() const;
38
Solid::Control::NetworkInterface::ConnectionState connectionState() const;
39
bool isActive() const;
40
Solid::Control::NetworkInterface::Capabilities capabilities() const;
41
QString driver() const;
42
QString hardwareAddress() const;
46
/* reimp */ bool activateConnection(const QString & connectionUni, const QVariantMap & connectionParameters);
47
/* reimp */ bool deactivateConnection();
50
void recacheInformation();
52
void bitRateChanged(int bitRate);
53
void carrierChanged(bool plugged);
59
#endif // WICD_WIRELESSNETWORKINTERFACE_H