LCOV - code coverage report
Current view: top level - co - bufferListener.h (source / functions) Hit Total Coverage
Test: Collage Lines: 2 2 100.0 %
Date: 2016-12-14 01:26:48 Functions: 2 3 66.7 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2012, Stefan.Eilemann@epfl.ch
       3             :  *
       4             :  * This file is part of Collage <https://github.com/Eyescale/Collage>
       5             :  *
       6             :  * This library is free software; you can redistribute it and/or modify it under
       7             :  * the terms of the GNU Lesser General Public License version 2.1 as published
       8             :  * by the Free Software Foundation.
       9             :  *
      10             :  * This library is distributed in the hope that it will be useful, but WITHOUT
      11             :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
      12             :  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
      13             :  * details.
      14             :  *
      15             :  * You should have received a copy of the GNU Lesser General Public License
      16             :  * along with this library; if not, write to the Free Software Foundation, Inc.,
      17             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      18             :  */
      19             : 
      20             : #ifndef CO_BUFFERLISTENER_H
      21             : #define CO_BUFFERLISTENER_H
      22             : 
      23             : namespace co
      24             : {
      25             :     /** A listener interface to buffer state changes. */
      26         112 :     class BufferListener
      27             :     {
      28             :     public:
      29         109 :         virtual ~BufferListener() {}
      30             : 
      31             :         virtual void notifyFree( Buffer* ) = 0; //!< No references left
      32             :     };
      33             : }
      34             : 
      35             : #endif // CO_BUFFER_LISTENER_H

Generated by: LCOV version 1.11