1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Provided public access to the Array<String> that's inside StringArray.

This commit is contained in:
jules 2013-11-10 17:27:54 +00:00
parent dc24fdffb5
commit a9c2354ed0

View file

@ -189,7 +189,6 @@ public:
void insert (int index, const String& stringToAdd);
/** Adds a string to the array as long as it's not already in there.
The search can optionally be case-insensitive.
*/
void addIfNotAlreadyThere (const String& stringToAdd, bool ignoreCase = false);
@ -325,7 +324,6 @@ public:
void removeDuplicates (bool ignoreCase);
/** Removes empty strings from the array.
@param removeWhitespaceStrings if true, strings that only contain whitespace
characters will also be removed
*/
@ -411,11 +409,12 @@ public:
*/
void minimiseStorageOverheads();
private:
//==============================================================================
/** This is the array holding the actual strings. This is public to allow direct access
to array methods that may not already be provided by the StringArray class.
*/
Array<String> strings;
private:
JUCE_LEAK_DETECTOR (StringArray)
};