diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2008-02-28 12:24:39 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2008-02-28 12:24:39 +0000 |
commit | f1342d326de3d591718bd4e43c752266013e3c95 (patch) | |
tree | d7eaee5041cd6058d895bb4a3b2ff9d9b9094221 /Plugins/emoticons/commons.h | |
parent | 9d34ad4a1e973d76f47f5001f47e58e2bee4b14f (diff) |
Support for borkra's version of custom smileys
Option to disable custom smileys
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@58 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/emoticons/commons.h')
-rw-r--r-- | Plugins/emoticons/commons.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/Plugins/emoticons/commons.h b/Plugins/emoticons/commons.h index c132f89..f924b9d 100644 --- a/Plugins/emoticons/commons.h +++ b/Plugins/emoticons/commons.h @@ -68,7 +68,7 @@ using namespace std; #include <m_anismiley.h>
#include <anismiley.tlh>
#include <m_smileyadd.h>
-#include <m_customsmileys.h>
+#include <m_netlib.h>
#include "../utils/mir_memory.h"
#include "../utils/mir_options.h"
@@ -89,7 +89,7 @@ using namespace std; extern HINSTANCE hInst;
extern PLUGINLINK *pluginLink;
extern FI_INTERFACE *fei;
-
+extern HANDLE hChangedEvent;
#define MIR_FREE(_X_) { mir_free(_X_); _X_ = NULL; }
#define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0]) )
@@ -116,6 +116,7 @@ struct EmoticonImage BOOL isAvaiableFor(char *nodule);
};
+
struct Emoticon
{
char *name;
@@ -130,24 +131,16 @@ struct Emoticon ~Emoticon();
};
+
struct CustomEmoticon
{
TCHAR *text;
char *path;
- BOOL downloading;
+ DWORD firstReceived;
- CustomEmoticon() : text(0), path(0), downloading(FALSE) {}
+ CustomEmoticon() : text(0), path(0), firstReceived(0) {}
};
-struct DowloadingEmoticon
-{
- char *path;
- void *img;
-
- DowloadingEmoticon() : path(0), img(0) {}
- ~DowloadingEmoticon();
- void Downloaded();
-};
struct Module
{
@@ -173,6 +166,7 @@ struct EmoticonPack ~EmoticonPack();
};
+
struct RichEditCtrl
{
HWND hwnd;
|