2 * Copyright (c) 2022 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 <dali-toolkit/devel-api/controls/navigation-view/navigation-view.h>
24 #include <dali-toolkit/internal/controls/navigation-view/navigation-view-impl.h>
30 NavigationView::NavigationView()
34 NavigationView::NavigationView(const NavigationView& handle) = default;
36 NavigationView& NavigationView::operator=(const NavigationView& handle) = default;
38 NavigationView::NavigationView(NavigationView&& handle) = default;
40 NavigationView& NavigationView::operator=(NavigationView&& handle) = default;
42 NavigationView::~NavigationView()
46 NavigationView NavigationView::New()
48 return Internal::NavigationView::New();
51 NavigationView NavigationView::DownCast(BaseHandle handle)
53 return Control::DownCast<NavigationView, Internal::NavigationView>(handle);
56 NavigationView::NavigationView(Internal::NavigationView& implementation)
57 : Control(implementation)
61 NavigationView::NavigationView(Dali::Internal::CustomActor* internal)
64 VerifyCustomActorPointer<Internal::NavigationView>(internal);
67 void NavigationView::Push(Actor actor)
69 GetImpl(*this).Push(actor);
72 Actor NavigationView::Pop()
74 return GetImpl(*this).Pop();
77 } // namespace Toolkit