#define DALI_INTERNAL_PROPERTY_NOTIFICATION_MANAGER_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
// INTERNAL INCLUDES
+#include <dali/integration-api/ordered-set.h>
#include <dali/internal/event/common/property-notifier.h>
+#include <dali/internal/event/common/scene-graph-notifier-interface-mapper.h>
#include <dali/public-api/common/dali-vector.h>
namespace Dali
* It also monitors the lifetime of PropertyNotification objects and will
* only emit signals for PropertyNotification objects which are still valid.
*/
-class PropertyNotificationManager : public PropertyNotifier
+class PropertyNotificationManager : public PropertyNotifier, public SceneGraphNotifierInterfaceMapper<PropertyNotification>
{
public:
/**
/**
* @copydoc PropertyNotifier::NotifyProperty
*/
- void NotifyProperty(SceneGraph::PropertyNotification* propertyNotification, bool validity) override;
+ void NotifyProperty(NotifierInterface::NotifyId notifyId, bool validity) override;
private:
/**
PropertyNotificationManager& operator=(const PropertyNotificationManager& rhs);
private:
- Dali::Vector<PropertyNotification*> mPropertyNotifications; ///< All existing PropertyNotifications (not owned)
+ Integration::OrderedSet<PropertyNotification, false> mPropertyNotifications; ///< All existing PropertyNotifications (not owned)
};
} // namespace Internal