namespace Toolkit
{
+/**
+ * @addtogroup dali-toolkit-controls-item-view
+ * @{
+ */
/**
* @brief ItemFactory is for providing actors to ItemView.
{
public:
+ class Extension; ///< Forward declare future extension interface
+
/**
* @brief Virtual destructor.
*/
- DALI_EXPORT_API virtual ~ItemFactory() = 0;
+ DALI_EXPORT_API virtual ~ItemFactory() {};
/**
* @brief Query the number of items available from the factory.
* @param[in] actor The actor that represents the released item.
*/
virtual void ItemReleased(unsigned int itemId, Actor actor) {};
+
+ /**
+ * Retrieve the extension for this control
+ *
+ * @return The extension if available, NULL otherwise
+ */
+ virtual Extension* GetExtension()
+ {
+ return NULL;
+ }
};
+/**
+ * @}
+ */
} // namespace Toolkit
} // namespace Dali