summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/ExtraImages.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-12 18:59:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-12 18:59:44 +0000
commit4e5548a98703325099017bf6bf04b2fb5edefbd4 (patch)
treed66558d679c6d538ffc6dc6e24214cabece6a6f1 /plugins/Quotes/src/ExtraImages.h
parent74e9b42783af6a0a9d51df6271bca169e3dcc81d (diff)
this code was too crazy to work
git-svn-id: http://svn.miranda-ng.org/main/trunk@10169 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/ExtraImages.h')
-rw-r--r--plugins/Quotes/src/ExtraImages.h35
1 files changed, 8 insertions, 27 deletions
diff --git a/plugins/Quotes/src/ExtraImages.h b/plugins/Quotes/src/ExtraImages.h
index d5581c6df3..ccad667636 100644
--- a/plugins/Quotes/src/ExtraImages.h
+++ b/plugins/Quotes/src/ExtraImages.h
@@ -1,35 +1,16 @@
#ifndef __9d0dac0c_12e4_46ce_809a_db6dc7d6f269_ExtraImages_h__
#define __9d0dac0c_12e4_46ce_809a_db6dc7d6f269_ExtraImages_h__
-class CExtraImages : private boost::noncopyable
+enum EImageIndex
{
-public:
- enum EImageIndex
- {
- eiUp = 0,
- eiDown = 1,
- eiNotChanged = 2,
- eiEmpty = 3,
- ImageCount = 3
- };
-
-private:
- CExtraImages();
- ~CExtraImages();
-
-public:
- static CExtraImages& GetInstance();
-
- void RebuildExtraImages();
- bool SetContactExtraImage(MCONTACT hContact,EImageIndex nIndex)const;
-
-private:
- mutable CLightMutex m_lmExtraImages;
- HANDLE m_ahExtraImages[ImageCount];
- HANDLE m_hExtraIcons;
- bool m_bExtraImagesInit;
+ eiUp = 0,
+ eiDown = 1,
+ eiNotChanged = 2,
+ eiEmpty = 3
};
-// int QuotesEventFunc_onExtraImageApply(WPARAM wp,LPARAM lp);
+bool SetContactExtraImage(MCONTACT hContact,EImageIndex nIndex);
+
+void Quotes_InitExtraIcons(void);
#endif //__9d0dac0c_12e4_46ce_809a_db6dc7d6f269_ExtraImages_h__