Lomiri Download Manager
0.1.1
A session-wide downloading service
Loading...
Searching...
No Matches
group_download.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2013 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 "
error.h
"
20
#include "
group_download.h
"
21
22
namespace
Lomiri
{
23
24
namespace
DownloadManager {
25
26
GroupDownload::GroupDownload
(
Error
* err,
QObject
* parent)
27
:
QObject
(parent),
28
_error(err) {
29
// TODO(mandel): complete implementation
30
Q_UNUSED(err);
31
}
32
33
GroupDownload::GroupDownload
(QDBusObjectPath path,
QObject
*parent)
34
:
QObject
(parent) {
35
// TODO(mandel): complete implementation
36
Q_UNUSED(path);
37
}
38
39
GroupDownload::~GroupDownload
() {
40
delete
_error;
41
}
42
43
bool
44
GroupDownload::isError
() {
45
// TODO(mandel): complete implementation
46
return
false
;
47
}
48
49
Error
*
50
GroupDownload::error
() {
51
// TODO(mandel): complete implementation
52
return
NULL;
53
}
54
55
}
// DownloadManager
56
57
}
// Lomiri
Lomiri::DownloadManager::Error
The Error class is the base class that represents an error in the download manager API.
Definition
error.h:55
Lomiri::DownloadManager::GroupDownload::error
Error * error()
Definition
group_download.cpp:50
Lomiri::DownloadManager::GroupDownload::GroupDownload
GroupDownload(Error *err, QObject *parent=0)
Definition
group_download.cpp:26
Lomiri::DownloadManager::GroupDownload::isError
bool isError()
Definition
group_download.cpp:44
Lomiri::DownloadManager::GroupDownload::~GroupDownload
virtual ~GroupDownload()
Definition
group_download.cpp:39
QObject
error.h
group_download.h
Lomiri
Definition
download.h:26
src
downloads
client
lomiri
download_manager
group_download.cpp
Generated on Tue Jan 16 2024 00:00:00 for Lomiri Download Manager by
1.10.0