1/*
2 *  Copyright (C) 2007 Holger Hans Peter Freyther
3 *  Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 *  Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
5 *  Copyright (C) 2009-2010 ProFUSION embedded systems
6 *  Copyright (C) 2009-2010 Samsung Electronics
7 *
8 *  This library is free software; you can redistribute it and/or
9 *  modify it under the terms of the GNU Lesser General Public
10 *  License as published by the Free Software Foundation; either
11 *  version 2 of the License, or (at your option) any later version.
12 *
13 *  This library is distributed in the hope that it will be useful,
14 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 *  Lesser General Public License for more details.
17 *
18 *  You should have received a copy of the GNU Lesser General Public
19 *  License along with this library; if not, write to the Free Software
20 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 */
22
23#include "config.h"
24#include "Pasteboard.h"
25
26#include "DocumentFragment.h"
27#include "Frame.h"
28#include "Image.h"
29#include "KURL.h"
30#include "NotImplemented.h"
31#include "PlatformString.h"
32#include "RenderImage.h"
33#include "markup.h"
34#include <wtf/text/CString.h>
35
36namespace WebCore {
37
38Pasteboard* Pasteboard::generalPasteboard()
39{
40    static Pasteboard* pasteboard = new Pasteboard();
41    return pasteboard;
42}
43
44Pasteboard::Pasteboard()
45{
46    notImplemented();
47}
48
49void Pasteboard::writePlainText(const String&)
50{
51    notImplemented();
52}
53
54void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
55{
56    notImplemented();
57}
58
59void Pasteboard::writeURL(const KURL&, const String&, Frame*)
60{
61    notImplemented();
62}
63
64void Pasteboard::writeImage(Node* node, const KURL&, const String&)
65{
66    notImplemented();
67}
68
69void Pasteboard::clear()
70{
71    notImplemented();
72}
73
74bool Pasteboard::canSmartReplace()
75{
76    notImplemented();
77    return false;
78}
79
80PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame* frame, PassRefPtr<Range> context,
81                                                          bool allowPlainText, bool& chosePlainText)
82{
83    notImplemented();
84    return 0;
85}
86
87String Pasteboard::plainText(Frame*)
88{
89    notImplemented();
90    return String();
91}
92
93}
94