diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-23 16:11:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-23 16:11:59 +0300 |
commit | a7d5cce8e2cea97d52a35a1769d0e87e84e5502a (patch) | |
tree | 328aa85baa74ea929faa4c09b5e4c49b0cada896 /plugins/HistoryPlusPlus/historypp.dpr | |
parent | 7249e4f451c89d778ce0f211eb0730e6fa3adc04 (diff) |
we don't need MirandaPluginInfoEx() anymore. farewell, my lovely
Diffstat (limited to 'plugins/HistoryPlusPlus/historypp.dpr')
-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'));
|