Merge branch 'master' into tizen
[platform/core/uifw/dali-toolkit.git] / optional / 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 Flora License, Version 1.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://floralicense.org/license/
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 // EXTERNAL INCLUDES
21 #include <dali.h>
22
23 #include <dali-toolkit/public-api/builder/tree-node.h>
24 #include <dali-toolkit/internal/builder/optional-value.h>
25
26 typedef Dali::Toolkit::TreeNode TreeNode;
27 typedef TreeNode::ConstIterator TreeConstIter;
28
29 typedef OptionalValue<const TreeNode&> OptionalChild;
30 typedef OptionalValue<std::string> OptionalString;
31 typedef OptionalValue<float> OptionalFloat;
32 typedef OptionalValue<int> OptionalInteger;
33 typedef OptionalValue<unsigned int> OptionalUnsignedInt;
34 typedef OptionalValue<bool> OptionalBoolean;
35 typedef OptionalValue<Dali::Vector2> OptionalVector2;
36 typedef OptionalValue<Dali::Vector3> OptionalVector3;
37 typedef OptionalValue<Dali::Vector4> OptionalVector4;
38 typedef OptionalValue<std::string> OptionalString;
39 typedef OptionalValue<Dali::Matrix> OptionalMatrix;
40 typedef OptionalValue<Dali::Matrix3> OptionalMatrix3;
41 typedef OptionalValue<Dali::Rect<int> > OptionalRect;
42
43 #endif // __DALI_TOOLKIT_BUILDER_DECLARATIONS_H__