Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/ladspa/ladspapreset.h

Go to the documentation of this file.
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 LADSPAPRESET_H
00011 #define LADSPAPRESET_H
00012 
00013 #include <QtCore>
00014 #include <QtXml>
00015 
00016 #include "ladspaplugin.h"
00017 #include "ladspapresetknob.h"
00018 
00019 class QDomElement;
00020 
00021 class LADSPAPresetInstance;
00022 class LADSPALoader;
00023 
00024 class LADSPAPreset
00025 {
00026 public:
00027     LADSPAPreset();
00028     LADSPAPreset(QDomElement element, LADSPALoader * loader);
00029     ~LADSPAPreset();
00030 
00031     LADSPAPresetInstance * instantiate(int slot);
00032     QString getName();
00033 
00034     bool isValid();
00035 
00036 private:
00037     QString m_qName;
00038     LADSPAPluginVector m_Plugins;
00039     LADSPAPresetKnobVector m_Knobs;
00040     bool m_bValid;
00041 };
00042 
00043 typedef QVector<LADSPAPreset *> LADSPAPresetVector;
00044 
00045 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines