Пример #1
0
void CodeFileList::addFiles (const juce::Array<juce::File>& files)
{
    for (int i = files.size(); --i >= 0;)
        addDirectory (files.getReference (i).getFullPathName());

    cleanUpFileList();
}
Пример #2
0
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("|"));
}