libept
Main Page
Namespaces
Classes
Files
File List
File Members
ept
progresscallback.h
Go to the documentation of this file.
1
6
#ifndef EPT_PROGRESSCALLBACK_H
7
#define EPT_PROGRESSCALLBACK_H
8
9
#include <apt-pkg/acquire.h>
10
11
namespace
ept {
12
13
class
ProgressCallback
:
public
pkgAcquireStatus
14
{
15
protected
:
16
virtual
bool
Pulse
(pkgAcquire *Owner);
17
public
:
18
ProgressCallback
() {};
19
virtual
~ProgressCallback
() {};
20
virtual
bool
MediaChange
(
string
,
string
) {
return
false
; }
// bah
21
22
// override this to get periodic updates
23
virtual
void
UpdatePulse
(
double
,
double
,
unsigned
long
) {}
24
};
25
26
}
27
28
#endif
Generated on Sat Nov 2 2013 08:30:07 for libept by
1.8.1.2