diff options
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 |