1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.

This commit is contained in:
Julian Storer 2011-05-30 21:10:57 +01:00
parent b3634661e6
commit 67e22bbb56
241 changed files with 8010 additions and 7848 deletions

View file

@ -158,7 +158,7 @@ int FileBrowserComponent::getNumSelectedFiles() const noexcept
return chosenFiles.size();
}
const File FileBrowserComponent::getSelectedFile (int index) const noexcept
File FileBrowserComponent::getSelectedFile (int index) const noexcept
{
if ((flags & canSelectDirectories) != 0 && filenameBox.getText().isEmpty())
return currentRoot;
@ -177,7 +177,7 @@ bool FileBrowserComponent::currentFileIsValid() const
return getSelectedFile (0).exists();
}
const File FileBrowserComponent::getHighlightedFile() const noexcept
File FileBrowserComponent::getHighlightedFile() const noexcept
{
return fileListComponent->getSelectedFile (0);
}
@ -209,7 +209,7 @@ bool FileBrowserComponent::isFileOrDirSuitable (const File& f) const
}
//==============================================================================
const File FileBrowserComponent::getRoot() const
const File& FileBrowserComponent::getRoot() const
{
return currentRoot;
}