2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FUiCtrl_AnimationModel.cpp
19 * @brief This is the implementation file for the _AnimationModel class.
22 #include "FUiCtrl_AnimationModel.h"
25 namespace Tizen { namespace Ui { namespace Controls
28 _AnimationModel::_AnimationModel(void)
29 : __animationStatus(ANIMATION_STOPPED)
32 , __currentRepeatedCount(0)
36 _AnimationModel::~_AnimationModel(void)
41 _AnimationModel::SetAnimationStatus(AnimationStatus status)
43 __animationStatus = status;
49 _AnimationModel::GetAnimationStatus(void) const
51 return __animationStatus;
55 _AnimationModel::SetImageCount(int imageCount)
57 __imageCount = imageCount;
63 _AnimationModel::GetImageCount(void) const
69 _AnimationModel::SetRepeatCount(int repeatCount)
71 __repeatCount = repeatCount;
77 _AnimationModel::GetRepeatCount(void) const
83 _AnimationModel::SetCurrentRepeatedCount(int currentRepeatCount)
85 __currentRepeatedCount = currentRepeatCount;
91 _AnimationModel::GetCurrentRepeatedCount(void) const
93 return __currentRepeatedCount;
96 }}} // Tizen::Ui::Controls