#include "ardour/source.h"
#include "ardour/utils.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
int
FileSource::set_state (const XMLNode& node, int /*version*/)
{
- const XMLProperty* prop;
+ XMLProperty const * prop;
if ((prop = node.property (X_("channel"))) != 0) {
_channel = atoi (prop->value());
vector<string>::iterator j = i;
++j;
-
+
while (j != hits.end()) {
if (PBD::equivalent_paths (*i, *j)) {
/* *i and *j are the same file; break out of the loop early */
} else {
/* only one match: happy days */
-
+
keeppath = de_duped_hits[0];
}
-
+
} else {
keeppath = path;
}
if (!empty()) {
return false;
}
-
+
if (!removable()) {
return false;
}
return true;
}
-
+
int
FileSource::rename (const string& newpath)
{
return 0;
}
-
+