LCOV - code coverage report
Current view: top level - lang/cpp/src/interfaces - progressprovider.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 2 2 100.0 %
Date: 2016-12-01 18:45:36 Functions: 2 3 66.7 %

          Line data    Source code
       1             : /*
       2             :   interface/progressprovider.h - Interface for progress reports
       3             :   Copyright (C) 2003 Klarälvdalens Datakonsult AB
       4             : 
       5             :   This file is part of GPGME++.
       6             : 
       7             :   GPGME++ is free software; you can redistribute it and/or
       8             :   modify it under the terms of the GNU Library General Public
       9             :   License as published by the Free Software Foundation; either
      10             :   version 2 of the License, or (at your option) any later version.
      11             : 
      12             :   GPGME++ is distributed in the hope that it will be useful,
      13             :   but WITHOUT ANY WARRANTY; without even the implied warranty of
      14             :   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      15             :   GNU Library General Public License for more details.
      16             : 
      17             :   You should have received a copy of the GNU Library General Public License
      18             :   along with GPGME++; see the file COPYING.LIB.  If not, write to the
      19             :   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
      20             :   Boston, MA 02110-1301, USA.
      21             : */
      22             : 
      23             : #ifndef __GPGMEPP_INTERFACES_PROGRESSPROVIDER_H__
      24             : #define __GPGMEPP_INTERFACES_PROGRESSPROVIDER_H__
      25             : 
      26             : namespace GpgME
      27             : {
      28             : 
      29          36 : class ProgressProvider
      30             : {
      31             : public:
      32          36 :     virtual ~ProgressProvider() {}
      33             : 
      34             :     virtual void showProgress(const char *what, int type,
      35             :                               int current, int total) = 0;
      36             : };
      37             : 
      38             : } // namespace GpgME
      39             : 
      40             : #endif // __GPGMEPP_INTERFACES_PROGRESSPROVIDER_H__

Generated by: LCOV version 1.11