diff options
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r-- | plugins/HistoryPlusPlus/historypp.dpr | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr index 746459a1a6..6f5a19d9da 100644 --- a/plugins/HistoryPlusPlus/historypp.dpr +++ b/plugins/HistoryPlusPlus/historypp.dpr @@ -128,21 +128,6 @@ function OnEventDeleted(wParam: WPARAM; lParam: LPARAM): Integer; cdecl; forward function OnMetaDefaultChanged(wParam: WPARAM; lParam: LPARAM): Integer; cdecl; forward;
function OnPreshutdown(wParam: WPARAM; lParam: LPARAM): Integer; cdecl; forward;
-// tell Miranda about this plugin ExVersion
-function MirandaPluginInfoEx(mirandaVersion:DWORD): PPLUGININFOEX; cdecl;
-begin
- PluginInfo.cbSize:= SizeOf(TPLUGININFOEX);
- PluginInfo.shortName:= hppShortNameV;
- PluginInfo.version:= hppVersion;
- PluginInfo.description:= hppDescription;
- PluginInfo.author:= hppAuthor;
- PluginInfo.copyright:= hppCopyright;
- PluginInfo.homepage:= hppHomePageURL;
- PluginInfo.flags:= UNICODE_AWARE;
- PluginInfo.uuid:= MIID_HISTORYPP;
- Result := @PluginInfo;
-end;
-
var
PluginInterfaces: array[0..1] of TGUID;
@@ -518,7 +503,6 @@ begin end;
exports
- MirandaPluginInfoEx,
MirandaPluginInterfaces,
Load,
Unload;
@@ -526,6 +510,16 @@ exports begin
DisableThreadLibraryCalls(hInstance);
+ PluginInfo.cbSize:= SizeOf(TPLUGININFOEX);
+ PluginInfo.shortName:= hppShortNameV;
+ PluginInfo.version:= hppVersion;
+ PluginInfo.description:= hppDescription;
+ PluginInfo.author:= hppAuthor;
+ PluginInfo.copyright:= hppCopyright;
+ PluginInfo.homepage:= hppHomePageURL;
+ PluginInfo.flags:= UNICODE_AWARE;
+ PluginInfo.uuid:= MIID_HISTORYPP;
+
// decreasing ref count to oleaut32.dll as said
// in plugins doc
FreeLibrary(GetModuleHandle('oleaut32.dll'));
|