diff options
author | lordjaxom <lordjaxom> | 2005-01-27 10:53:07 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-27 10:53:07 +0000 |
commit | f36b8016c77511ff6740d05e8e6f561fbe24765c (patch) | |
tree | 23e27b958daa877d021691b74523ae7de710bcf2 /bitmap.h | |
parent | f1fccd526b62c34d7e488cf3b7662e5e4343647d (diff) | |
download | vdr-plugin-text2skin-f36b8016c77511ff6740d05e8e6f561fbe24765c.tar.gz vdr-plugin-text2skin-f36b8016c77511ff6740d05e8e6f561fbe24765c.tar.bz2 |
- adapted for gcc 3
Diffstat (limited to 'bitmap.h')
-rw-r--r-- | bitmap.h | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -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<tBitmapSpec,cText2SkinBitmap*>::Delete(const tBitmapSpec &Key, + cText2SkinBitmap *&Data); +template<> +void cxCache<tBitmapSpec,cText2SkinBitmap*>::Reset(cText2SkinBitmap *&Data); + class cText2SkinBitmap { private: static cxCache<tBitmapSpec,cText2SkinBitmap*> mCache; @@ -88,10 +96,4 @@ inline void cText2SkinBitmap::SetColor(int Index, tColor Color) { mBitmaps[mCurrent]->SetColor(Index, Color); } -template<> -void cxCache<tBitmapSpec,cText2SkinBitmap*>::Delete(const tBitmapSpec &Key, - cText2SkinBitmap *&Data); -template<> -void cxCache<tBitmapSpec,cText2SkinBitmap*>::Reset(cText2SkinBitmap *&Data); - #endif // VDR_TEXT2SKIN_BITMAP_H |