Add a dedicated export method to MidiRegion
[ardour.git] / libs / ardour / lxvst_plugin.cc
index 2c50144f26f24e8acace6c494f77de5165ec12a0..3939048ad443e7ceca3ccaebb7227b7db66c6e3b 100644 (file)
@@ -25,7 +25,7 @@
 #include "ardour/session.h"
 #include "ardour/lxvst_plugin.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -150,8 +150,8 @@ LXVSTPluginInfo::get_presets (bool user_only) const
                if (t->read ()) { // TODO read names only. skip parsing the actual data
                        XMLNode* root = t->root ();
                        for (XMLNodeList::const_iterator i = root->children().begin(); i != root->children().end(); ++i) {
-                               XMLProperty* uri = (*i)->property (X_("uri"));
-                               XMLProperty* label = (*i)->property (X_("label"));
+                               XMLProperty const * uri = (*i)->property (X_("uri"));
+                               XMLProperty const * label = (*i)->property (X_("label"));
                                p.push_back (Plugin::PresetRecord (uri->value(), label->value(), true));
                        }
                }