25 #ifndef JUCE_RECENTLYOPENEDFILESLIST_H_INCLUDED 26 #define JUCE_RECENTLYOPENEDFILESLIST_H_INCLUDED 58 void setMaxNumberOfItems (
int newMaxNumber);
69 int getNumFiles()
const;
75 File getFile (
int index)
const;
92 void addFile (
const File& file);
95 void removeFile (
const File& file);
102 void removeNonExistentFiles();
108 static void registerRecentFileNatively (
const File& file);
128 int createPopupMenuItems (
PopupMenu& menuToAddItemsTo,
131 bool dontAddNonExistentFiles,
132 const File** filesToAvoid =
nullptr);
152 void restoreFromString (
const String& stringifiedVersion);
158 int maxNumberOfItems;
164 #endif // JUCE_RECENTLYOPENEDFILESLIST_H_INCLUDED Definition: juce_RecentlyOpenedFilesList.h:39
#define noexcept
Definition: juce_CompilerSupport.h:141
const StringArray & getAllFilenames() const noexcept
Definition: juce_RecentlyOpenedFilesList.h:79
Definition: juce_String.h:43
#define JUCE_API
Definition: juce_StandardHeader.h:139
Definition: juce_StringArray.h:39
int getMaxNumberOfItems() const noexcept
Definition: juce_RecentlyOpenedFilesList.h:63
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition: juce_LeakedObjectDetector.h:141
Definition: juce_File.h:45