summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/AvatarHistory.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-30 10:38:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-30 10:38:21 +0000
commitdaba159a1438dbd00fb40d7b2ffd772da67a86dc (patch)
tree9957952dd1b787b327d2daba9248141c61d135ae /plugins/AvatarHistory/src/AvatarHistory.h
parentf426fe1769798bf8d88ca455bd0d803a2a76f104 (diff)
AvatarHistory works again
git-svn-id: http://svn.miranda-ng.org/main/trunk@4246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AvatarHistory/src/AvatarHistory.h')
-rw-r--r--plugins/AvatarHistory/src/AvatarHistory.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/plugins/AvatarHistory/src/AvatarHistory.h b/plugins/AvatarHistory/src/AvatarHistory.h
index d58525e618..504549f28b 100644
--- a/plugins/AvatarHistory/src/AvatarHistory.h
+++ b/plugins/AvatarHistory/src/AvatarHistory.h
@@ -25,15 +25,14 @@
#include <m_history.h>
#include <m_imgsrvc.h>
#include <m_icolib.h>
+#include <win2k.h>
#include <m_folders.h>
#include <m_metacontacts.h>
#include "m_avatarhist.h"
-#include "m_historyevents.h"
#include "resource.h"
#include "Version.h"
-#include "../utils/mir_buffer.h"
// Globals
extern HINSTANCE hInst;
@@ -69,6 +68,17 @@ int IcoLibIconsChanged(WPARAM wParam,LPARAM lParam);
int OpenAvatarDialog(HANDLE hContact, char* fn);
+// utils
+
+TCHAR* GetCachedAvatar(char *proto, TCHAR *hash);
+BOOL ProtocolEnabled(const char *proto);
+BOOL ContactEnabled(HANDLE hContact, char *setting, int def);
+BOOL CopyImageFile(TCHAR *old_file, TCHAR *new_file);
+void ConvertToFilename(TCHAR *str, size_t size);
+
+void CreateOldStyleShortcut(HANDLE hContact, TCHAR *history_filename);
+BOOL CreateShortcut(TCHAR *file, TCHAR *shortcut);
+
#define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0]) )
#define POPUP_ACTION_DONOTHING 0