Collection of tools useful for audio production
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.

74 lines
1.8KB

  1. /*
  2. * DISTHRO Plugin Toolkit (DPT)
  3. * Copyright (C) 2012 Filipe Coelho <falktx@gmail.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 license see the GPL.txt file
  16. */
  17. #include "src/DistrhoDefines.h"
  18. #undef START_NAMESPACE_DISTRHO
  19. //#undef END_NAMESPACE_DISTRHO
  20. #undef USE_NAMESPACE_DISTRHO
  21. #define START_NAMESPACE_DISTRHO namespace DISTRHO_NAMESPACE {
  22. //#define END_NAMESPACE_DISTRHO }
  23. #define USE_NAMESPACE_DISTRHO using namespace DISTRHO_NAMESPACE;
  24. #include "DistrhoPluginMain.cpp"
  25. #include "DistrhoUIMain.cpp"
  26. //#include "src/DistrhoPluginInternal.h"
  27. //#if DISTRHO_PLUGIN_HAS_UI
  28. //# include "src/DistrhoUIInternal.h"
  29. //#endif
  30. // -------------------------------------------------
  31. // START_NAMESPACE_DISTRHO
  32. class CarlaDistrhoPlugin : public PluginDescriptorClass
  33. {
  34. public:
  35. CarlaDistrhoPlugin(const HostDescriptor* host)
  36. : PluginDescriptorClass(host)
  37. {
  38. }
  39. ~CarlaDistrhoPlugin()
  40. {
  41. }
  42. protected:
  43. // -------------------------------------------------------------------
  44. // Plugin process calls
  45. void activate()
  46. {
  47. }
  48. void process(float**, float**, uint32_t, uint32_t, MidiEvent*)
  49. {
  50. }
  51. // -------------------------------------------------------------------
  52. private:
  53. PluginDescriptorClassEND(CarlaDistrhoPlugin)
  54. };
  55. // END_NAMESPACE_DISTRHO
  56. // -----------------------------------------------------------------------