Ubuntu Download Manager: /build/ubuntu-download-manager-git/src/ubuntu-download-manager/src/downloads/client/ubuntu/download_manager/pending_call_watcher.cpp Source File

Ubuntu Download Manager 1.2.0 A session-wide downloading service |

pending_call_watcher.cpp
Go to the documentation of this file.
1 /*
2 * Copyright 2014 Canonical Ltd.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of version 3 of the GNU Lesser General Public
6 * License as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 * Boston, MA 02110-1301, USA.
17 */
18
19 #include "pending_call_watcher.h"
20
21 namespace Ubuntu {
22
23 namespace DownloadManager {
24
25 PendingCallWatcher::PendingCallWatcher(const QDBusConnection& conn,
26 const QString& servicePath,
27 const QDBusPendingCall& call,
28 QObject* parent)
29 : QDBusPendingCallWatcher(call, parent),
30 _conn(conn),
31 _servicePath(servicePath) {
32 }
33
34 } // DownloadManager
35
36 } // Ubuntu
QObject
Ubuntu
Definition: download.h:26
pending_call_watcher.h