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.
22 #include <dali/public-api/math/rect.h>
23 #include <dali/public-api/math/vector2.h>
24 #include <dali/public-api/math/vector3.h>
25 #include <dali/public-api/math/vector4.h>
26 #include <dali/public-api/math/matrix.h>
27 #include <dali/public-api/math/matrix3.h>
30 #include <dali-toolkit/public-api/builder/tree-node.h>
31 #include <dali-toolkit/internal/builder/optional-value.h>
33 typedef Dali::Toolkit::TreeNode TreeNode;
34 typedef TreeNode::ConstIterator TreeConstIter;
36 typedef OptionalValue<const TreeNode&> OptionalChild;
37 typedef OptionalValue<std::string> OptionalString;
38 typedef OptionalValue<float> OptionalFloat;
39 typedef OptionalValue<int> OptionalInteger;
40 typedef OptionalValue<unsigned int> OptionalUnsignedInt;
41 typedef OptionalValue<bool> OptionalBoolean;
42 typedef OptionalValue<Dali::Vector2> OptionalVector2;
43 typedef OptionalValue<Dali::Vector3> OptionalVector3;
44 typedef OptionalValue<Dali::Vector4> OptionalVector4;
45 typedef OptionalValue<std::string> OptionalString;
46 typedef OptionalValue<Dali::Matrix> OptionalMatrix;
47 typedef OptionalValue<Dali::Matrix3> OptionalMatrix3;
48 typedef OptionalValue<Dali::Rect<int> > OptionalRect;
50 #endif // __DALI_TOOLKIT_BUILDER_DECLARATIONS_H__