File indexing completed on 2024-04-28 05:32:09
0001 #ifndef oxygencairosurfacecache_h 0002 #define oxygencairosurfacecache_h 0003 0004 /* 0005 * this file is part of the oxygen gtk engine 0006 * SPDX-FileCopyrightText: 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr> 0007 * 0008 * SPDX-License-Identifier: LGPL-2.0-or-later 0009 */ 0010 0011 #include "oxygencache.h" 0012 #include "oxygencairosurface.h" 0013 0014 #include <cairo.h> 0015 0016 namespace Oxygen 0017 { 0018 0019 0020 template< typename T> 0021 class CairoSurfaceCache: public Cache<T, Cairo::Surface> 0022 { 0023 0024 public: 0025 0026 //! constructor 0027 CairoSurfaceCache( size_t size = 100 ): 0028 Cache<T, Cairo::Surface>( size ) 0029 {} 0030 0031 //! destructor 0032 virtual ~CairoSurfaceCache( void ) 0033 {} 0034 0035 }; 0036 0037 } 0038 0039 #endif