IGlobalShortcuts.cs 1.3 KB

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