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.

34 lines
932B

  1. /*
  2. ZynAddSubFX - a software synthesizer
  3. Connection.h - In-Process GUI Stubs
  4. Copyright (C) 2016 Mark McCurry
  5. This program is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License
  7. as published by the Free Software Foundation; either version 2
  8. of the License, or (at your option) any later version.
  9. */
  10. //Defines the methods of communication for the GUI
  11. //Expect this code to mutate into some sort of ugly beast that will slowly
  12. //remove the tendrils of the UI from the RT code
  13. class Fl_Osc_Interface;
  14. namespace zyncarla
  15. {
  16. class MiddleWare;
  17. }
  18. namespace GUI
  19. {
  20. typedef void *ui_handle_t;
  21. ui_handle_t createUi(Fl_Osc_Interface *osc, void *exit);
  22. void destroyUi(ui_handle_t);
  23. void raiseUi(ui_handle_t, const char *);
  24. void raiseUi(ui_handle_t, const char *, const char *, ...);
  25. void tickUi(ui_handle_t);
  26. Fl_Osc_Interface *genOscInterface(zyncarla::MiddleWare*);
  27. };