LadspaSubPluginFeatures.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * LadspaSubPluginFeatures.h - derivation from
  3. * Plugin::Descriptor::SubPluginFeatures for
  4. * hosting LADSPA-plugins
  5. *
  6. * Copyright (c) 2006-2007 Danny McRae <khjklujn/at/users.sourceforge.net>
  7. * Copyright (c) 2006-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
  8. *
  9. * This file is part of LMMS - https://lmms.io
  10. *
  11. * This program is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU General Public
  13. * License as published by the Free Software Foundation; either
  14. * version 2 of the License, or (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. * General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public
  22. * License along with this program (see COPYING); if not, write to the
  23. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  24. * Boston, MA 02110-1301 USA.
  25. *
  26. */
  27. #ifndef _LADSPA_SUBPLUGIN_FEATURES_H
  28. #define _LADSPA_SUBPLUGIN_FEATURES_H
  29. #include "LadspaManager.h"
  30. #include "Plugin.h"
  31. class LadspaSubPluginFeatures : public Plugin::Descriptor::SubPluginFeatures
  32. {
  33. public:
  34. LadspaSubPluginFeatures( Plugin::PluginTypes _type );
  35. virtual void fillDescriptionWidget( QWidget * _parent,
  36. const Key * _key ) const;
  37. virtual void listSubPluginKeys( const Plugin::Descriptor * _desc,
  38. KeyList & _kl ) const;
  39. static ladspa_key_t subPluginKeyToLadspaKey( const Key * _key );
  40. } ;
  41. #endif