File: progresscallback.cpp

package info (click to toggle)
libept 1.0.12.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,292 kB
  • ctags: 787
  • sloc: cpp: 4,449; sh: 28; makefile: 17
file content (12 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
#include <ept/progresscallback.h>

namespace ept {

   bool ProgressCallback::Pulse(pkgAcquire *Owner)
   {
      pkgAcquireStatus::Pulse(Owner);
      UpdatePulse(FetchedBytes, CurrentCPS, CurrentItems);
      return true;
   }

}