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.

62 lines
1.5KB

  1. /*
  2. * DISTRHO Plugin Toolkit (DPT)
  3. * Copyright (C) 2012-2013 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 Lesser General Public
  7. * License as published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU Lesser General Public License for more details.
  13. *
  14. * For a full copy of the license see the LGPL.txt file
  15. */
  16. #ifndef __DISTRHO_MACROS_H__
  17. #define __DISTRHO_MACROS_H__
  18. #include "DistrhoDefines.h"
  19. #include "DistrhoPluginInfo.h"
  20. #ifndef DISTRHO_PLUGIN_NAME
  21. # error DISTRHO_PLUGIN_NAME undefined!
  22. #endif
  23. #ifndef DISTRHO_PLUGIN_HAS_UI
  24. # error DISTRHO_PLUGIN_HAS_UI undefined!
  25. #endif
  26. #ifndef DISTRHO_PLUGIN_IS_SYNTH
  27. # error DISTRHO_PLUGIN_IS_SYNTH undefined!
  28. #endif
  29. #ifndef DISTRHO_PLUGIN_NUM_INPUTS
  30. # error DISTRHO_PLUGIN_NUM_INPUTS undefined!
  31. #endif
  32. #ifndef DISTRHO_PLUGIN_NUM_OUTPUTS
  33. # error DISTRHO_PLUGIN_NUM_OUTPUTS undefined!
  34. #endif
  35. #ifndef DISTRHO_PLUGIN_WANT_LATENCY
  36. # error DISTRHO_PLUGIN_WANT_LATENCY undefined!
  37. #endif
  38. #ifndef DISTRHO_PLUGIN_WANT_PROGRAMS
  39. # error DISTRHO_PLUGIN_WANT_PROGRAMS undefined!
  40. #endif
  41. #ifndef DISTRHO_PLUGIN_WANT_STATE
  42. # error DISTRHO_PLUGIN_WANT_STATE undefined!
  43. #endif
  44. #ifndef DISTRHO_UI_QT4
  45. # define DISTRHO_UI_OPENGL
  46. #endif
  47. #define DISTRHO_UI_URI DISTRHO_PLUGIN_URI "#UI"
  48. #endif // __DISTRHO_MACROS_H__