1 #ifndef __DALI_TOOLKIT_INTERNAL_RELAYOUT_CONTROLLER_H__
2 #define __DALI_TOOLKIT_INTERNAL_RELAYOUT_CONTROLLER_H__
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
20 #include <dali/dali.h>
31 class RelayoutControllerImpl;
35 * This singleton class provides functionality to trigger relayouting of toolkit controls in the dali scene graph.
37 class RelayoutController : public Dali::BaseHandle
43 * We should only create a unique instance.
50 virtual ~RelayoutController();
53 * Get the singleton of RelayoutController object.
54 * @return A handle to the RelayoutController.
56 static RelayoutController Get();
59 * Request to relayout.
65 RelayoutController(Internal::RelayoutControllerImpl *impl);
68 } // namespace Internal
70 } // namespace Toolkit
74 #endif // __DALI_TOOLKIT_INTERNAL_RELAYOUT_CONTROLLER_H__