change Copyright headers, change line endings to Unix format
[platform/core/system/swap-probe.git] / probe_ui / osp_frameani.h
1 /*
2  *  DA probe
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:
7  *
8  * Jaewon Lim <jaewon81.lim@samsung.com>
9  * Woojin Jung <woojin2.jung@samsung.com>
10  * Juyoung Kim <j0.kim@samsung.com>
11  *
12  * This library is free software; you can redistribute it and/or modify it under
13  * the terms of the GNU Lesser General Public License as published by the
14  * Free Software Foundation; either version 2.1 of the License, or (at your option)
15  * any later version.
16  *
17  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
18  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
19  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
20  * License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * along with this library; if not, write to the Free Software Foundation, Inc., 51
24  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25  *
26  * Contributors:
27  * - S-Core Co., Ltd
28  *
29  */
30
31 #ifndef __OSP_FRAMEANI_H__
32 #define __OSP_FRAMEANI_H__
33
34 #include <FUi.h>
35
36 using namespace Tizen::Ui::Animations;
37 using namespace Tizen::Ui::Controls;
38
39 class DAFrameAnimationEventListener :
40                 public IFrameAnimatorEventListener
41 {
42 public:
43         DAFrameAnimationEventListener();
44         virtual ~DAFrameAnimationEventListener();
45
46         virtual void    OnFormTransitionAnimationFinished (FrameAnimator &source, Frame &frame, Form &form1, Form &form2);
47         virtual void    OnFormTransitionAnimationStarted (FrameAnimator &source, Frame &frame, Form &form1, Form &form2);
48         virtual void    OnFormTransitionAnimationStopped (FrameAnimator &source, Frame &frame, Form &form1, Form &form2);
49
50         static DAFrameAnimationEventListener& GetInstance(void);
51
52 private:
53         static DAFrameAnimationEventListener rInstance;
54 };
55
56
57 #endif  // __OSP_FRAMEANI_H__
58