2
* Copyright (C) 2009-2010 Collabora Ltd. <info@collabora.co.uk>
3
* @Author Dario Freddi <dario.freddi@collabora.co.uk>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
#ifndef LIBKTP_TELEPATHY_BASE_JOB_P_H
21
#define LIBKTP_TELEPATHY_BASE_JOB_P_H
23
#include "telepathy-base-job.h"
28
class PendingOperation;
34
class TelepathyBaseJobPrivate
36
Q_DECLARE_PUBLIC(TelepathyBaseJob)
39
TelepathyBaseJob* q_ptr;
42
TelepathyBaseJobPrivate();
43
virtual ~TelepathyBaseJobPrivate();
45
QList< Tp::PendingOperation* > operations;
46
QList< QPair< QString, QString > > telepathyErrors;
48
void addOperation(Tp::PendingOperation* op);
50
// Operation Q_PRIVATE_SLOTS
51
void __k__tpOperationFinished(Tp::PendingOperation* op);
52
void __k__doEmitResult();
57
#endif // LIBKTP_TELEPATHY_BASE_JOB_P_H