summaryrefslogtreecommitdiff
path: root/Plugins/emoticons/commons.h
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-03-06 01:06:16 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-03-06 01:06:16 +0000
commitd99eb14835a65e3cf3a97683f215dfb83565b844 (patch)
tree844bc3906c18a08d4a413cdd83d1c379430fb15a /Plugins/emoticons/commons.h
parentcb5087b8f7439b07d294ccafc74827570692dff1 (diff)
Allow URLs in emoticon packs
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@68 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/emoticons/commons.h')
-rw-r--r--Plugins/emoticons/commons.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Plugins/emoticons/commons.h b/Plugins/emoticons/commons.h
index f924b9d..84d0abe 100644
--- a/Plugins/emoticons/commons.h
+++ b/Plugins/emoticons/commons.h
@@ -74,6 +74,7 @@ using namespace std;
#include "../utils/mir_options.h"
#include "../utils/mir_icons.h"
#include "../utils/mir_buffer.h"
+#include "../utils/ContactAsyncQueue.h"
#include "resource.h"
#include "m_emoticons.h"
@@ -102,14 +103,16 @@ struct EmoticonImage
char *name;
char *relPath;
char *module;
+ char *url;
// For selection window
HBITMAP img;
BOOL transparent;
- EmoticonImage() : name(0), relPath(0), img(0), module(0) {}
+ EmoticonImage() : name(0), relPath(0), img(0), module(0), url(0) {}
~EmoticonImage();
+ void Download();
void Load(int &max_height, int &max_width);
void Release();
BOOL isAvaiable();