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.
19 * @file FUiAnim_VisualElementAnimationGroupImpl.h
20 * @brief This is the header file for the _VisualElementAnimationGroupImpl class.
22 * This header file contains the declarations of the _VisualElementAnimationGroupImpl class.
25 #ifndef _FUI_ANIM_INTERNAL_VISUAL_ELEMENT_ANIMATION_GROUP_IMPL_H_
26 #define _FUI_ANIM_INTERNAL_VISUAL_ELEMENT_ANIMATION_GROUP_IMPL_H_
28 #include <FBaseErrorDefine.h>
29 #include <FBaseObject.h>
30 #include <FUiVariant.h>
32 #include "FUiAnim_VisualElementAnimationImpl.h"
35 namespace Tizen { namespace Ui { namespace Animations
39 class VisualElementAnimation;
40 class VisualElementAnimationGroup;
42 class _VisualElementAnimationGroupImpl
43 : public _VisualElementAnimationImpl
46 _VisualElementAnimationGroupImpl(void);
47 _VisualElementAnimationGroupImpl(const _VisualElementAnimationGroupImpl& animationImpl);
48 virtual ~_VisualElementAnimationGroupImpl(void);
50 virtual bool Equals(const Tizen::Base::Object& obj) const;
51 virtual int GetHashCode(void) const;
53 result CopyAnimationValue(const _VisualElementAnimationGroupImpl& animationGroupImpl);
55 int GetAnimationCount(void) const;
56 result AddAnimation(const VisualElementAnimation& animation);
57 result RemoveAnimationAt(int index);
58 void RemoveAllAnimations(void);
59 VisualElementAnimation* GetAnimationAtN(int index) const;
62 VisualElementAnimation* GetAnimation(int index) const;
64 static _VisualElementAnimationGroupImpl* GetInstance(VisualElementAnimationGroup& pAnimation);
65 static const _VisualElementAnimationGroupImpl* GetInstance(const VisualElementAnimationGroup& pAnimation);
68 _VisualElementAnimationGroupImpl& operator =(const _VisualElementAnimationGroupImpl& rhs);
71 Tizen::Base::Collection::ArrayList __animationList;
72 }; // _VisualElementAnimationGroupImpl
75 }}} // Tizen::Ui::Animations
77 #endif // _FUI_ANIM_INTERNAL_VISUAL_ELEMENT_ANIMATION_GROUP_IMPL_H_