From: Wonsik Jung Date: Mon, 11 Jun 2018 06:19:25 +0000 (+0900) Subject: Revert "[Tizen] Change the API macros for layout" X-Git-Tag: accepted/tizen/unified/20180614.150710~10 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=f57e8f63d7def520df0580f64d664c816f1c4803 Revert "[Tizen] Change the API macros for layout" This reverts commit 750f18c7e28f835cf1f4d7412b1a1b36c4eac049. Change-Id: Ica3b50d50106d56b7aa08da478d47a99add4884a --- diff --git a/dali-toolkit/devel-api/layouting/hbox-layout.h b/dali-toolkit/devel-api/layouting/hbox-layout.h index 81a02d9..62c4bf7 100644 --- a/dali-toolkit/devel-api/layouting/hbox-layout.h +++ b/dali-toolkit/devel-api/layouting/hbox-layout.h @@ -22,7 +22,6 @@ #include #include #include -#include namespace Dali { @@ -38,7 +37,7 @@ class HboxLayout; * This class implements a horizontal box layout, automatically handling * right to left or left to right direction change. */ -class DALI_TOOLKIT_API HboxLayout : public LayoutGroup +class DALI_IMPORT_API HboxLayout : public LayoutGroup { public: diff --git a/dali-toolkit/devel-api/layouting/layout-controller.h b/dali-toolkit/devel-api/layouting/layout-controller.h index fe955a4..db5cc5b 100644 --- a/dali-toolkit/devel-api/layouting/layout-controller.h +++ b/dali-toolkit/devel-api/layouting/layout-controller.h @@ -36,7 +36,7 @@ class LayoutController; * @brief Controls the process of layouting the control tree. It provides methods to enable * controls to re-layout and internal systems to separately measure and layout controls. */ -class DALI_TOOLKIT_API LayoutController : public BaseHandle +class DALI_IMPORT_API LayoutController : public BaseHandle { public: /** diff --git a/dali-toolkit/devel-api/layouting/layout-group-impl.h b/dali-toolkit/devel-api/layouting/layout-group-impl.h index f827c30..025950c 100644 --- a/dali-toolkit/devel-api/layouting/layout-group-impl.h +++ b/dali-toolkit/devel-api/layouting/layout-group-impl.h @@ -54,8 +54,8 @@ using LayoutGroupPtr = IntrusivePtr; * OnLayout should use it's own layout parameters and the measured children's size to determine the children's * position and size; it should then call Layout() on the child layout to layout the child and it's hierarchy. */ -class DALI_TOOLKIT_API LayoutGroup : public LayoutItem, - public ConnectionTracker +class DALI_IMPORT_API LayoutGroup : public LayoutItem, + public ConnectionTracker { public: /** diff --git a/dali-toolkit/devel-api/layouting/layout-group.h b/dali-toolkit/devel-api/layouting/layout-group.h index ec5d7b2..d006775 100644 --- a/dali-toolkit/devel-api/layouting/layout-group.h +++ b/dali-toolkit/devel-api/layouting/layout-group.h @@ -21,7 +21,6 @@ #include #include #include -#include namespace Dali { @@ -49,7 +48,7 @@ class LayoutGroup; * To write a new layout, inherit from both LayoutGroup handle and Internal::LayoutGroup body. * */ -class DALI_TOOLKIT_API LayoutGroup : public LayoutItem +class DALI_IMPORT_API LayoutGroup : public LayoutItem { public: using LayoutId = unsigned int; diff --git a/dali-toolkit/devel-api/layouting/layout-item-impl.h b/dali-toolkit/devel-api/layouting/layout-item-impl.h index 1cf2c23..fb12913 100644 --- a/dali-toolkit/devel-api/layouting/layout-item-impl.h +++ b/dali-toolkit/devel-api/layouting/layout-item-impl.h @@ -44,8 +44,8 @@ using LayoutItemPtr = IntrusivePtr; /** * Base class for layouts. */ -class DALI_TOOLKIT_API LayoutItem : public BaseObject, - public LayoutParent +class DALI_IMPORT_API LayoutItem : public BaseObject, + public LayoutParent { public: /** diff --git a/dali-toolkit/devel-api/layouting/layout-item.h b/dali-toolkit/devel-api/layouting/layout-item.h index bfe776f..3bb96bb 100644 --- a/dali-toolkit/devel-api/layouting/layout-item.h +++ b/dali-toolkit/devel-api/layouting/layout-item.h @@ -24,7 +24,6 @@ #include #include #include -#include namespace Dali { @@ -43,7 +42,7 @@ using LayoutId = unsigned int; * Base class for layouts. It is used to layout a control (or visual). * It can be laid out by a LayoutGroup. */ -class DALI_TOOLKIT_API LayoutItem : public BaseHandle +class DALI_IMPORT_API LayoutItem : public BaseHandle { public: diff --git a/dali-toolkit/devel-api/layouting/layout-parent-impl.h b/dali-toolkit/devel-api/layouting/layout-parent-impl.h index a6d76c3..392a2ab 100644 --- a/dali-toolkit/devel-api/layouting/layout-parent-impl.h +++ b/dali-toolkit/devel-api/layouting/layout-parent-impl.h @@ -17,8 +17,6 @@ * limitations under the License. */ -#include - namespace Dali { namespace Toolkit @@ -32,7 +30,7 @@ namespace Internal * Needed to prevent circular inheritance - most LayoutBases have a parent, * but parenting is provided by LayoutGroup, which is a sub-class of LayoutBase. */ -class DALI_TOOLKIT_API LayoutParent +class DALI_IMPORT_API LayoutParent { public: /** diff --git a/dali-toolkit/devel-api/layouting/measure-spec.h b/dali-toolkit/devel-api/layouting/measure-spec.h index d54ebb3..f766247 100644 --- a/dali-toolkit/devel-api/layouting/measure-spec.h +++ b/dali-toolkit/devel-api/layouting/measure-spec.h @@ -19,7 +19,6 @@ #include #include -#include #include @@ -33,7 +32,7 @@ namespace Toolkit * how to be measured. For instance, it may measure a child with an exact width and an unspecified * height in order to determine height for width. */ -class DALI_TOOLKIT_API MeasureSpec +class DALI_IMPORT_API MeasureSpec { public: using IntType = LayoutLength::IntType; diff --git a/dali-toolkit/devel-api/layouting/measured-size.h b/dali-toolkit/devel-api/layouting/measured-size.h index 451362b..ff937cf 100644 --- a/dali-toolkit/devel-api/layouting/measured-size.h +++ b/dali-toolkit/devel-api/layouting/measured-size.h @@ -19,7 +19,6 @@ #include #include -#include namespace Dali { @@ -29,7 +28,7 @@ namespace Toolkit /** * Class that encodes a measurement and a measure state, which is set if the measured size is too small. */ -class DALI_TOOLKIT_API MeasuredSize +class DALI_IMPORT_API MeasuredSize { public: diff --git a/dali-toolkit/devel-api/layouting/vbox-layout.h b/dali-toolkit/devel-api/layouting/vbox-layout.h index 939ae03..78e5bc2 100644 --- a/dali-toolkit/devel-api/layouting/vbox-layout.h +++ b/dali-toolkit/devel-api/layouting/vbox-layout.h @@ -36,7 +36,7 @@ class VboxLayout; * This class implements a vertical box layout, automatically handling * right to left or left to right direction change. */ -class DALI_TOOLKIT_API VboxLayout : public LayoutGroup +class DALI_IMPORT_API VboxLayout : public LayoutGroup { public: