khtml Library API Documentation

dom2_views.h

00001 /*
00002  * This file is part of the DOM implementation for KDE.
00003  *
00004  * (C) 2001 Peter Kelly (pmk@post.com)
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Library General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Library General Public License
00017  * along with this library; see the file COPYING.LIB.  If not, write to
00018  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019  * Boston, MA 02111-1307, USA.
00020  *
00021  */
00022 
00023 #ifndef _DOM_Views_h_
00024 #define _DOM_Views_h_
00025 
00026 namespace DOM {
00027 
00028 class Document;
00029 class AbstractViewImpl;
00030 class CSSStyleDeclaration;
00031 class Element;
00032 class DOMString;
00033 
00040 class AbstractView {
00041     friend class Event;
00042     friend class UIEvent;
00043     friend class MouseEvent;
00044     friend class MutationEvent;
00045     friend class Document;
00046 public:
00047     AbstractView();
00048     AbstractView(const AbstractView &other);
00049     virtual ~AbstractView();
00050 
00051     AbstractView & operator = (const AbstractView &other);
00052 
00056     Document document() const;
00057 
00073     CSSStyleDeclaration getComputedStyle(const Element &elt, const DOMString &pseudoElt);
00074 
00079     AbstractViewImpl *handle() const;
00080     bool isNull() const;
00081 
00082 protected:
00083     AbstractView(AbstractViewImpl *i);
00084     AbstractViewImpl *impl;
00085 };
00086 
00087 
00088 } //namespace
00089 #endif
KDE Logo
This file is part of the documentation for khtml Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed May 5 07:22:13 2004 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003