projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Doxygen grouping
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
public-api
/
controls
/
scrollable
/
item-view
/
item-factory.h
diff --git
a/dali-toolkit/public-api/controls/scrollable/item-view/item-factory.h
b/dali-toolkit/public-api/controls/scrollable/item-view/item-factory.h
index
e02c62b
..
84ef7b7
100644
(file)
--- a/
dali-toolkit/public-api/controls/scrollable/item-view/item-factory.h
+++ b/
dali-toolkit/public-api/controls/scrollable/item-view/item-factory.h
@@
-26,6
+26,10
@@
namespace Dali
namespace Toolkit
{
namespace Toolkit
{
+/**
+ * @addtogroup dali-toolkit-controls-item-view
+ * @{
+ */
/**
* @brief ItemFactory is for providing actors to ItemView.
/**
* @brief ItemFactory is for providing actors to ItemView.
@@
-35,10
+39,12
@@
class ItemFactory
{
public:
{
public:
+ class Extension; ///< Forward declare future extension interface
+
/**
* @brief Virtual destructor.
*/
/**
* @brief Virtual destructor.
*/
- DALI_EXPORT_API virtual ~ItemFactory()
= 0
;
+ DALI_EXPORT_API virtual ~ItemFactory()
{}
;
/**
* @brief Query the number of items available from the factory.
/**
* @brief Query the number of items available from the factory.
@@
-63,8
+69,21
@@
public:
* @param[in] actor The actor that represents the released item.
*/
virtual void ItemReleased(unsigned int itemId, Actor actor) {};
* @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
} // namespace Toolkit
} // namespace Dali