summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-01-27 10:53:07 +0000
committerlordjaxom <lordjaxom>2005-01-27 10:53:07 +0000
commitf36b8016c77511ff6740d05e8e6f561fbe24765c (patch)
tree23e27b958daa877d021691b74523ae7de710bcf2 /bitmap.h
parentf1fccd526b62c34d7e488cf3b7662e5e4343647d (diff)
downloadvdr-plugin-text2skin-f36b8016c77511ff6740d05e8e6f561fbe24765c.tar.gz
vdr-plugin-text2skin-f36b8016c77511ff6740d05e8e6f561fbe24765c.tar.bz2
- adapted for gcc 3
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h16
1 files changed, 9 insertions, 7 deletions
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<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