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.

Cable.hpp 319B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <common.hpp>
  3. #include <engine/Module.hpp>
  4. namespace rack {
  5. namespace engine {
  6. struct Cable {
  7. int id = -1;
  8. Module* inputModule = NULL;
  9. int inputId;
  10. Module* outputModule = NULL;
  11. int outputId;
  12. json_t* toJson();
  13. void fromJson(json_t* rootJ);
  14. };
  15. } // namespace engine
  16. } // namespace rack