commands.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. #ifndef NULLSOFT_WEBDEV_PLUGIN_COMMANDS_HEADER
  2. #define NULLSOFT_WEBDEV_PLUGIN_COMMANDS_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. typedef LPVOID HNAVITEM;
  8. class ifc_omservice;
  9. HRESULT Command_NavigateService(ifc_omservice *service, LPCWSTR pszUrl, BOOL fActiveOnly);
  10. HRESULT Command_PostNavigateSvc(ifc_omservice *service, LPCWSTR pszUrl, BOOL fActiveOnly);
  11. HRESULT Command_EditService(ifc_omservice *service);
  12. HRESULT Command_ReloadService(ifc_omservice *service);
  13. HRESULT Command_ResetPermissions(ifc_omservice *service);
  14. HRESULT Command_LocateService(ifc_omservice *service);
  15. HRESULT Command_EditServiceExternal(ifc_omservice *service);
  16. HRESULT Command_DeleteItem(HNAVITEM hItem);
  17. HRESULT Command_DeleteAll();
  18. HRESULT Command_CreateService(void);
  19. HRESULT Command_OpenView(HNAVITEM hItem);
  20. HRESULT Command_NewWindow(HNAVITEM hItem);
  21. HRESULT Command_ShowBrowserOptions(void);
  22. BOOL CommandManager_Process(HNAVITEM hItem, ifc_omservice *service, UINT commandId);
  23. #endif //NULLSOFT_WEBDEV_PLUGIN_COMMANDS_HEADER