2 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include "center-layout.h"
22 #include "center-layout-impl.h"
30 CenterLayout CenterLayout::New()
32 return Internal::CenterLayout::New();
35 CenterLayout::CenterLayout()
39 CenterLayout::CenterLayout( const CenterLayout& handle )
44 CenterLayout& CenterLayout::operator=( const CenterLayout& handle )
48 Control::operator=( handle );
53 CenterLayout CenterLayout::DownCast( BaseHandle handle )
55 return Control::DownCast<CenterLayout, Internal::CenterLayout>( handle );
58 CenterLayout::~CenterLayout()
62 CenterLayout::CenterLayout( Internal::CenterLayout& internal )
67 CenterLayout::CenterLayout( Dali::Internal::CustomActor* internal )
72 Internal::CenterLayout& CenterLayout::GetImpl( CenterLayout& verticalLayout )
74 DALI_ASSERT_ALWAYS( verticalLayout );
76 Dali::RefObject& handle = verticalLayout.GetImplementation();
78 return static_cast<Internal::CenterLayout&>(handle);
81 } // namespace Toolkit