diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-29 19:42:01 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-29 19:42:01 +0000 |
commit | efd0c6a4ad866396e45dc5ab6e4da6d18fceccd3 (patch) | |
tree | 226390b8e33e9e55d2766da3e46d5a822aa4a41d /plugins/Toaster/src/main.cpp | |
parent | 084110de8be5ea84ec86d643c9ca4c2ea5aa65dc (diff) |
Toaster: converting avatars to png
git-svn-id: http://svn.miranda-ng.org/main/trunk@15102 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/main.cpp')
-rw-r--r-- | plugins/Toaster/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp index ccfedcefa1..eb8a9e50f1 100644 --- a/plugins/Toaster/src/main.cpp +++ b/plugins/Toaster/src/main.cpp @@ -3,6 +3,7 @@ int hLangpack;
HINSTANCE g_hInstance;
+HANDLE g_hTempAvatarsFolder;
PLUGININFOEX pluginInfo =
{
@@ -40,6 +41,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
+ g_hTempAvatarsFolder = FoldersRegisterCustomPathT(MODULE, Translate("Temp avatars"), VARSW(L"%miranda_userdata%\\Temp"));
HookEvent(ME_SYSTEM_PRESHUTDOWN, &OnPreShutdown);
InitServices();
|