Dali 3D User Interface Engine
animation-playlist.h
Go to the documentation of this file.
1 #ifndef __DALI_INTERNAL_ANIMATION_PLAYLIST_H__
2 #define __DALI_INTERNAL_ANIMATION_PLAYLIST_H__
3 
4 /*
5  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20 
21 // INTERNAL INCLUDES
26 
27 namespace Dali
28 {
29 
30 namespace Internal
31 {
32 
33 class Animation;
34 
40 {
41 public:
42 
47  static AnimationPlaylist* New();
48 
52  virtual ~AnimationPlaylist();
53 
57  void AnimationCreated( Animation& animation );
58 
62  void AnimationDestroyed( Animation& animation );
63 
68  void OnPlay( Animation& animation );
69 
74  void OnClear( Animation& animation );
75 
76 private:
77 
82 
83  // Undefined
85 
86  // Undefined
88 
89 private: // from CompleteNotificationInterface
90 
94  virtual void NotifyCompleted();
95 
96 private:
97 
99  std::vector< Dali::Animation > mPlaylist;
100 
101 };
102 
103 } // namespace Internal
104 
105 } // namespace Dali
106 
107 #endif // __DALI_INTERNAL_NOTIFICATION_MANAGER_H__
108 
Dali Docs Home
Read more about Dali