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.

23 lines
477B

  1. #pragma once
  2. /**
  3. * Base class for composites embeddable in a VCV Widget
  4. * This is used for "real" implementations
  5. */
  6. class WidgetComposite
  7. {
  8. public:
  9. WidgetComposite(Module * parent) :
  10. inputs(parent->inputs),
  11. outputs(parent->outputs),
  12. params(parent->params),
  13. lights(parent->lights)
  14. {
  15. }
  16. protected:
  17. std::vector<Input>& inputs;
  18. std::vector<Output>& outputs;
  19. std::vector<Param>& params;
  20. std::vector<Light>& lights;
  21. };