LCOV - lcov.info - ept/progresscallback.h

LTP GCOV extension - code coverage report
Current view: | directory - ept - progresscallback.h
Test: | lcov.info
Date: | 2008-08-14 |  | Instrumented lines: | 3
Code covered: | 0.0 % |  | Executed lines: | 0

           1                 : /** -*- C++ -*-
           2                 :         @file progresscallback.h
           3                 :         @author Michael Vogt <mvo@debian.org>
           4                 : */
           5                 :
           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               0 :     virtual ~ProgressCallback() {};
          20               0 :     virtual bool MediaChange( string, string ) { return false; } // bah
          21                 :
          22                 :     // override this to get periodic updates
          23               0 :     virtual void UpdatePulse( double, double, unsigned long ) {}
          24                 : };
          25                 :
          26                 : }
          27                 :
          28                 : #endif

Generated by: LTP GCOV extension version 1.6