diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/Input/in_wmvdrm/Main.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/Plugins/Input/in_wmvdrm/Main.h')
-rw-r--r-- | Src/Plugins/Input/in_wmvdrm/Main.h | 52 |
1 files changed, 52 insertions, 0 deletions
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 <windows.h> +#include "WMDRMModule.h" +#include <shlwapi.h> +#include <wmsdk.h> +#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 <iostream> +#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 |