2 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
18 #include <dali/public-api/adaptor-framework/common/clipboard-event-notifier.h>
21 #include <internal/common/clipboard-event-notifier-impl.h>
26 const char* const ClipboardEventNotifier::SIGNAL_CONTENT_SELECTED( "content-selected" );
28 ClipboardEventNotifier::ClipboardEventNotifier()
32 ClipboardEventNotifier ClipboardEventNotifier::Get()
34 return Internal::Adaptor::ClipboardEventNotifier::Get();
37 ClipboardEventNotifier::~ClipboardEventNotifier()
41 const std::string& ClipboardEventNotifier::GetContent() const
43 return Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).GetContent();
46 void ClipboardEventNotifier::SetContent( const std::string& content )
48 Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).SetContent(content);
51 void ClipboardEventNotifier::ClearContent()
53 Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).ClearContent();
56 void ClipboardEventNotifier::EmitContentSelectedSignal()
58 Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).EmitContentSelectedSignal();
61 ClipboardEventNotifier::ClipboardEventSignalV2& ClipboardEventNotifier::ContentSelectedSignal()
63 return Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).ContentSelectedSignal();
66 ClipboardEventNotifier::ClipboardEventNotifier( Internal::Adaptor::ClipboardEventNotifier* notifier )
67 : BaseHandle( notifier )