1 /* This file is part of the KDE project
2 Copyright (C) 2008 Pino Toscano <pino@kde.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
21 #ifndef NETWORKMANAGER_NETWORKINTERFACE_P_H
22 #define NETWORKMANAGER_NETWORKINTERFACE_P_H
24 #include <QtCore/qstring.h>
25 #include <QtDBus/QDBusInterface>
27 #include <NetworkManager/NetworkManager.h>
29 class NMNetworkInterface
;
30 class NMDBusDeviceProperties
;
32 class NMNetworkInterfacePrivate
35 NMNetworkInterfacePrivate(const QString
& objPath
);
36 virtual ~NMNetworkInterfacePrivate();
38 Q_DECLARE_PUBLIC(NMNetworkInterface
)
42 virtual void notifyNewNetwork(const QDBusObjectPath
& netPath
) { Q_UNUSED(netPath
) }
43 virtual void notifyRemoveNetwork(const QDBusObjectPath
& netPath
) { Q_UNUSED(netPath
) }
44 virtual void applyProperties(const NMDBusDeviceProperties
& props
);
46 NMNetworkInterface
* q_ptr
;
50 QDBusInterface
* manager
;
52 Solid::Control::NetworkInterface::Type type
;
53 NMActStage activationStage
;
55 Solid::Control::NetworkInterface::Capabilities capabilities
;
56 QString activeNetPath
;
59 Solid::Control::IPv4Config ipv4Config
;