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/Library/ml_online/commands.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/Library/ml_online/commands.h')
-rw-r--r-- | Src/Plugins/Library/ml_online/commands.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Src/Plugins/Library/ml_online/commands.h b/Src/Plugins/Library/ml_online/commands.h new file mode 100644 index 00000000..79aec555 --- /dev/null +++ b/Src/Plugins/Library/ml_online/commands.h @@ -0,0 +1,29 @@ +#ifndef NULLOSFT_ONLINEMEDIA_PLUGIN_COMMANDS_HEADER +#define NULLOSFT_ONLINEMEDIA_PLUGIN_COMMANDS_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include <wtypes.h> + +class ifc_omservice; + +// returns TRUE if command was handled (fSuccess will have result code if not NULL). + +HRESULT Command_NavigateService(ifc_omservice *service, LPCWSTR pszUrl, BOOL fActiveOnly); +BOOL Command_ProcessService(HWND hView, ifc_omservice *service, INT commandId, BOOL *fSuccess); +BOOL Command_ProcessView(HWND hView, INT commandId, BOOL *fSuccess); +BOOL Command_ProcessGeneral(INT commandId, BOOL *fSuccess); + +BOOL Command_ReportService(ifc_omservice *service); +BOOL Command_UnsubscribeService(ifc_omservice *service); +BOOL Command_ShowServiceInfo(ifc_omservice *service); +BOOL Command_ResetServicePolicy(ifc_omservice *service); +BOOL Command_ResetSubscription(); +BOOL Command_SetServiceRating(ifc_omservice *service, INT rating); +HRESULT Command_CreateService(void); +BOOL Command_OpenServiceView(ifc_omservice *service); +BOOL Command_OpenServicePopup(ifc_omservice *service); + +#endif //NULLOSFT_ONLINEMEDIA_PLUGIN_COMMANDS_HEADER
\ No newline at end of file |