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.

78 lines
2.1KB

  1. /*
  2. * Carla Plugin Host
  3. * Copyright (C) 2011-2023 Filipe Coelho <falktx@falktx.com>
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation; either version 2 of
  8. * the License, or any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * For a full copy of the GNU General Public License see the doc/GPL.txt file.
  16. */
  17. #pragma once
  18. #include "CarlaBackend.h"
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. // --------------------------------------------------------------------------------------------------------------------
  23. typedef struct {
  24. const char* command;
  25. const char* name;
  26. const char* labelSetup;
  27. } JackAppDialogResults;
  28. typedef struct {
  29. uint API;
  30. uint build;
  31. uint type;
  32. uint hints;
  33. const char* category;
  34. const char* filename;
  35. const char* name;
  36. const char* label;
  37. const char* maker;
  38. uint64_t uniqueId;
  39. uint audioIns;
  40. uint audioOuts;
  41. uint cvIns;
  42. uint cvOuts;
  43. uint midiIns;
  44. uint midiOuts;
  45. uint parametersIns;
  46. uint parametersOuts;
  47. } PluginListDialogResults;
  48. typedef struct {
  49. char todo;
  50. } PluginListRefreshDialogResults;
  51. // --------------------------------------------------------------------------------------------------------------------
  52. CARLA_API void
  53. carla_frontend_createAndExecAboutJuceDialog(void* parent);
  54. CARLA_API const JackAppDialogResults*
  55. carla_frontend_createAndExecJackAppDialog(void* parent, const char* projectFilename);
  56. CARLA_API const PluginListDialogResults*
  57. carla_frontend_createAndExecPluginListDialog(void* parent/*, const HostSettings& hostSettings*/);
  58. CARLA_API const PluginListRefreshDialogResults*
  59. carla_frontend_createAndExecPluginListRefreshDialog(void* parent, bool useSystemIcons);
  60. // --------------------------------------------------------------------------------------------------------------------
  61. #ifdef __cplusplus
  62. }
  63. #endif