Size negotiation patch 1: Removed SetPreferred size
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / builder / builder-declarations.h
1 #ifndef __DALI_TOOLKIT_BUILDER_DECLARATIONS_H__
2 #define __DALI_TOOLKIT_BUILDER_DECLARATIONS_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 // EXTERNAL INCLUDES
22 #include <dali.h>
23
24 // INTERNAL INCLUDES
25 #include <dali-toolkit/public-api/builder/tree-node.h>
26 #include <dali-toolkit/internal/builder/optional-value.h>
27
28 typedef Dali::Toolkit::TreeNode TreeNode;
29 typedef TreeNode::ConstIterator TreeConstIter;
30
31 typedef OptionalValue<const TreeNode&> OptionalChild;
32 typedef OptionalValue<std::string> OptionalString;
33 typedef OptionalValue<float> OptionalFloat;
34 typedef OptionalValue<int> OptionalInteger;
35 typedef OptionalValue<unsigned int> OptionalUnsignedInt;
36 typedef OptionalValue<bool> OptionalBoolean;
37 typedef OptionalValue<Dali::Vector2> OptionalVector2;
38 typedef OptionalValue<Dali::Vector3> OptionalVector3;
39 typedef OptionalValue<Dali::Vector4> OptionalVector4;
40 typedef OptionalValue<std::string> OptionalString;
41 typedef OptionalValue<Dali::Matrix> OptionalMatrix;
42 typedef OptionalValue<Dali::Matrix3> OptionalMatrix3;
43 typedef OptionalValue<Dali::Rect<int> > OptionalRect;
44
45 #endif // __DALI_TOOLKIT_BUILDER_DECLARATIONS_H__