~tiagosh/telepathy-qt/group-chat2

« back to all changes in this revision

Viewing changes to TelepathyQt/pending-debug-message-list.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo
  • Date: 2013-06-06 04:56:14 UTC
  • Revision ID: package-import@ubuntu.com-20130606045614-inpxexo6765rnmp1
Tags: upstream-0.9.3
ImportĀ upstreamĀ versionĀ 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * This file is part of TelepathyQt
 
3
 *
 
4
 * @copyright Copyright (C) 2011-2012 Collabora Ltd. <http://www.collabora.co.uk/>
 
5
 * @license LGPL 2.1
 
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) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Lesser General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Lesser General Public
 
18
 * License along with this library; if not, write to the Free Software
 
19
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
20
 */
 
21
#ifndef _TelepathyQt_pending_debug_message_list_h_HEADER_GUARD_
 
22
#define _TelepathyQt_pending_debug_message_list_h_HEADER_GUARD_
 
23
 
 
24
#ifndef IN_TP_QT_HEADER
 
25
#error IN_TP_QT_HEADER
 
26
#endif
 
27
 
 
28
#include <TelepathyQt/Types>
 
29
#include <TelepathyQt/PendingOperation>
 
30
 
 
31
namespace Tp
 
32
{
 
33
 
 
34
class TP_QT_EXPORT PendingDebugMessageList : public Tp::PendingOperation
 
35
{
 
36
    Q_OBJECT
 
37
    Q_DISABLE_COPY(PendingDebugMessageList)
 
38
 
 
39
public:
 
40
    virtual ~PendingDebugMessageList();
 
41
 
 
42
    DebugMessageList result() const;
 
43
 
 
44
private Q_SLOTS:
 
45
    TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher*);
 
46
 
 
47
private:
 
48
    friend class DebugReceiver;
 
49
    TP_QT_NO_EXPORT PendingDebugMessageList(const QDBusPendingCall &call,
 
50
            const SharedPtr<RefCounted> &object);
 
51
 
 
52
    struct Private;
 
53
    friend struct Private;
 
54
    Private *mPriv;
 
55
};
 
56
 
 
57
} // Tp
 
58
 
 
59
#endif