Update to doxygen for SetLayoutParametersUsingResizePolicy API
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / layouting / layout-controller-debug.h
1 #ifndef DALI_TOOLKIT_INTERNAL_LAYOUTING_DEBUG_H
2 #define DALI_TOOLKIT_INTERNAL_LAYOUTING_DEBUG_H
3
4 /*
5  * Copyright (c) 2018 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 #include <dali/public-api/actors/actor.h>
21 #include <dali/integration-api/debug.h>
22 #include <dali-toolkit/devel-api/layouting/measure-spec.h>
23
24 namespace Dali
25 {
26 namespace Toolkit
27 {
28 namespace Internal
29 {
30
31 #if defined(DEBUG_ENABLED)
32
33 extern void LayoutDebugMeasureState( Actor root );
34 extern void LayoutDebugAfterLayout( Actor root );
35
36
37 #define LAYOUT_DEBUG_MEASURE_STATES( root ) \
38   LayoutDebugMeasureState( root )
39
40 #define LAYOUT_DEBUG_AFTER_LAYOUT( root ) \
41   LayoutDebugAfterLayout( root )
42
43 #else
44
45
46 #define LAYOUT_DEBUG_MEASURE_STATES( root )
47 #define LAYOUT_DEBUG_AFTER_LAYOUT( root )
48
49 #endif
50
51 } // namespace Internal
52 } // namespace Toolkit
53 } // namespace Dali
54
55 #endif //DALI_TOOLKIT_INTERNAL_LAYOUTING_DEBUG_H