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/Library/ml_webdev/commands.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Src/Plugins/Library/ml_webdev/commands.h (limited to 'Src/Plugins/Library/ml_webdev/commands.h') diff --git a/Src/Plugins/Library/ml_webdev/commands.h b/Src/Plugins/Library/ml_webdev/commands.h new file mode 100644 index 00000000..e5e93ae7 --- /dev/null +++ b/Src/Plugins/Library/ml_webdev/commands.h @@ -0,0 +1,29 @@ +#ifndef NULLSOFT_WEBDEV_PLUGIN_COMMANDS_HEADER +#define NULLSOFT_WEBDEV_PLUGIN_COMMANDS_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include + +typedef LPVOID HNAVITEM; +class ifc_omservice; + +HRESULT Command_NavigateService(ifc_omservice *service, LPCWSTR pszUrl, BOOL fActiveOnly); +HRESULT Command_PostNavigateSvc(ifc_omservice *service, LPCWSTR pszUrl, BOOL fActiveOnly); +HRESULT Command_EditService(ifc_omservice *service); +HRESULT Command_ReloadService(ifc_omservice *service); +HRESULT Command_ResetPermissions(ifc_omservice *service); +HRESULT Command_LocateService(ifc_omservice *service); +HRESULT Command_EditServiceExternal(ifc_omservice *service); +HRESULT Command_DeleteItem(HNAVITEM hItem); +HRESULT Command_DeleteAll(); +HRESULT Command_CreateService(void); +HRESULT Command_OpenView(HNAVITEM hItem); +HRESULT Command_NewWindow(HNAVITEM hItem); +HRESULT Command_ShowBrowserOptions(void); + +BOOL CommandManager_Process(HNAVITEM hItem, ifc_omservice *service, UINT commandId); + +#endif //NULLSOFT_WEBDEV_PLUGIN_COMMANDS_HEADER \ No newline at end of file -- cgit