summaryrefslogtreecommitdiff
path: root/skinengine/src/bitmap_cache.h
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-26 15:41:10 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-26 15:41:10 +0000
commitf04d64869f3b1de54fb343f28f955584780001b8 (patch)
tree5453dc10de3d980de79ffe019fa0b5fcb692a27d /skinengine/src/bitmap_cache.h
parent7aff1e4cb053394db57c2814d5fe1e6493e0cc75 (diff)
Project folders rename part 3
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@215 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'skinengine/src/bitmap_cache.h')
-rw-r--r--skinengine/src/bitmap_cache.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/skinengine/src/bitmap_cache.h b/skinengine/src/bitmap_cache.h
deleted file mode 100644
index 3cf4893..0000000
--- a/skinengine/src/bitmap_cache.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef bitmap_cache_h__
-#define bitmap_cache_h__
-
-class CMyBitmap;
-
-class CBitmapCache
-{
-private:
- struct CacheNode
- {
- TCHAR *path;
- HBITMAP bitmap;
- int refCount;
-
- static int cmp(const CacheNode *p1, const CacheNode *p2)
- {
- return lstrcmp(p1->path, p2->path);
- }
- };
- OBJLIST<CacheNode> m_cache;
-
-public:
- CBitmapCache();
- ~CBitmapCache();
- HBITMAP LoadBitmap(const TCHAR *path);
- void UnloadBitmap(HBITMAP);
-};
-
-// The only instance
-extern CBitmapCache g_BitmapCache;
-
-#endif // bitmap_cache_h__