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: Vst::IAutomationState
  26. \ingroup vstIPlug vst365
  27. - [plug imp]
  28. - [extends IEditController]
  29. - [released: 3.6.5]
  30. - [optional]
  31. Hosts can inform the plug-in about its current automation state (Read/Write/Nothing).
  32. */
  33. class IAutomationState : public FUnknown
  34. {
  35. public:
  36. //------------------------------------------------------------------------
  37. enum AutomationStates
  38. {
  39. kNoAutomation = 0, ///< Not Read and not Write
  40. kReadState = 1 << 0, ///< Read state
  41. kWriteState = 1 << 1, ///< Write state
  42. kReadWriteState = kReadState | kWriteState, ///< Read and Write enable
  43. };
  44. /** Sets the current Automation state. */
  45. virtual tresult PLUGIN_API setAutomationState (int32 state) = 0;
  46. //------------------------------------------------------------------------
  47. static const FUID iid;
  48. };
  49. DECLARE_CLASS_IID (IAutomationState, 0xB4E8287F, 0x1BB346AA, 0x83A46667, 0x68937BAB)
  50. //------------------------------------------------------------------------
  51. } // namespace Vst
  52. } // namespace Steinberg
  53. //------------------------------------------------------------------------
  54. #include "pluginterfaces/base/falignpop.h"
  55. //------------------------------------------------------------------------