2 * Copyright (c) 2019 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/devel-api/adaptor-framework/autofill-group.h>
22 #include <dali/internal/input/common/autofill-group-impl.h>
27 AutofillGroup::AutofillGroup()
31 AutofillGroup::AutofillGroup( Internal::Adaptor::AutofillGroup* internal )
32 : BaseHandle( internal )
36 AutofillGroup::~AutofillGroup()
40 AutofillGroup::AutofillGroup( const AutofillGroup& group )
45 AutofillGroup& AutofillGroup::operator=( const AutofillGroup& group )
49 BaseHandle::operator=( group );
54 AutofillGroup AutofillGroup::DownCast( BaseHandle handle )
56 return AutofillGroup( dynamic_cast< Internal::Adaptor::AutofillGroup* >( handle.GetObjectPtr() ) );
59 const std::string& AutofillGroup::GetId() const
61 return Internal::Adaptor::GetImplementation(*this).GetId();
64 void AutofillGroup::AddAutofillItem( Dali::AutofillItem item )
66 Internal::Adaptor::GetImplementation(*this).AddAutofillItem( item );
69 Dali::AutofillItem AutofillGroup::GetAutofillItem( const std::string& id )
71 return Internal::Adaptor::GetImplementation(*this).GetAutofillItem( id );
74 void AutofillGroup::SaveAutofillData()
76 Internal::Adaptor::GetImplementation(*this).SaveAutofillData();
79 void AutofillGroup::RequestAuthentication()
81 Internal::Adaptor::GetImplementation(*this).RequestAuthentication();
84 void AutofillGroup::SendFillRequest()
86 Internal::Adaptor::GetImplementation(*this).SendFillRequest();