2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 FUiAnim_INativeNode.h
20 * @brief Header file of _INativeNode class
22 * This file contains declarations _INativeNode class.
25 #ifndef _FUI_ANIM_INTERNAL_INATIVENODE_H_
26 #define _FUI_ANIM_INTERNAL_INATIVENODE_H_
28 #include <FGrpFloatRectangle.h>
30 namespace Tizen { namespace Ui { namespace Animations
33 class _VisualElementImpl;
34 class VisualElementSurface;
36 class _OSP_EXPORT_ _INativeNode
41 virtual ~_INativeNode(void);
42 static _INativeNode* CreateInstanceN(void);
44 virtual result Construct(void) = 0;
45 virtual result RebuildIfNeeded(const _INativeNode& parent) = 0;
48 virtual result InsertChild(_INativeNode& child, const _INativeNode* pReference, bool above) = 0;
49 virtual result RemoveChild(_INativeNode& child) = 0;
50 virtual result SetFlushNeeded(void) = 0;
51 virtual result Flush(void) = 0;
52 virtual result Reconfigure(VisualElementSurface* pSurface, _VisualElementImpl& element, bool surfaceOnly) = 0;
53 virtual VisualElementSurface* GetSurface(void) const = 0;
56 _INativeNode(const _INativeNode& rhs); // no impl.
57 _INativeNode& operator =(const _INativeNode& rhs); // no impl.
61 }}} // Tizen::Ui::Animations
63 #endif // _FUI_ANIM_INTERNAL_INATIVENODE_H_