summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/yapp.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-08 19:01:20 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-08 19:01:20 +0000
commit2bc706393a8c7abcea515ffb1da885c6dad5b1cb (patch)
treee521ee0fe656ea1287e2219cd35b1d2c2e9ac85a /plugins/YAPP/src/yapp.cpp
parent24e08db111e2d3602e24215ac7af18169d23add8 (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/YAPP/src/yapp.cpp')
-rw-r--r--plugins/YAPP/src/yapp.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/YAPP/src/yapp.cpp b/plugins/YAPP/src/yapp.cpp
index 9b94400299..b9aacd198b 100644
--- a/plugins/YAPP/src/yapp.cpp
+++ b/plugins/YAPP/src/yapp.cpp
@@ -2,7 +2,6 @@
//
#include "common.h"
-#include "yapp.h"
#include "version.h"
#include "message_pump.h"
#include "options.h"
@@ -37,23 +36,21 @@ PLUGININFOEX pluginInfo={
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
- { 0xefd15f16, 0x7ae4, 0x40d7, { 0xa8, 0xe3, 0xa4, 0x11, 0xed, 0x74, 0x7b, 0xd5 } } // {EFD15F16-7AE4-40d7-A8E3-A411ED747BD5}
+ // {EFD15F16-7AE4-40d7-A8E3-A411ED747BD5}
+ {0xefd15f16, 0x7ae4, 0x40d7, {0xa8, 0xe3, 0xa4, 0x11, 0xed, 0x74, 0x7b, 0xd5 }}
};
extern "C" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
hInst = hModule;
- DisableThreadLibraryCalls(hInst);
return TRUE;
}
-extern "C" YAPP_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_POPUPS, MIID_LAST};
-
int ReloadFont(WPARAM wParam, LPARAM lParam)
{
LOGFONT log_font;
@@ -172,7 +169,7 @@ int PreShutdown(WPARAM wParam, LPARAM lParam)
return 0;
}
-extern "C" int YAPP_API Load(void) {
+extern "C" int __declspec(dllexport) Load(void) {
mir_getLP(&pluginInfo);
@@ -186,7 +183,7 @@ extern "C" int YAPP_API Load(void) {
return 0;
}
-extern "C" int YAPP_API Unload()
+extern "C" int __declspec(dllexport) Unload()
{
DeinitNotify();
DeleteObject(hFontFirstLine);