![]() |
Mixxx
|
00001 /*************************************************************************** 00002 * * 00003 * This program is free software; you can redistribute it and/or modify * 00004 * it under the terms of the GNU General Public License as published by * 00005 * the Free Software Foundation; either version 2 of the License, or * 00006 * (at your option) any later version. * 00007 * * 00008 ***************************************************************************/ 00009 00010 #ifndef LADSPAPLUGIN_H 00011 #define LADSPAPLUGIN_H 00012 00013 #include <QtCore> 00014 00015 #include <ladspa.h> 00016 00017 #include "ladspainstance.h" 00018 00019 class LADSPAPlugin 00020 { 00021 public: 00022 LADSPAPlugin(const LADSPA_Descriptor * descriptor); 00023 ~LADSPAPlugin(); 00024 00025 LADSPAInstance * instantiate(int slot); 00026 const QString getLabel(); 00027 00028 private: 00029 const LADSPA_Descriptor * m_pDescriptor; 00030 }; 00031 00032 typedef QList<LADSPAPlugin *> LADSPAPluginList; 00033 typedef QVector<LADSPAPlugin *> LADSPAPluginVector; 00034 00035 #endif