diff options
author | lordjaxom <lordjaxom> | 2005-01-27 17:31:35 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-27 17:31:35 +0000 |
commit | 26ccaf1e7ead2457135f34321cc58c8b6f87a9ab (patch) | |
tree | 16ec36ad8751ef584bd107bda1c3bd927f723c95 /bitmap.c | |
parent | 0e277b89bd336eede90215ec6485df968e4954c4 (diff) | |
download | vdr-plugin-text2skin-26ccaf1e7ead2457135f34321cc58c8b6f87a9ab.tar.gz vdr-plugin-text2skin-26ccaf1e7ead2457135f34321cc58c8b6f87a9ab.tar.bz2 |
- moved template specialisations to bitmap.h for buggy compilers
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -1,5 +1,5 @@ /* - * $Id: bitmap.c,v 1.8 2005/01/27 13:03:24 lordjaxom Exp $ + * $Id: bitmap.c,v 1.9 2005/01/27 17:31:35 lordjaxom Exp $ */ #include "bitmap.h" @@ -18,18 +18,6 @@ using namespace Magick; cxCache<tBitmapSpec,cText2SkinBitmap*> cText2SkinBitmap::mCache(Text2SkinSetup.MaxCacheFill); -template<> -void cxCache<tBitmapSpec,cText2SkinBitmap*>::Delete(const tBitmapSpec &Key, cText2SkinBitmap *&Data) -{ - delete Data; -} - -template<> -void cxCache<tBitmapSpec,cText2SkinBitmap*>::Reset(cText2SkinBitmap *&Data) -{ - Data->Reset(); -} - cText2SkinBitmap *cText2SkinBitmap::Load(const std::string &Filename, int Alpha, int height, int width, int colors, bool Quiet) { tBitmapSpec spec(Filename, Alpha, height, width, colors); |