1 #ifndef DALI_TOOLKIT_BUILDER_DECLARATIONS_H
2 #define DALI_TOOLKIT_BUILDER_DECLARATIONS_H
5 * Copyright (c) 2021 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/common/extents.h>
23 #include <dali/public-api/math/matrix.h>
24 #include <dali/public-api/math/matrix3.h>
25 #include <dali/public-api/math/rect.h>
26 #include <dali/public-api/math/vector2.h>
27 #include <dali/public-api/math/vector3.h>
28 #include <dali/public-api/math/vector4.h>
31 #include <dali-toolkit/devel-api/builder/tree-node.h>
32 #include <dali-toolkit/internal/builder/optional-value.h>
34 typedef Dali::Toolkit::TreeNode TreeNode;
35 typedef TreeNode::ConstIterator TreeConstIter;
37 typedef OptionalValue<const TreeNode&> OptionalChild;
38 typedef OptionalValue<std::string> OptionalString;
39 typedef OptionalValue<float> OptionalFloat;
40 typedef OptionalValue<int> OptionalInteger;
41 typedef OptionalValue<unsigned int> OptionalUnsignedInt;
42 typedef OptionalValue<bool> OptionalBoolean;
43 typedef OptionalValue<Dali::Vector2> OptionalVector2;
44 typedef OptionalValue<Dali::Vector3> OptionalVector3;
45 typedef OptionalValue<Dali::Vector4> OptionalVector4;
46 typedef OptionalValue<std::string> OptionalString;
47 typedef OptionalValue<Dali::Matrix> OptionalMatrix;
48 typedef OptionalValue<Dali::Matrix3> OptionalMatrix3;
49 typedef OptionalValue<Dali::Rect<int> > OptionalRect;
50 typedef OptionalValue<Dali::Extents> OptionalExtents;
52 #endif // DALI_TOOLKIT_BUILDER_DECLARATIONS_H