Cupt
cupt
download
progresses
console.hpp
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright (C) 2010 by Eugene V. Lyubimkin *
3
* *
4
* This program is free software; you can redistribute it and/or modify *
5
* it under the terms of the GNU General Public License *
6
* (version 3 or above) 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 *
11
* GNU General Public License for more details. *
12
* *
13
* You should have received a copy of the GNU GPL *
14
* along with this program; if not, write to the *
15
* Free Software Foundation, Inc., *
16
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA *
17
**************************************************************************/
18
#ifndef CUPT_DOWNLOAD_PROGRESSES_CONSOLE_SEEN
19
#define CUPT_DOWNLOAD_PROGRESSES_CONSOLE_SEEN
20
22
23
#include <
cupt/download/progress.hpp
>
24
25
namespace
cupt {
26
27
namespace
internal {
28
29
class
ConsoleProgressImpl;
30
31
}
32
33
namespace
download {
34
36
class
CUPT_API
ConsoleProgress
:
public
Progress
37
{
38
internal::ConsoleProgressImpl* __impl;
39
protected
:
40
virtual
void
newDownloadHook(
const
string
& uri,
const
DownloadRecord
&);
41
virtual
void
finishedDownloadHook(
const
string
& uri,
const
string
& result);
42
virtual
void
updateHook(
bool
immediate);
43
virtual
void
finishHook();
44
public
:
46
ConsoleProgress
();
48
~
ConsoleProgress
();
49
};
50
51
}
52
}
53
54
#endif
55
progress.hpp
cupt::download::Progress
download progress meter
Definition:
progress.hpp:38
cupt::download::Progress::DownloadRecord
download element
Definition:
progress.hpp:43
cupt::download::ConsoleProgress
console-based download progress meter
Definition:
console.hpp:36
Generated by
1.8.17