(Automated Tests) Increase line coverage of Builder
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / transition-effects / cube-transition-effect.cpp
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 // CLASS HEADER
19 #include "cube-transition-effect.h"
20
21 //INTERNAL INCLUDES
22 #include <dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h>
23
24 namespace Dali
25 {
26
27 namespace Toolkit
28 {
29
30 CubeTransitionEffect::CubeTransitionEffect()
31 {
32 }
33
34 CubeTransitionEffect::~CubeTransitionEffect()
35 {
36 }
37
38 CubeTransitionEffect::CubeTransitionEffect( Internal::CubeTransitionEffect& implementation )
39 : Control( implementation )
40 {
41 }
42
43 CubeTransitionEffect::CubeTransitionEffect( Dali::Internal::CustomActor* internal )
44 : Control( internal )
45 {
46   VerifyCustomActorPointer<Internal::CubeTransitionEffect>(internal);
47 }
48
49 CubeTransitionEffect CubeTransitionEffect::DownCast( BaseHandle handle )
50 {
51   return Control::DownCast<CubeTransitionEffect, Internal::CubeTransitionEffect>( handle );
52 }
53
54 void CubeTransitionEffect::SetTransitionDuration( float duration )
55 {
56   GetImpl(*this).SetTransitionDuration( duration );
57 }
58
59 float CubeTransitionEffect::GetTransitionDuration() const
60 {
61   return GetImpl(*this).GetTransitionDuration();
62 }
63
64 void CubeTransitionEffect::SetCubeDisplacement( float displacement )
65 {
66   GetImpl(*this).SetCubeDisplacement( displacement );
67 }
68
69 float CubeTransitionEffect::GetCubeDisplacement() const
70 {
71   return GetImpl(*this).GetCubeDisplacement();
72 }
73
74 bool CubeTransitionEffect::IsTransitioning()
75 {
76   return GetImpl(*this).IsTransitioning();
77 }
78
79 void CubeTransitionEffect::SetCurrentImage( Image image )
80 {
81   GetImpl(*this).SetCurrentImage( image );
82 }
83
84 void CubeTransitionEffect::SetTargetImage( Image image )
85 {
86   GetImpl(*this).SetTargetImage( image );
87 }
88
89 void CubeTransitionEffect::StartTransition( bool toNextImage )
90 {
91   GetImpl(*this).StartTransition( toNextImage );
92 }
93
94 void CubeTransitionEffect::StartTransition( Vector2 panPosition, Vector2 panDisplacement )
95 {
96   GetImpl(*this).StartTransition( panPosition, panDisplacement );
97 }
98
99 void CubeTransitionEffect::PauseTransition()
100 {
101   GetImpl(*this).PauseTransition();
102 }
103
104 void CubeTransitionEffect::ResumeTransition()
105 {
106   GetImpl(*this).ResumeTransition();
107 }
108
109 void CubeTransitionEffect::StopTransition()
110 {
111   GetImpl(*this).StopTransition();
112 }
113
114 CubeTransitionEffect::TransitionCompletedSignalType& CubeTransitionEffect::TransitionCompletedSignal()
115 {
116   return GetImpl( *this ).TransitionCompletedSignal();
117 }
118
119 } // namespace Toolkit
120
121 } // namespace Dali