diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/omBrowser/ifc_omstatusbarconfig.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/omBrowser/ifc_omstatusbarconfig.h')
-rw-r--r-- | Src/omBrowser/ifc_omstatusbarconfig.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Src/omBrowser/ifc_omstatusbarconfig.h b/Src/omBrowser/ifc_omstatusbarconfig.h new file mode 100644 index 00000000..cf9e8473 --- /dev/null +++ b/Src/omBrowser/ifc_omstatusbarconfig.h @@ -0,0 +1,46 @@ +#ifndef NULLSOFT_WINAMP_OMBROWSER_STATUSBAR_CONFIG_INTERFACE_HEADER +#define NULLSOFT_WINAMP_OMBROWSER_STATUSBAR_CONFIG_INTERFACE_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#define CFGID_STATUSBAR_ENABLED 0 // param = (ULONG_PTR)(BOOL)fEnabled + +// {98ABEE7F-06F4-4652-886D-58E1769E2592} +static const GUID IFC_OmStatusbarConfig = +{ 0x98abee7f, 0x6f4, 0x4652, { 0x88, 0x6d, 0x58, 0xe1, 0x76, 0x9e, 0x25, 0x92 } }; + +#include <bfc/dispatch.h> + +class __declspec(novtable) ifc_omstatusbarconfig : public Dispatchable +{ +protected: + ifc_omstatusbarconfig() {} + ~ifc_omstatusbarconfig() {} + +public: + HRESULT GetEnabled(void); + HRESULT EnableStatusbar(BOOL fEnable); + +public: + DISPATCH_CODES + { + API_GETENABLED = 10, + API_ENABLESTATUSBAR = 20, + }; +}; + +inline HRESULT ifc_omstatusbarconfig::GetEnabled(void) +{ + return _call(API_GETENABLED, (HRESULT)E_NOTIMPL); +} + + +inline HRESULT ifc_omstatusbarconfig::EnableStatusbar(BOOL fEnable) +{ + return _call(API_ENABLESTATUSBAR, (HRESULT)E_NOTIMPL, fEnable); +} + + +#endif // NULLSOFT_WINAMP_OMBROWSER_STATUSBAR_CONFIG_INTERFACE_HEADER
\ No newline at end of file |