diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 19:01:20 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 19:01:20 +0000 |
commit | 2bc706393a8c7abcea515ffb1da885c6dad5b1cb (patch) | |
tree | e521ee0fe656ea1287e2219cd35b1d2c2e9ac85a /plugins/WhenWasIt | |
parent | 24e08db111e2d3602e24215ac7af18169d23add8 (diff) |
removed not needed interfaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@3481 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt')
-rw-r--r-- | plugins/WhenWasIt/src/WhenWasIt.cpp | 11 | ||||
-rw-r--r-- | plugins/WhenWasIt/src/commonheaders.h | 1 |
2 files changed, 3 insertions, 9 deletions
diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp index 07d7ce0548..093c4b33c0 100644 --- a/plugins/WhenWasIt/src/WhenWasIt.cpp +++ b/plugins/WhenWasIt/src/WhenWasIt.cpp @@ -39,7 +39,7 @@ PLUGININFOEX pluginInfo = { __COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
- //{2ff96c84-b0b5-470e-bbf9-907b9f3f5d2f}
+ // {2ff96c84-b0b5-470e-bbf9-907b9f3f5d2f}
{0x2ff96c84, 0xb0b5, 0x470e, {0xbb, 0xf9, 0x90, 0x7b, 0x9f, 0x3f, 0x5d, 0x2f}}
};
@@ -48,10 +48,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_BIRTHDAYNOTIFY, MIID_LAST};
-
-#include <commctrl.h>
-
extern "C" int __declspec(dllexport) Load(void)
{
Log("%s", "Entering function " __FUNCTION__);
@@ -103,11 +99,8 @@ extern "C" int __declspec(dllexport) Unload() return 0;
}
-bool WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
+bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
hInstance = hinstDLL;
- if (fdwReason == DLL_PROCESS_ATTACH)
- DisableThreadLibraryCalls(hinstDLL);
-
return TRUE;
}
diff --git a/plugins/WhenWasIt/src/commonheaders.h b/plugins/WhenWasIt/src/commonheaders.h index 9576d787c1..a4d54b019b 100644 --- a/plugins/WhenWasIt/src/commonheaders.h +++ b/plugins/WhenWasIt/src/commonheaders.h @@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <windows.h>
#include <time.h>
#include <math.h>
+#include <commctrl.h>
#include <newpluginapi.h>
#include <m_database.h>
|