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.

68 lines
2.4KB

  1. //------------------------------------------------------------------------
  2. // Project : VST SDK
  3. //
  4. // Category : Interfaces
  5. // Filename : pluginterfaces/vst/ivstautomationstate.h
  6. // Created by : Steinberg, 02/2015
  7. // Description : VST Automation State Interface
  8. //
  9. //-----------------------------------------------------------------------------
  10. // This file is part of a Steinberg SDK. It is subject to the license terms
  11. // in the LICENSE file found in the top-level directory of this distribution
  12. // and at www.steinberg.net/sdklicenses.
  13. // No part of the SDK, including this file, may be copied, modified, propagated,
  14. // or distributed except according to the terms contained in the LICENSE file.
  15. //-----------------------------------------------------------------------------
  16. #pragma once
  17. #include "pluginterfaces/vst/vsttypes.h"
  18. //------------------------------------------------------------------------
  19. #include "pluginterfaces/base/falignpush.h"
  20. //------------------------------------------------------------------------
  21. //------------------------------------------------------------------------
  22. namespace Steinberg {
  23. namespace Vst {
  24. //------------------------------------------------------------------------
  25. /** Extended Plug-in interface IEditController.
  26. \ingroup vstIPlug vst365
  27. - [plug imp]
  28. - [extends IEditController]
  29. - [released: 3.6.5]
  30. - [optional]
  31. Hosts could inform the Plug-in about its current automation state (Read/Write/Nothing).
  32. */
  33. //------------------------------------------------------------------------
  34. class IAutomationState : public FUnknown
  35. {
  36. public:
  37. //------------------------------------------------------------------------
  38. enum AutomationStates
  39. {
  40. kNoAutomation = 0, ///< Not Read and not Write
  41. kReadState = 1 << 0, ///< Read state
  42. kWriteState = 1 << 1, ///< Write state
  43. kReadWriteState = kReadState | kWriteState, ///< Read and Write enable
  44. };
  45. /** Sets the current Automation state. */
  46. virtual tresult PLUGIN_API setAutomationState (int32 state) = 0;
  47. //------------------------------------------------------------------------
  48. static const FUID iid;
  49. };
  50. DECLARE_CLASS_IID (IAutomationState, 0xB4E8287F, 0x1BB346AA, 0x83A46667, 0x68937BAB)
  51. } // namespace Vst
  52. } // namespace Steinberg
  53. //------------------------------------------------------------------------
  54. #include "pluginterfaces/base/falignpop.h"
  55. //------------------------------------------------------------------------