Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
3.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2020 - Raw Material Software Limited
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 6 End-User License
  8. Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
  9. End User License Agreement: www.juce.com/juce-6-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. namespace juce
  19. {
  20. //==============================================================================
  21. /** A type used to hold the unique ID for an application command.
  22. This is a numeric type, so it can be stored as an integer.
  23. @see ApplicationCommandInfo, ApplicationCommandManager,
  24. ApplicationCommandTarget, KeyPressMappingSet
  25. */
  26. using CommandID = int;
  27. //==============================================================================
  28. /** A set of general-purpose application command IDs.
  29. Because these commands are likely to be used in most apps, they're defined
  30. here to help different apps to use the same numeric values for them.
  31. Of course you don't have to use these, but some of them are used internally by
  32. JUCE - e.g. the quit ID is recognised as a command by the JUCEApplication class.
  33. @see ApplicationCommandInfo, ApplicationCommandManager,
  34. ApplicationCommandTarget, KeyPressMappingSet
  35. */
  36. namespace StandardApplicationCommandIDs
  37. {
  38. enum
  39. {
  40. /** This command ID should be used to send a "Quit the App" command.
  41. This command is recognised by the JUCEApplication class, so if it is invoked
  42. and no other ApplicationCommandTarget handles the event first, the JUCEApplication
  43. object will catch it and call JUCEApplicationBase::systemRequestedQuit().
  44. */
  45. quit = 0x1001,
  46. /** The command ID that should be used to send a "Delete" command. */
  47. del = 0x1002,
  48. /** The command ID that should be used to send a "Cut" command. */
  49. cut = 0x1003,
  50. /** The command ID that should be used to send a "Copy to clipboard" command. */
  51. copy = 0x1004,
  52. /** The command ID that should be used to send a "Paste from clipboard" command. */
  53. paste = 0x1005,
  54. /** The command ID that should be used to send a "Select all" command. */
  55. selectAll = 0x1006,
  56. /** The command ID that should be used to send a "Deselect all" command. */
  57. deselectAll = 0x1007,
  58. /** The command ID that should be used to send a "undo" command. */
  59. undo = 0x1008,
  60. /** The command ID that should be used to send a "redo" command. */
  61. redo = 0x1009
  62. };
  63. }
  64. } // namespace juce