1/*
2 *  Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
3 *  Copyright (C) 2009-2010 ProFUSION embedded systems
4 *  Copyright (C) 2009-2010 Samsung Electronics
5 *
6 *  This library is free software; you can redistribute it and/or
7 *  modify it under the terms of the GNU Lesser General Public
8 *  License as published by the Free Software Foundation; either
9 *  version 2 of the License, or (at your option) any later version.
10 *
11 *  This library is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 *  Lesser General Public License for more details.
15 *
16 *  You should have received a copy of the GNU Lesser General Public
17 *  License along with this library; if not, write to the Free Software
18 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19 */
20
21#include "config.h"
22#include "ClipboardEfl.h"
23
24#include "Editor.h"
25#include "FileList.h"
26#include "NotImplemented.h"
27#include <wtf/text/StringHash.h>
28
29namespace WebCore {
30PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy, Frame*)
31{
32    return ClipboardEfl::create(policy, Clipboard::CopyAndPaste);
33}
34
35PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy, DragData*, Frame*)
36{
37    return 0;
38}
39
40ClipboardEfl::ClipboardEfl(ClipboardAccessPolicy policy, ClipboardType clipboardType)
41    : Clipboard(policy, clipboardType)
42{
43    notImplemented();
44}
45
46ClipboardEfl::~ClipboardEfl()
47{
48    notImplemented();
49}
50
51void ClipboardEfl::clearData(const String&)
52{
53    notImplemented();
54}
55
56void ClipboardEfl::writePlainText(const WTF::String&)
57{
58    notImplemented();
59}
60
61void ClipboardEfl::clearAllData()
62{
63    notImplemented();
64}
65
66String ClipboardEfl::getData(const String&, bool &success) const
67{
68    notImplemented();
69    success = false;
70    return String();
71}
72
73bool ClipboardEfl::setData(const String&, const String&)
74{
75    notImplemented();
76    return false;
77}
78
79HashSet<String> ClipboardEfl::types() const
80{
81    notImplemented();
82    return HashSet<String>();
83}
84
85PassRefPtr<FileList> ClipboardEfl::files() const
86{
87    notImplemented();
88    return 0;
89}
90
91IntPoint ClipboardEfl::dragLocation() const
92{
93    notImplemented();
94    return IntPoint(0, 0);
95}
96
97CachedImage* ClipboardEfl::dragImage() const
98{
99    notImplemented();
100    return 0;
101}
102
103void ClipboardEfl::setDragImage(CachedImage*, const IntPoint&)
104{
105    notImplemented();
106}
107
108Node* ClipboardEfl::dragImageElement()
109{
110    notImplemented();
111    return 0;
112}
113
114void ClipboardEfl::setDragImageElement(Node*, const IntPoint&)
115{
116    notImplemented();
117}
118
119DragImageRef ClipboardEfl::createDragImage(IntPoint&) const
120{
121    notImplemented();
122    return 0;
123}
124
125void ClipboardEfl::declareAndWriteDragImage(Element*, const KURL&, const String&, Frame*)
126{
127    notImplemented();
128}
129
130void ClipboardEfl::writeURL(const KURL&, const String&, Frame*)
131{
132    notImplemented();
133}
134
135void ClipboardEfl::writeRange(Range*, Frame*)
136{
137    notImplemented();
138}
139
140bool ClipboardEfl::hasData()
141{
142    notImplemented();
143    return false;
144}
145
146}
147