From f36b8016c77511ff6740d05e8e6f561fbe24765c Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Thu, 27 Jan 2005 10:53:07 +0000 Subject: - adapted for gcc 3 --- bitmap.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'bitmap.h') diff --git a/bitmap.h b/bitmap.h index 33d40ad..9a3c53e 100644 --- a/bitmap.h +++ b/bitmap.h @@ -1,5 +1,5 @@ /* - * $Id: bitmap.h,v 1.4 2005/01/26 20:44:06 lordjaxom Exp $ + * $Id: bitmap.h,v 1.5 2005/01/27 10:53:07 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_BITMAP_H @@ -48,6 +48,14 @@ inline bool tBitmapSpec::operator==(const tBitmapSpec &Src) const && Colors == Src.Colors; } +class cText2SkinBitmap; + +template<> +void cxCache::Delete(const tBitmapSpec &Key, + cText2SkinBitmap *&Data); +template<> +void cxCache::Reset(cText2SkinBitmap *&Data); + class cText2SkinBitmap { private: static cxCache mCache; @@ -88,10 +96,4 @@ inline void cText2SkinBitmap::SetColor(int Index, tColor Color) { mBitmaps[mCurrent]->SetColor(Index, Color); } -template<> -void cxCache::Delete(const tBitmapSpec &Key, - cText2SkinBitmap *&Data); -template<> -void cxCache::Reset(cText2SkinBitmap *&Data); - #endif // VDR_TEXT2SKIN_BITMAP_H -- cgit v1.2.3