1 /*
2  * This file is part of the DOM implementation for KDE.
3  *
4  * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
5  *           (C) 1999 Antti Koivisto (koivisto@kde.org)
6  *           (C) 2001 Dirk Mueller (mueller@kde.org)
7  *           (C) 2002-2003 Apple Computer, Inc.
8  *           (C) 2006 Allan Sandfeld Jensen(kde@carewolf.com)
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Library General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Library General Public License for more details.
19  *
20  * You should have received a copy of the GNU Library General Public License
21  * along with this library; see the file COPYING.LIB.  If not, write to
22  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23  * Boston, MA 02110-1301, USA.
24  *
25  */
26 
27 #ifndef Document_h
28 #define Document_h
29 
30 #include "xml/dom_docimpl.h"
31 #include "Frame.h"
32 #include "xml/dom_nodeimpl.h"
33 #include "misc/htmlnames.h"
34 #include "dom/dom_exception.h"
35 #include "dom/dom_node.h"
36 #include "dom/QualifiedName.h"
37 #include "css/css_valueimpl.h"
38 #include "css/cssproperties.h"
39 //#include "css/cssstyleselector.h"
40 #include "css/css_stylesheetimpl.h"
41 #include "dom/ExceptionCode.h"
42 #include "xml/dom2_eventsimpl.h"
43 
44 #define CSSPropertyWidth CSS_PROP_WIDTH
45 #define CSSPropertyHeight CSS_PROP_HEIGHT
46 
47 namespace WebCore
48 {
49 typedef DOM::DocumentImpl Document;
50 typedef DOM::DOMImplementationImpl DOMImplementation;
51 typedef DOM::ElementImpl Element;
52 typedef DOM::ElementImpl StyledElement;
53 typedef DOM::DOMString String;
54 typedef DOM::DOMStringImpl StringImpl;
55 typedef DOM::NodeImpl Node;
56 typedef DOM::AttributeImpl Attribute;
57 typedef DOM::EventImpl Event;
58 typedef DOM::EventListener EventListener;
59 typedef DOM::RegisteredListenerList RegisteredEventListenerList;
60 typedef DOM::CSSStyleDeclarationImpl CSSStyleDeclaration;
61 typedef QChar UChar;
62 typedef DOM::AttributeImpl MappedAttribute;
63 //typedef RenderCanvas RenderView;
64 typedef DOM::StyleSheetImpl StyleSheet;
65 //typedef QColor Color;
66 typedef DOM::NodeImpl EventTargetNode;
67 typedef DOM::QualifiedName QualifiedName;
68 typedef DOM::DOMException  DOMException;
69 }
70 
71 #endif
72