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

New class StringPool. Removed the class var::identifier from its parent class, and renamed it "Identifier" - I've left a typedef in var to allow old code to still work, but I'll remove this at some point, so please switch to using the new classname directly. Jucer development.

This commit is contained in:
Julian Storer 2010-05-15 13:22:26 +01:00
parent ed97872c1a
commit b46e94cffd
90 changed files with 2839 additions and 1733 deletions

View file

@ -54,19 +54,19 @@ public:
/** Returns true if the object has a property with this name.
Note that if the property is actually a method, this will return false.
*/
virtual bool hasProperty (const var::identifier& propertyName) const;
virtual bool hasProperty (const Identifier& propertyName) const;
/** Returns a named property.
This returns a void if no such property exists.
*/
virtual const var getProperty (const var::identifier& propertyName) const;
virtual const var getProperty (const Identifier& propertyName) const;
/** Sets a named property. */
virtual void setProperty (const var::identifier& propertyName, const var& newValue);
virtual void setProperty (const Identifier& propertyName, const var& newValue);
/** Removes a named property. */
virtual void removeProperty (const var::identifier& propertyName);
virtual void removeProperty (const Identifier& propertyName);
//==============================================================================
/** Checks whether this object has the specified method.
@ -75,7 +75,7 @@ public:
with this name that's actually a method, but this can be overridden for
building objects with dynamic invocation.
*/
virtual bool hasMethod (const var::identifier& methodName) const;
virtual bool hasMethod (const Identifier& methodName) const;
/** Invokes a named method on this object.
@ -85,7 +85,7 @@ public:
This method is virtual to allow more dynamic invocation to used for objects
where the methods may not already be set as properies.
*/
virtual const var invokeMethod (const var::identifier& methodName,
virtual const var invokeMethod (const Identifier& methodName,
const var* parameters,
int numParameters);
@ -100,7 +100,7 @@ public:
setMethod ("doSomething", (var::MethodFunction) &MyClass::doSomething);
@endcode
*/
void setMethod (const var::identifier& methodName,
void setMethod (const Identifier& methodName,
var::MethodFunction methodFunction);
//==============================================================================