Modified GetValue return value in CustomListItem.
authorSyed Khaja Moinuddin <moinuddin.s@samsung.com>
Mon, 1 Apr 2013 02:08:43 +0000 (11:08 +0900)
committerGerrit Code Review <gerrit2@kim11>
Mon, 1 Apr 2013 04:11:09 +0000 (13:11 +0900)
Signed-off-by: Syed Khaja Moinuddin <moinuddin.s@samsung.com>
Change-Id: If8a351d027386d1c758d0fb4c57ff4be61419b9a
Signed-off-by: Syed Khaja Moinuddin <moinuddin.s@samsung.com>
src/ui/controls/FUiCtrlCustomListItem.cpp
src/ui/controls/FUiCtrl_CustomListItemImpl.cpp
src/ui/inc/FUiCtrl_CustomListItemImpl.h

index 1888df0..75e059c 100644 (file)
@@ -158,7 +158,7 @@ int
 CustomListItem::GetValue(void) const
 {
        SysAssertf((__pCustomListItemImpl != null), "Not yet constructed. Construct() should be called before use.");
-       return __pCustomListItemImpl->GetValue();
+       return -1;
 }
 
 }}} //Tizen::Ui::Controls
index 3aa1815..6825722 100644 (file)
@@ -111,7 +111,6 @@ _TableViewGroupItemData::SetEnabled(bool enable)
 _CustomListItemImpl::_CustomListItemImpl(int itemHeight)
        : height(itemHeight)
        , itemId(LIST_ITEM_UNSPECIFIED_ID)
-       , __percentValue(0)
        , __pTableViewItemData(null)
        , __pTableViewGroupItemData(null)
        , __pSubItemsList(null)
@@ -144,12 +143,6 @@ _CustomListItemImpl::CreateInstanceN(int itemHeight)
        return pImpl;
 }
 
-int
-_CustomListItemImpl::GetValue(void) const
-{
-       return __percentValue;
-}
-
 void
 _CustomListItemImpl::RemoveElement(int elementId)
 {
index 06794f7..c136112 100644 (file)
@@ -118,7 +118,6 @@ public:
        virtual ~_CustomListItemImpl(void);
        static _CustomListItemImpl* CreateInstanceN(int itemHeight);
        void Initialize(int itemHeight);
-       int GetValue(void) const;
        result SetCheckBox(int elementId);
        result SetElement(int elementId, const Tizen::Graphics::Bitmap& normalBitmap, const Tizen::Graphics::Bitmap* pFocusedBitmap, const Tizen::Graphics::Bitmap* pHighlightedBitmap);
        result SetElement(int elementId, const Tizen::Base::String& text);
@@ -188,7 +187,6 @@ public:
 private:
        static const int TEXT_SLIDING_TIMER_DURATION = 60;
 
-       int __percentValue;
        _TableViewItemData* __pTableViewItemData;
        _TableViewGroupItemData* __pTableViewGroupItemData;
        Tizen::Base::Collection::ArrayList* __pSubItemsList;