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

Updates to browser plugin wrappers.

This commit is contained in:
Julian Storer 2010-05-17 13:44:27 +01:00
parent 88c95982f7
commit d65a0722fc
9 changed files with 96 additions and 59 deletions

View file

@ -44,12 +44,14 @@
class JUCE_API StringPool
{
public:
//==============================================================================
/** Creates an empty pool. */
StringPool() throw();
/** Destructor */
~StringPool();
//==============================================================================
/** Returns a pointer to a copy of the string that is passed in.
The pool will always return the same pointer when asked for a string that matches it.
@ -74,6 +76,13 @@ public:
*/
const juce_wchar* getPooledString (const juce_wchar* original);
//==============================================================================
/** Returns the number of strings in the pool. */
int size() const throw();
/** Returns one of the strings in the pool, by index. */
const juce_wchar* operator[] (int index) const throw();
private:
Array <String> strings;
};