1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added a public member DirectoryContentsDisplayComponent::directoryContentsList

This commit is contained in:
jules 2017-06-06 10:21:44 +01:00
parent dfcc6780dd
commit b6478be22c
4 changed files with 26 additions and 35 deletions

View file

@ -43,6 +43,10 @@ public:
/** Destructor. */
virtual ~DirectoryContentsDisplayComponent();
//==============================================================================
/** The list that this component is displaying */
DirectoryContentsList& directoryContentsList;
//==============================================================================
/** Returns the number of files the user has got selected.
@see getSelectedFile
@ -95,14 +99,13 @@ public:
/** @internal */
void sendSelectionChangeMessage();
/** @internal */
void sendDoubleClickMessage (const File& file);
void sendDoubleClickMessage (const File&);
/** @internal */
void sendMouseClickMessage (const File& file, const MouseEvent& e);
void sendMouseClickMessage (const File&, const MouseEvent&);
protected:
//==============================================================================
DirectoryContentsList& fileList;
ListenerList <FileBrowserListener> listeners;
ListenerList<FileBrowserListener> listeners;
private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DirectoryContentsDisplayComponent)