~tiagosh/telepathy-ofono/rtm-14.09-fix-1398525

« back to all changes in this revision

Viewing changes to tests/mock/simmanagerprivate.h

  • Committer: CI bot
  • Author(s): Bill Filler
  • Date: 2014-08-22 17:41:00 UTC
  • mfrom: (99.2.1 telepathy-ofono)
  • Revision ID: ps-jenkins@lists.canonical.com-20140822174100-y5kl6nz2lte6srq0
sim presence and call grouping merge from trunk 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Copyright (C) 2013 Canonical, Ltd.
 
3
 *
 
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.
 
7
 *
 
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.
 
12
 *
 
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/>.
 
15
 *
 
16
 * Authors: Tiago Salem Herrmann <tiago.herrmann@canonical.com>
 
17
 */
 
18
 
 
19
#ifndef SIMMANAGERPRIVATE_H
 
20
#define SIMMANAGERPRIVATE_H
 
21
 
 
22
#include <QDBusContext>
 
23
#include "mock_common.h"
 
24
 
 
25
class SimManagerPrivate : public QObject, protected QDBusContext {
 
26
    Q_OBJECT
 
27
    Q_CLASSINFO("D-Bus Interface", "org.ofono.SimManager")
 
28
public:
 
29
    SimManagerPrivate(QObject *parent = 0);
 
30
    ~SimManagerPrivate();
 
31
Q_SIGNALS:
 
32
    void PropertyChanged(const QString &, const QDBusVariant &);
 
33
public Q_SLOTS:
 
34
    QVariantMap GetProperties();
 
35
    void SetProperty(const QString &name, const QDBusVariant &value);
 
36
private:
 
37
    QVariantMap mProperties;
 
38
};
 
39
 
 
40
extern QMap<QString, SimManagerPrivate*> simManagerData;
 
41
 
 
42
#endif