summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/AvatarHistory.h
diff options
context:
space:
mode:
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