File indexing completed on 2024-04-21 15:42:48

0001 /***************************************************************************
0002     Private helper class(es) for the hardware interface
0003                              -------------------
0004     begin                : Die Jul 14 2015
0005     copyright            : (C) 2015-2017 by Alexander Reinholdt
0006     email                : alexander.reinholdt@kdemail.net
0007  ***************************************************************************/
0008 
0009 /***************************************************************************
0010  *   This program is free software; you can redistribute it and/or modify  *
0011  *   it under the terms of the GNU General Public License as published by  *
0012  *   the Free Software Foundation; either version 2 of the License, or     *
0013  *   (at your option) any later version.                                   *
0014  *                                                                         *
0015  *   This program is distributed in the hope that it will be useful, but   *
0016  *   WITHOUT ANY WARRANTY; without even the implied warranty of            *
0017  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
0018  *   General Public License for more details.                              *
0019  *                                                                         *
0020  *   You should have received a copy of the GNU General Public License     *
0021  *   along with this program; if not, write to the                         *
0022  *   Free Software Foundation, Inc., 51 Franklin Street, Suite 500, Boston,*
0023  *   MA 02110-1335, USA                                                    *
0024  ***************************************************************************/
0025 
0026 #ifndef SMB4KHARDWAREINTERFACE_P_H
0027 #define SMB4KHARDWAREINTERFACE_P_H
0028 
0029 // application specific includes
0030 #include "smb4khardwareinterface.h"
0031 
0032 // Qt includes
0033 #include <QStringList>
0034 #include <QNetworkConfigurationManager>
0035 #include <QNetworkSession>
0036 #include <QDBusInterface>
0037 #include <QDBusUnixFileDescriptor>
0038 
0039 class Smb4KHardwareInterfacePrivate
0040 {
0041   public:
0042     QNetworkConfigurationManager networkConfigManager;
0043     QNetworkSession *networkSession;
0044     QStringList udis;
0045 #if defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
0046     QStringList mountPoints;
0047 #endif
0048     QScopedPointer<QDBusInterface> dbusInterface;
0049     QDBusUnixFileDescriptor fileDescriptor;
0050     bool systemOnline;
0051 };
0052 
0053 
0054 class Smb4KHardwareInterfaceStatic
0055 {
0056   public:
0057     Smb4KHardwareInterface instance;
0058 };
0059 
0060 #endif
0061