10163b4f946874ea1a07fe98b5a9bc008fbad6bd
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / clipboard-event-notifier.cpp
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 // CLASS HEADER
19 #include <dali/devel-api/adaptor-framework/clipboard-event-notifier.h>
20
21 // INTERNAL INCLUDES
22 #include <dali/internal/clipboard/common/clipboard-event-notifier-impl.h>
23
24 namespace Dali
25 {
26
27 ClipboardEventNotifier::ClipboardEventNotifier()
28 {
29 }
30
31 ClipboardEventNotifier ClipboardEventNotifier::Get()
32 {
33   return Internal::Adaptor::ClipboardEventNotifier::Get();
34 }
35
36 ClipboardEventNotifier::~ClipboardEventNotifier()
37 {
38 }
39
40 const std::string& ClipboardEventNotifier::GetContent() const
41 {
42   return Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).GetContent();
43 }
44
45 void ClipboardEventNotifier::SetContent( const std::string& content )
46 {
47   Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).SetContent(content);
48 }
49
50 void ClipboardEventNotifier::ClearContent()
51 {
52   Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).ClearContent();
53 }
54
55 void ClipboardEventNotifier::EmitContentSelectedSignal()
56 {
57   Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).EmitContentSelectedSignal();
58 }
59
60 ClipboardEventNotifier::ClipboardEventSignalType& ClipboardEventNotifier::ContentSelectedSignal()
61 {
62   return Internal::Adaptor::ClipboardEventNotifier::GetImplementation(*this).ContentSelectedSignal();
63 }
64
65 ClipboardEventNotifier::ClipboardEventNotifier( Internal::Adaptor::ClipboardEventNotifier* notifier )
66 : BaseHandle( notifier )
67 {
68 }
69
70 } // namespace Dali