File indexing completed on 2024-04-21 03:59:52

0001 /*
0002     SPDX-FileCopyrightText: 2008 Will Stephenson <wstephenson@kde.org>
0003     SPDX-FileCopyrightText: 2010 Lamarque Souza <lamarque@kde.org>
0004     SPDX-FileCopyrightText: 2013-2015 Jan Grulich <jgrulich@redhat.com>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef MODEMMANAGER_SIM_P_H
0010 #define MODEMMANAGER_SIM_P_H
0011 
0012 #include "dbus/siminterface.h"
0013 #include "interface_p.h"
0014 #include "sim.h"
0015 
0016 namespace ModemManager
0017 {
0018 class SimPrivate : public QObject
0019 {
0020     Q_OBJECT
0021 public:
0022     explicit SimPrivate(const QString &path, Sim *q);
0023     OrgFreedesktopModemManager1SimInterface simIface;
0024     QString uni;
0025     bool active;
0026     QString simIdentifier;
0027     QString imsi;
0028     QString eid;
0029     QString operatorIdentifier;
0030     QString operatorName;
0031     QStringList emergencyNumbers;
0032     QVariantMap preferredNetworks;
0033 #if MM_CHECK_VERSION(1, 20, 0)
0034     QByteArray gid1;
0035     QByteArray gid2;
0036     MMSimType simType;
0037     MMSimEsimStatus esimStatus;
0038     MMSimRemovability removability;
0039 #endif
0040 
0041     Q_DECLARE_PUBLIC(Sim)
0042     Sim *q_ptr;
0043 private Q_SLOTS:
0044     void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps);
0045 };
0046 
0047 } // namespace ModemManager
0048 
0049 #endif