Add new public APIs for Window
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / drag-and-drop-detector.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/drag-and-drop-detector.h>
20
21 // INTERNAL INCLUDES
22 #include <dali/internal/input/common/drag-and-drop-detector-impl.h>
23
24 namespace Dali
25 {
26
27 DragAndDropDetector::DragAndDropDetector()
28 {
29 }
30
31 DragAndDropDetector::~DragAndDropDetector()
32 {
33 }
34
35 const std::string& DragAndDropDetector::GetContent() const
36 {
37   return GetImplementation(*this).GetContent();
38 }
39
40 Vector2 DragAndDropDetector::GetCurrentScreenPosition() const
41 {
42   return GetImplementation(*this).GetCurrentScreenPosition();
43 }
44
45 DragAndDropDetector::DragAndDropSignal& DragAndDropDetector::EnteredSignal()
46 {
47   return GetImplementation(*this).EnteredSignal();
48 }
49
50 DragAndDropDetector::DragAndDropSignal& DragAndDropDetector::ExitedSignal()
51 {
52   return GetImplementation(*this).ExitedSignal();
53 }
54
55 DragAndDropDetector::DragAndDropSignal& DragAndDropDetector::MovedSignal()
56 {
57   return GetImplementation(*this).MovedSignal();
58 }
59
60 DragAndDropDetector::DragAndDropSignal& DragAndDropDetector::DroppedSignal()
61 {
62   return GetImplementation(*this).DroppedSignal();
63 }
64
65 DragAndDropDetector::DragAndDropDetector( Internal::Adaptor::DragAndDropDetector* detector )
66 : BaseHandle( detector )
67 {
68 }
69
70 } // namespace Dali