* changed it's uniform map in some way.
*/
virtual void ConnectedUniformMapChanged() = 0;
+
+ /**
+ * Inform the observer of the object that the object is about to be destroyed
+ */
+ virtual void ObservedObjectDestroyed(PropertyOwner& object){}
+
+ protected:
+
+ /**
+ * Virtual destructor, no deletion through this interface
+ */
+ virtual ~Observer() {}
+
};
/**
*/
void ConnectedUniformMapChanged();
+ /**
+ * Inform the observers that the object is about to be destroyed
+ * @param[in] object The connection owner
+ */
+ void Destroy( PropertyOwner& object );
+
private:
typedef Dali::Vector<Observer*> Observers;
typedef Observers::Iterator ObserversIterator;