2
* Copyright (C) 2013 Canonical, Ltd.
4
* This program is free software: you can redistribute it and/or modify it under
5
* the terms of the GNU Lesser General Public License version 3, as published by
6
* the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
10
* SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
* Authors: Tiago Salem Herrmann <tiago.herrmann@canonical.com>
19
#ifndef SIMMANAGERPRIVATE_H
20
#define SIMMANAGERPRIVATE_H
22
#include <QDBusContext>
23
#include "mock_common.h"
25
class SimManagerPrivate : public QObject, protected QDBusContext {
27
Q_CLASSINFO("D-Bus Interface", "org.ofono.SimManager")
29
SimManagerPrivate(QObject *parent = 0);
32
void PropertyChanged(const QString &, const QDBusVariant &);
34
QVariantMap GetProperties();
35
void SetProperty(const QString &name, const QDBusVariant &value);
37
QVariantMap mProperties;
40
extern QMap<QString, SimManagerPrivate*> simManagerData;