diff options
-rw-r--r-- | include/delphi/testdll.dpr | 4 | ||||
-rw-r--r-- | plugins/testplugin/src/testplug.cpp | 5 | ||||
-rw-r--r-- | protocols/Telegram/src/main.cpp | 5 |
3 files changed, 0 insertions, 14 deletions
diff --git a/include/delphi/testdll.dpr b/include/delphi/testdll.dpr index 135ceeb0a0..b0318df59c 100644 --- a/include/delphi/testdll.dpr +++ b/include/delphi/testdll.dpr @@ -6,9 +6,6 @@ uses var
PluginInterfaces:array [0..1] of MUUID;
-function MirandaPluginInfoEx(mirandaVersion:dword):PPLUGININFOEX; cdecl;
-begin
- result:=@PluginInfo;
PluginInfo.cbSize :=SizeOf(TPLUGININFOEX);
PluginInfo.shortName :='Plugin Template';
PluginInfo.version :=$00000001;
@@ -18,7 +15,6 @@ begin PluginInfo.homepage :='http://miranda-icq.sourceforge.net/';
PluginInfo.flags :=UNICODE_AWARE;
PluginInfo.uuid :=MIID_TESTPLUGIN;//'{08B86253-EC6E-4d09-B7A9-64ACDF0627B8}';
-end;
function PluginMenuCommand(wParam: WPARAM; lParam: LPARAM):int_ptr; cdecl;
begin
diff --git a/plugins/testplugin/src/testplug.cpp b/plugins/testplugin/src/testplug.cpp index 2a3531be06..cfefe07773 100644 --- a/plugins/testplugin/src/testplug.cpp +++ b/plugins/testplugin/src/testplug.cpp @@ -46,11 +46,6 @@ INT_PTR PluginMenuCommand(WPARAM wParam, LPARAM lParam) return 0;
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
-{
- return &pluginInfo;
-}
-
extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_TESTPLUGIN, MIID_LAST};
extern "C" __declspec(dllexport) int Load()
diff --git a/protocols/Telegram/src/main.cpp b/protocols/Telegram/src/main.cpp index 85990de1ef..3e25624f7f 100644 --- a/protocols/Telegram/src/main.cpp +++ b/protocols/Telegram/src/main.cpp @@ -17,11 +17,6 @@ PLUGININFOEX pluginInfo = }; -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) -{ - return &pluginInfo; -} - ///////////////////////////////////////////////////////////////////////////////////////// CMPlugin g_plugin; |