VstSubPluginFeatures.h 1.5 KB

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