The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

99 lines
4.2KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-7 by Raw Material Software ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the
  7. GNU General Public License, as published by the Free Software Foundation;
  8. either version 2 of the License, or (at your option) any later version.
  9. JUCE 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 General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with JUCE; if not, visit www.gnu.org/licenses or write to the
  15. Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  16. Boston, MA 02111-1307 USA
  17. ------------------------------------------------------------------------------
  18. If you'd like to release a closed-source product which uses JUCE, commercial
  19. licenses are also available: visit www.rawmaterialsoftware.com/juce for
  20. more information.
  21. ==============================================================================
  22. */
  23. #ifndef __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__
  24. #define __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__
  25. //==============================================================================
  26. /* The JucePluginCharacteristics.h file is supposed to live in your plugin-specific
  27. project directory, and has to contain info describing its name, type, etc. For
  28. more info, see the JucePluginCharacteristics.h that is included in the demo plugin.
  29. You may need to adjust the include path of your project to make sure it can be
  30. found by this include statement. (Don't hack this file to change the include path)
  31. */
  32. #include "JucePluginCharacteristics.h"
  33. //==============================================================================
  34. // The following stuff is just to cause a compile error if you've forgotten to
  35. // define all your plugin settings properly.
  36. #ifndef JucePlugin_IsSynth
  37. #error "You need to define the JucePlugin_IsSynth value in your JucePluginCharacteristics.h file!"
  38. #endif
  39. #ifndef JucePlugin_ManufacturerCode
  40. #error "You need to define the JucePlugin_ManufacturerCode value in your JucePluginCharacteristics.h file!"
  41. #endif
  42. #ifndef JucePlugin_PluginCode
  43. #error "You need to define the JucePlugin_PluginCode value in your JucePluginCharacteristics.h file!"
  44. #endif
  45. #ifndef JucePlugin_ProducesMidiOutput
  46. #error "You need to define the JucePlugin_ProducesMidiOutput value in your JucePluginCharacteristics.h file!"
  47. #endif
  48. #ifndef JucePlugin_WantsMidiInput
  49. #error "You need to define the JucePlugin_WantsMidiInput value in your JucePluginCharacteristics.h file!"
  50. #endif
  51. #ifndef JucePlugin_MaxNumInputChannels
  52. #error "You need to define the JucePlugin_MaxNumInputChannels value in your JucePluginCharacteristics.h file!"
  53. #endif
  54. #ifndef JucePlugin_MaxNumOutputChannels
  55. #error "You need to define the JucePlugin_MaxNumOutputChannels value in your JucePluginCharacteristics.h file!"
  56. #endif
  57. #ifndef JucePlugin_PreferredChannelConfigurations
  58. #error "You need to define the JucePlugin_PreferredChannelConfigurations value in your JucePluginCharacteristics.h file!"
  59. #endif
  60. #ifdef JucePlugin_Latency
  61. #error "JucePlugin_Latency is now deprecated - instead, call the AudioProcessor::setLatencySamples() method if your plugin has a non-zero delay"
  62. #endif
  63. #ifndef JucePlugin_SilenceInProducesSilenceOut
  64. #error "You need to define the JucePlugin_SilenceInProducesSilenceOut value in your JucePluginCharacteristics.h file!"
  65. #endif
  66. #ifndef JucePlugin_EditorRequiresKeyboardFocus
  67. #error "You need to define the JucePlugin_EditorRequiresKeyboardFocus value in your JucePluginCharacteristics.h file!"
  68. #endif
  69. #if JUCE_USE_VSTSDK_2_4 != 0 && JUCE_USE_VSTSDK_2_4 != 1
  70. #error "You need to define the JUCE_USE_VSTSDK_2_4 value in your JucePluginCharacteristics.h file!"
  71. #endif
  72. #endif // __JUCE_INCLUDECHARACTERISTICS_JUCEHEADER__