Put scroll-connector.h in the capi folder
[platform/core/uifw/dali-toolkit.git] / automated-tests / dali-toolkit-test-utils / toolkit-clipboard-event-notifier.h
1 #ifndef __DALI_TOOLKIT_CLIPBOARD_EVENT_NOTIFIER_H__
2 #define __DALI_TOOLKIT_CLIPBOARD_EVENT_NOTIFIER_H__
3
4 //
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 //
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //     http://floralicense.org/license/
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19
20 // EXTERNAL INCLUDES
21 #include <string>
22
23 // PUBLIC INCLUDES
24 #include <dali/public-api/adaptor-framework/common/clipboard-event-notifier.h>
25
26 namespace Dali
27 {
28
29 namespace Internal
30 {
31 namespace Adaptor
32 {
33 class ClipboardEventNotifier;
34 }
35 }
36
37 /**
38  * This creates a stubbed ClipboardEventNotifier so that internal Toolkit Adaptor calls work.
39  */
40 class ToolkitClipboardEventNotifier
41 {
42 public: // Constants
43
44 public: // Construction & Destruction
45
46   ToolkitClipboardEventNotifier();
47   ~ToolkitClipboardEventNotifier();
48
49 public: // Getters
50
51   ClipboardEventNotifier GetClipboardEventNotifier();
52
53 public: // Signal Emissions
54
55   ClipboardEventNotifier::ClipboardEventSignalV2& SignalContentSelected();
56
57 public: // TEST FUNCTIONS
58
59 private:
60
61   Internal::Adaptor::ClipboardEventNotifier* mClipboardEventNotifierStub;
62   friend class Internal::Adaptor::ClipboardEventNotifier;
63   ClipboardEventNotifier mClipboardEventNotifier; // Hold a handle ourselves.
64 };
65
66 } // namespace Dali
67
68 #endif // __DALI_TOOLKIT_TOOLKIT_CLIPBOARD_EVENT_NOTIFIER_H__