Browse Source

Added a typedef DynamicObject::Ptr

tags/2021-05-28
jules 13 years ago
parent
commit
05f32e3de6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_core/containers/juce_DynamicObject.h

+ 2
- 1
modules/juce_core/containers/juce_DynamicObject.h View File

@@ -50,6 +50,8 @@ public:
/** Destructor. */ /** Destructor. */
virtual ~DynamicObject(); virtual ~DynamicObject();
typedef ReferenceCountedObjectPtr<DynamicObject> Ptr;
//============================================================================== //==============================================================================
/** Returns true if the object has a property with this name. /** Returns true if the object has a property with this name.
Note that if the property is actually a method, this will return false. Note that if the property is actually a method, this will return false.
@@ -57,7 +59,6 @@ public:
virtual bool hasProperty (const Identifier& propertyName) const; virtual bool hasProperty (const Identifier& propertyName) const;
/** Returns a named property. /** Returns a named property.
This returns a void if no such property exists. This returns a void if no such property exists.
*/ */
virtual var getProperty (const Identifier& propertyName) const; virtual var getProperty (const Identifier& propertyName) const;


Loading…
Cancel
Save