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_wmvdrm/Main.h | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Src/Plugins/Input/in_wmvdrm/Main.h (limited to 'Src/Plugins/Input/in_wmvdrm/Main.h') diff --git a/Src/Plugins/Input/in_wmvdrm/Main.h b/Src/Plugins/Input/in_wmvdrm/Main.h new file mode 100644 index 00000000..85b3e4b5 --- /dev/null +++ b/Src/Plugins/Input/in_wmvdrm/Main.h @@ -0,0 +1,52 @@ +#ifndef NULLSOFT_MAINH +#define NULLSOFT_MAINH + +#define WMDRM_VERSION L"3.95" + +#include "WinampInterface.h" +#include "../Winamp/in2.h" +#include +#include "WMDRMModule.h" +#include +#include +#include "config.h" +#include "WMHandler.h" +#include "util.h" +#include "FileTypes.h" +#include "TagAlias.h" +#include "WMInformation.h" +#include "../nu/AutoWide.h" +#include "../nu/AutoChar.h" +#include "vidutils.h" +#include "api.h" + +extern WMInformation *setFileInfo; + +struct IDispatch; +extern IDispatch *winampExternal; + +extern WinampInterface winamp; +extern In_Module plugin; + +extern WMDRM mod; + +#ifdef _DEBUG +#define SHOW_CALLBACKS +#endif + +//#define SHOW_CALLBACKS + +#ifdef SHOW_CALLBACKS +#include +#define WMTCASE(sw) case sw: std::cerr << #sw << std::endl; +#define WMT_SHOW_HR_CODE(hr) std::cerr << HRErrorCode(hr) << std::endl; +#else +#define WMTCASE(sw) case sw: +#define WMT_SHOW_HR_CODE(hr) +#endif + +// {B6CB4A7C-A8D0-4c55-8E60-9F7A7A23DA0F} +static const GUID playbackConfigGroupGUID = +{ 0xb6cb4a7c, 0xa8d0, 0x4c55, { 0x8e, 0x60, 0x9f, 0x7a, 0x7a, 0x23, 0xda, 0xf } }; + +#endif \ No newline at end of file -- cgit