void CodeFileList::addFiles (const juce::Array<juce::File>& files) { for (int i = files.size(); --i >= 0;) addDirectory (files.getReference (i).getFullPathName()); cleanUpFileList(); }
void StoredSettings::set_last_projects(const juce::Array<juce::File>& files) { juce::StringArray s; for (auto i = 0; i != files.size(); ++i) { s.add(files.getReference(i).getFullPathName()); } get_global_properties().setValue("lastProjects", s.joinIntoString("|")); }