Move more public-api headers to devel-api. PART 3
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / page-turn-view / page-turn-landscape-view-impl.h
1 #ifndef __DALI_TOOLKIT_INTERNAL_PAGE_TURN_LANDSCAPE_VIEW_IMPL_H__
2 #define __DALI_TOOLKIT_INTERNAL_PAGE_TURN_LANDSCAPE_VIEW_IMPL_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
22 #include <dali-toolkit/devel-api/controls/page-turn-view/page-turn-landscape-view.h>
23 #include <dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h>
24
25 namespace Dali
26 {
27
28 namespace Toolkit
29 {
30
31 namespace Internal
32 {
33
34 class PageTurnLandscapeView : public PageTurnView
35 {
36 public:
37
38   /**
39    * Create a new PageTurnLandscapeView
40    * @return A handle to the newly allocated PageTurnLandscapeView
41    */
42   static Toolkit::PageTurnLandscapeView New( PageFactory& pageFactory, const Vector2& pageSize );
43
44 protected:
45   /**
46    * Constructor.
47    * It initializes the PageTurnLandscapeView members
48    */
49   PageTurnLandscapeView( PageFactory& pageFactory, const Vector2& pageSize );
50
51   /**
52    * A reference counted object may only be deleted by calling Unreference()
53    */
54   virtual ~PageTurnLandscapeView();
55
56 protected: // From PageTurnView
57
58   /**
59    * @copydoc PageTurnView::OnPageTurnViewInitialize
60    */
61   virtual void OnPageTurnViewInitialize();
62
63   /**
64    * copydoc PageTurnView::NewPAgeFromRenderBuffer
65    */
66   virtual ImageActor NewPageFromRenderBuffer( int pageIndex );
67
68   /**
69    * @copydoc PageTurnView::OnAddPage
70    */
71   virtual void OnAddPage( ImageActor newPage, bool isLeftSide );
72
73   /**
74    * @copydoc PageTurnView::SetPanPosition
75    */
76   virtual Vector2 SetPanPosition( const Vector2& gesturePosition );
77
78   /**
79    * @copydoc PageTurnView::SetPanActor
80    */
81   virtual void SetPanActor( const Vector2& panPosition );
82
83   /**
84    * @copydoc PageTurnView::SetSpineEffect
85    */
86   virtual void SetSpineEffect(ImageActor actor, bool isLeftSide);
87
88 private:
89
90   //Undefined
91   PageTurnLandscapeView( const PageTurnLandscapeView& );
92
93   //undefined
94   PageTurnLandscapeView& operator=(const PageTurnLandscapeView& rhs);
95
96 };
97
98 } // namespace Internal
99
100 } // namespace Toolkit
101
102 } // namespace Dali
103 #endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_LANDSCAPE_VIEW_IMPL_H__ */