~indicator-applet-developers/indicator-network/trunk.15.10

« back to all changes in this revision

Viewing changes to sniffer/qdbusdatatypes.h

  • Committer: Pete Woods
  • Date: 2015-04-28 16:18:29 UTC
  • mfrom: (480.1.4 trunk)
  • Revision ID: pete.woods@canonical.com-20150428161829-ucf3i3svndl6x6ku
Simplify sniffer code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2014 Canonical, Ltd.
3
 
 *
4
 
 * This program is free software: you can redistribute it and/or modify it
5
 
 * under the terms of the GNU General Public License version 3, as published
6
 
 * by the Free Software Foundation.
7
 
 *
8
 
 * This program is distributed in the hope that it will be useful, but
9
 
 * WITHOUT ANY WARRANTY; without even the implied warranties of
10
 
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11
 
 * PURPOSE.  See the GNU General Public License for more details.
12
 
 *
13
 
 * You should have received a copy of the GNU General Public License along
14
 
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
15
 
 *
16
 
 * Authors:
17
 
 *     Jussi Pakkanen <jussi.pakkanen@canonical.com>
18
 
 */
19
 
 
20
 
#pragma once
21
 
 
22
 
#include <QDBusMetaType>
23
 
#include <QMap>
24
 
 
25
 
typedef QMap<QString, QVariantMap> QVariantDictMap;
26
 
Q_DECLARE_METATYPE(QVariantDictMap)
27
 
 
28
 
typedef QVector<QPair<QDBusObjectPath, QVariantMap>> ModemPropertyList;
29
 
Q_DECLARE_METATYPE(ModemPropertyList)
30
 
 
31
 
typedef ModemPropertyList OfonoObjectPropertyList;