From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Plugins/Input/in_mp4/infobox.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Src/Plugins/Input/in_mp4/infobox.cpp (limited to 'Src/Plugins/Input/in_mp4/infobox.cpp') diff --git a/Src/Plugins/Input/in_mp4/infobox.cpp b/Src/Plugins/Input/in_mp4/infobox.cpp new file mode 100644 index 00000000..c9630997 --- /dev/null +++ b/Src/Plugins/Input/in_mp4/infobox.cpp @@ -0,0 +1,20 @@ +#include "main.h" +#include "resource.h" +#include "../winamp/in2.h" +#include "api__in_mp4.h" + +int infoDlg(const wchar_t *fn, HWND hwnd) +{ // this has been made obsolete by the below. + return 0; +} + +extern "C" +{ + // return 1 if you want winamp to show it's own file info dialogue, 0 if you want to show your own (via In_Module.InfoBox) + // if returning 1, remember to implement winampGetExtendedFileInfo("formatinformation")! + __declspec(dllexport) int winampUseUnifiedFileInfoDlg(const wchar_t * fn) + { + return 1; + } + // no advanced pane in this plugin :) +}; -- cgit