~neon/project-neon/libmm-qt

« back to all changes in this revision

Viewing changes to sms_p.h

  • Committer: Jan Grulich
  • Date: 2013-10-06 11:42:12 UTC
  • Revision ID: git-v1:6b330d21e12353005970209902f3e02b2786e265
Rename files to mach classes and dbus interfaces

Update README a little bit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright 2008 Will Stephenson <wstephenson@kde.org>
 
3
Copyright 2010 Lamarque Souza <lamarque@kde.org>
 
4
Copyright 2013 Anant Kamath <kamathanant@gmail.com>
 
5
Copyright 2013 Lukas Tinkl <ltinkl@redhat.com>
 
6
 
 
7
This library is free software; you can redistribute it and/or
 
8
modify it under the terms of the GNU Lesser General Public
 
9
License as published by the Free Software Foundation; either
 
10
version 2.1 of the License, or (at your option) version 3, or any
 
11
later version accepted by the membership of KDE e.V. (or its
 
12
successor approved by the membership of KDE e.V.), which shall
 
13
act as a proxy defined in Section 6 of version 3 of the license.
 
14
 
 
15
This library is distributed in the hope that it will be useful,
 
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
Lesser General Public License for more details.
 
19
 
 
20
You should have received a copy of the GNU Lesser General Public
 
21
License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 
22
*/
 
23
 
 
24
#ifndef MODEMMANAGER_SMS_P_H
 
25
#define MODEMMANAGER_SMS_P_H
 
26
 
 
27
#include "dbus/Sms.h"
 
28
 
 
29
class SmsPrivate
 
30
{
 
31
public:
 
32
    explicit SmsPrivate(const QString &path);
 
33
    OrgFreedesktopModemManager1SmsInterface smsIface;
 
34
 
 
35
    QString dBusPath;
 
36
    MMSmsState state;
 
37
    MMSmsPduType pduType;
 
38
    QString number;
 
39
    QString text;
 
40
    QString smsc;
 
41
    QByteArray data;
 
42
    ValidityPair validity;
 
43
    int smsClass;
 
44
    bool deliveryReportRequest;
 
45
    uint messageReference;
 
46
    QDateTime timestamp;
 
47
    QDateTime dischargeTimestamp;
 
48
    MMSmsDeliveryState deliveryState;
 
49
    MMSmsStorage storage;
 
50
};
 
51
 
 
52
#endif
 
53