2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0/
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 FUiAnimDisplayContext.h
20 * @brief This is the header file for the %DisplayContext class.
22 * This header file contains the declarations of the %DisplayContext class.
25 #ifndef _FUI_ANIM_DISPLAY_CONTEXT_H_
26 #define _FUI_ANIM_DISPLAY_CONTEXT_H_
28 #include <FBaseObject.h>
30 namespace Tizen { namespace Ui { namespace Animations
32 class _DisplayContextImpl;
35 * @class DisplayContext
36 * @brief This class represents the display resources for the displayable objects.
40 * The %DisplayContext class represents the display context of the window.
41 * The display context is a set of display resources that includes VisualElements, VisualElementSurfaces, and frame buffer,
42 * and it is managed by Tizen::Ui::Window.
44 class _OSP_EXPORT_ DisplayContext
45 : public Tizen::Base::Object
49 * This default constructor is intentionally declared as private to prohibit creation of an instance by a user.
53 * @remarks The %DisplayContext instance cannot be created,
54 * it is offered by the Tizen::Ui::Window::GetDisplayContext() method.
55 * @see Window::GetDisplayContext()
61 * This destructor is intentionally declared as private to implement the Singleton semantic.
65 * @remarks The display context is released when the Tizen::Ui::Window instance is destroyed.
68 virtual ~DisplayContext(void);
74 * The implementation of this copy constructor is intentionally blank to prohibit copying of objects.
78 DisplayContext(const DisplayContext& rhs);
82 * The implementation of this assignment constructor is intentionally blank to prohibit assignment of objects.
86 DisplayContext& operator =(const DisplayContext& rhs);
91 // This method is for internal use only. Using this method can cause behavioral,
92 // security-related, and consistency-related issues in the application.
94 // This method is reserved and may change its name at any time without prior notice.
96 virtual void DisplayContext_Reserved1(void) {}
100 // This method is for internal use only. Using this method can cause behavioral,
101 // security-related, and consistency-related issues in the application.
103 // This method is reserved and may change its name at any time without prior notice.
105 virtual void DisplayContext_Reserved2(void) {}
109 // This method is for internal use only. Using this method can cause behavioral,
110 // security-related, and consistency-related issues in the application.
112 // This method is reserved and may change its name at any time without prior notice.
114 virtual void DisplayContext_Reserved3(void) {}
118 // This method is for internal use only. Using this method can cause behavioral,
119 // security-related, and consistency-related issues in the application.
121 // This method is reserved and may change its name at any time without prior notice.
123 virtual void DisplayContext_Reserved4(void) {}
127 // This method is for internal use only. Using this method can cause behavioral,
128 // security-related, and consistency-related issues in the application.
130 // This method is reserved and may change its name at any time without prior notice.
132 virtual void DisplayContext_Reserved5(void) {}
135 friend class _DisplayContextImpl;
136 _DisplayContextImpl* _pDisplayContextImpl;
137 }; // class DisplayContext
139 }}} //namespace Tizen { namespace Ui { namespace Animations
141 #endif //_FUI_ANIM_DISPLAY_CONTEXT_H_