X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fitem-view%2Fitem-factory.h;h=49ed6d32c4813abcd318d73ae0049dda09790243;hb=05fc311b489e5c929433c722439eef45116f0e8b;hp=e38579a23525a917f2212080d06a2e359b058d27;hpb=b2075341afcb68b5f6eea7308f10d65b589c1be4;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 e38579a..49ed6d3 100644 --- a/dali-toolkit/public-api/controls/scrollable/item-view/item-factory.h +++ b/dali-toolkit/public-api/controls/scrollable/item-view/item-factory.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_ITEM_FACTORY_H__ -#define __DALI_TOOLKIT_ITEM_FACTORY_H__ +#ifndef DALI_TOOLKIT_ITEM_FACTORY_H +#define DALI_TOOLKIT_ITEM_FACTORY_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -21,6 +21,9 @@ // EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include + namespace Dali { @@ -47,37 +50,37 @@ public: * @brief Virtual destructor. * @SINCE_1_0.0 */ - DALI_EXPORT_API virtual ~ItemFactory() {}; + DALI_TOOLKIT_API virtual ~ItemFactory() {}; /** - * @brief Query the number of items available from the factory. + * @brief Queries the number of items available from the factory. * * The maximum available item has an ID of GetNumberOfItems() - 1. * @SINCE_1_0.0 - * @return the number of items + * @return The number of items */ virtual unsigned int GetNumberOfItems() = 0; /** - * @brief Create an Actor to represent a visible item. + * @brief Creates an Actor to represent a visible item. * * @SINCE_1_0.0 - * @param[in] itemId The ID of the newly visible item. - * @return An actor, or an uninitialized pointer if the ID is out of range. + * @param[in] itemId The ID of the newly visible item + * @return An actor, or an uninitialized pointer if the ID is out of range */ virtual Actor NewItem(unsigned int itemId) = 0; /** - * @brief Notify the factory the actor representing the item is removed from ItemView. + * @brief Notifies the factory the actor representing the item is removed from ItemView. * * @SINCE_1_0.0 - * @param[in] itemId The ID of the released item. - * @param[in] actor The actor that represents the released item. + * @param[in] itemId The ID of the released item + * @param[in] actor The actor that represents the released item */ virtual void ItemReleased(unsigned int itemId, Actor actor) {}; /** - * @brief Retrieve the extension for this control. + * @brief Retrieves the extension for this control. * * @SINCE_1_0.0 * @return The extension if available, NULL otherwise @@ -95,4 +98,4 @@ public: } // namespace Dali -#endif // __DALI_TOOLKIT_ITEM_FACTORY_H__ +#endif // DALI_TOOLKIT_ITEM_FACTORY_H