1 #ifndef __DALI_TOOLKIT_BUILDER_DECLARATIONS_H__
2 #define __DALI_TOOLKIT_BUILDER_DECLARATIONS_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
24 #include <dali-toolkit/public-api/builder/tree-node.h>
25 #include <dali-toolkit/internal/builder/optional-value.h>
27 typedef Dali::Toolkit::TreeNode TreeNode;
28 typedef TreeNode::ConstIterator TreeConstIter;
30 typedef OptionalValue<const TreeNode&> OptionalChild;
31 typedef OptionalValue<std::string> OptionalString;
32 typedef OptionalValue<float> OptionalFloat;
33 typedef OptionalValue<int> OptionalInteger;
34 typedef OptionalValue<unsigned int> OptionalUnsignedInt;
35 typedef OptionalValue<bool> OptionalBoolean;
36 typedef OptionalValue<Dali::Vector2> OptionalVector2;
37 typedef OptionalValue<Dali::Vector3> OptionalVector3;
38 typedef OptionalValue<Dali::Vector4> OptionalVector4;
39 typedef OptionalValue<std::string> OptionalString;
40 typedef OptionalValue<Dali::Matrix> OptionalMatrix;
41 typedef OptionalValue<Dali::Matrix3> OptionalMatrix3;
42 typedef OptionalValue<Dali::Rect<int> > OptionalRect;
44 #endif // __DALI_TOOLKIT_BUILDER_DECLARATIONS_H__