2 * Copyright (c) 2017 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.
22 #include <dali/integration-api/debug.h>
25 #include "widget-impl.h"
30 Widget Widget::New(const std::string& id)
32 return Internal::Adaptor::Widget::New(id);
43 Widget::Widget(const Widget& widget)
48 Widget& Widget::operator=(const Widget& widget)
52 BaseHandle::operator=( widget );
57 Widget::WidgetInstanceCreateSignalType& Widget::CreateSignal()
59 return Internal::Adaptor::GetImplementation(*this).CreateSignal();
62 Widget::WidgetInstanceTerminateSignalType& Widget::TerminateSignal()
64 return Internal::Adaptor::GetImplementation(*this).TerminateSignal();
67 Widget::WidgetInstancePauseSignalType& Widget::PauseSignal()
69 return Internal::Adaptor::GetImplementation(*this).PauseSignal();
72 Widget::WidgetInstanceResumeSignalType& Widget::ResumeSignal()
74 return Internal::Adaptor::GetImplementation(*this).ResumeSignal();
77 Widget::WidgetInstanceResizeSignalType& Widget::ResizeSignal()
79 return Internal::Adaptor::GetImplementation(*this).ResizeSignal();
82 Widget::WidgetInstanceUpdateSignalType& Widget::UpdateSignal()
84 return Internal::Adaptor::GetImplementation(*this).UpdateSignal();
87 Widget::Widget(Internal::Adaptor::Widget* widget)