IGlobalShortcuts.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. namespace bs.Editor
  4. {
  5. /** @addtogroup General
  6. * @{
  7. */
  8. /// <summary>
  9. /// Interface for editor windows that can respond to global shortcuts.
  10. /// </summary>
  11. internal interface IGlobalShortcuts
  12. {
  13. /// <summary>
  14. /// Notifies the window that the delete shortcut was pressed.
  15. /// </summary>
  16. void OnDeletePressed();
  17. /// <summary>
  18. /// Notifies the window that the rename shortcut was pressed.
  19. /// </summary>
  20. void OnRenamePressed();
  21. /// <summary>
  22. /// Notifies the window that the duplicate shortcut was pressed.
  23. /// </summary>
  24. void OnDuplicatePressed();
  25. /// <summary>
  26. /// Notifies the window that the copy shortcut was pressed.
  27. /// </summary>
  28. void OnCopyPressed();
  29. /// <summary>
  30. /// Notifies the window that the cut shortcut was pressed.
  31. /// </summary>
  32. void OnCutPressed();
  33. /// <summary>
  34. /// Notifies the window that the paste shortcut was pressed.
  35. /// </summary>
  36. void OnPastePressed();
  37. }
  38. /** @} */
  39. }