From 26ccaf1e7ead2457135f34321cc58c8b6f87a9ab Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Thu, 27 Jan 2005 17:31:35 +0000 Subject: - moved template specialisations to bitmap.h for buggy compilers --- bitmap.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'bitmap.h') diff --git a/bitmap.h b/bitmap.h index 9a3c53e..446a94a 100644 --- a/bitmap.h +++ b/bitmap.h @@ -1,5 +1,5 @@ /* - * $Id: bitmap.h,v 1.5 2005/01/27 10:53:07 lordjaxom Exp $ + * $Id: bitmap.h,v 1.6 2005/01/27 17:31:35 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_BITMAP_H @@ -96,4 +96,16 @@ inline void cText2SkinBitmap::SetColor(int Index, tColor Color) { mBitmaps[mCurrent]->SetColor(Index, Color); } +template<> +void cxCache::Delete(const tBitmapSpec &Key, cText2SkinBitmap *&Data) +{ + delete Data; +} + +template<> +void cxCache::Reset(cText2SkinBitmap *&Data) +{ + Data->Reset(); +} + #endif // VDR_TEXT2SKIN_BITMAP_H -- cgit v1.2.3