1/* 2 * Copyright (C) 2010 Company 100, Inc. 3 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#define LOG_TAG "WebCore" 28 29#include "config.h" 30#include "Cursor.h" 31 32#include "NotImplemented.h" 33 34#include <wtf/StdLibExtras.h> 35 36namespace WebCore { 37 38Cursor::Cursor(Image*, const IntPoint&) 39{ 40 notImplemented(); 41} 42 43Cursor::Cursor(const Cursor&) 44{ 45 notImplemented(); 46} 47 48Cursor::~Cursor() 49{ 50 notImplemented(); 51} 52 53Cursor& Cursor::operator=(const Cursor&) 54{ 55 notImplemented(); 56 return *this; 57} 58 59static inline Cursor& dummyCursor() 60{ 61 DEFINE_STATIC_LOCAL(Cursor, c, ()); 62 return c; 63} 64 65const Cursor& pointerCursor() 66{ 67 notImplemented(); 68 return dummyCursor(); 69} 70 71const Cursor& crossCursor() 72{ 73 notImplemented(); 74 return dummyCursor(); 75} 76 77const Cursor& handCursor() 78{ 79 notImplemented(); 80 return dummyCursor(); 81} 82 83const Cursor& moveCursor() 84{ 85 notImplemented(); 86 return dummyCursor(); 87} 88 89const Cursor& iBeamCursor() 90{ 91 notImplemented(); 92 return dummyCursor(); 93} 94 95const Cursor& waitCursor() 96{ 97 notImplemented(); 98 return dummyCursor(); 99} 100 101const Cursor& helpCursor() 102{ 103 notImplemented(); 104 return dummyCursor(); 105} 106 107const Cursor& eastResizeCursor() 108{ 109 notImplemented(); 110 return dummyCursor(); 111} 112 113const Cursor& northResizeCursor() 114{ 115 notImplemented(); 116 return dummyCursor(); 117} 118 119const Cursor& northEastResizeCursor() 120{ 121 notImplemented(); 122 return dummyCursor(); 123} 124 125const Cursor& northWestResizeCursor() 126{ 127 notImplemented(); 128 return dummyCursor(); 129} 130 131const Cursor& southResizeCursor() 132{ 133 notImplemented(); 134 return dummyCursor(); 135} 136 137const Cursor& southEastResizeCursor() 138{ 139 notImplemented(); 140 return dummyCursor(); 141} 142 143const Cursor& southWestResizeCursor() 144{ 145 notImplemented(); 146 return dummyCursor(); 147} 148 149const Cursor& westResizeCursor() 150{ 151 notImplemented(); 152 return dummyCursor(); 153} 154 155const Cursor& northSouthResizeCursor() 156{ 157 notImplemented(); 158 return dummyCursor(); 159} 160 161const Cursor& eastWestResizeCursor() 162{ 163 notImplemented(); 164 return dummyCursor(); 165} 166 167const Cursor& northEastSouthWestResizeCursor() 168{ 169 notImplemented(); 170 return dummyCursor(); 171} 172 173const Cursor& northWestSouthEastResizeCursor() 174{ 175 notImplemented(); 176 return dummyCursor(); 177} 178 179const Cursor& columnResizeCursor() 180{ 181 notImplemented(); 182 return dummyCursor(); 183} 184 185const Cursor& rowResizeCursor() 186{ 187 notImplemented(); 188 return dummyCursor(); 189} 190 191const Cursor& verticalTextCursor() 192{ 193 notImplemented(); 194 return dummyCursor(); 195} 196 197const Cursor& cellCursor() 198{ 199 notImplemented(); 200 return dummyCursor(); 201} 202 203const Cursor& contextMenuCursor() 204{ 205 notImplemented(); 206 return dummyCursor(); 207} 208 209const Cursor& noDropCursor() 210{ 211 notImplemented(); 212 return dummyCursor(); 213} 214 215const Cursor& copyCursor() 216{ 217 notImplemented(); 218 return dummyCursor(); 219} 220 221const Cursor& progressCursor() 222{ 223 notImplemented(); 224 return dummyCursor(); 225} 226 227const Cursor& aliasCursor() 228{ 229 notImplemented(); 230 return dummyCursor(); 231} 232 233const Cursor& noneCursor() 234{ 235 notImplemented(); 236 return dummyCursor(); 237} 238 239const Cursor& notAllowedCursor() 240{ 241 return dummyCursor(); 242} 243 244const Cursor& zoomInCursor() 245{ 246 return dummyCursor(); 247} 248 249const Cursor& zoomOutCursor() 250{ 251 return dummyCursor(); 252} 253 254const Cursor& middlePanningCursor() 255{ 256 notImplemented(); 257 return dummyCursor(); 258} 259 260const Cursor& eastPanningCursor() 261{ 262 notImplemented(); 263 return dummyCursor(); 264} 265 266const Cursor& northPanningCursor() 267{ 268 notImplemented(); 269 return dummyCursor(); 270} 271 272const Cursor& northEastPanningCursor() 273{ 274 notImplemented(); 275 return dummyCursor(); 276} 277 278const Cursor& northWestPanningCursor() 279{ 280 notImplemented(); 281 return dummyCursor(); 282} 283 284const Cursor& southPanningCursor() 285{ 286 notImplemented(); 287 return dummyCursor(); 288} 289 290const Cursor& southEastPanningCursor() 291{ 292 notImplemented(); 293 return dummyCursor(); 294} 295 296const Cursor& southWestPanningCursor() 297{ 298 notImplemented(); 299 return dummyCursor(); 300} 301 302const Cursor& westPanningCursor() 303{ 304 notImplemented(); 305 return dummyCursor(); 306} 307 308const Cursor& grabCursor() 309{ 310 notImplemented(); 311 return dummyCursor(); 312} 313 314const Cursor& grabbingCursor() 315{ 316 notImplemented(); 317 return dummyCursor(); 318} 319 320} // namespace WebCore 321