![]() |
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 LADSPALIBRARY_H 00011 #define LADSPALIBRARY_H 00012 00013 00014 00015 #include <QtCore> 00016 #include <ladspa.h> 00017 00018 #include "ladspaplugin.h" 00019 00020 class LADSPALibrary 00021 { 00022 public: 00023 LADSPALibrary(QString file); 00024 ~LADSPALibrary(); 00025 00026 const LADSPAPluginList * pluginList(); 00027 int pluginCount(); 00028 00029 private: 00030 QLibrary * m_pLibrary; 00031 LADSPAPluginList m_Plugins; 00032 QString m_qFilePath; 00033 00034 LADSPA_Descriptor_Function m_descriptorFunction; 00035 }; 00036 00037 typedef QList<LADSPALibrary *> LADSPALibraryList; 00038 00039 #endif