kjs_views.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _KJS_VIEWS_H_
00022 #define _KJS_VIEWS_H_
00023
00024 #include "ecma/kjs_dom.h"
00025 #include "dom/dom2_views.h"
00026
00027 namespace KJS {
00028
00029
00030 class DOMAbstractView : public DOMObject {
00031 public:
00032 DOMAbstractView(ExecState *, DOM::AbstractView av);
00033 ~DOMAbstractView();
00034 virtual Value tryGet(ExecState *exec,const UString &p) const;
00035
00036 virtual const ClassInfo* classInfo() const { return &info; }
00037 static const ClassInfo info;
00038 virtual DOM::AbstractView toAbstractView() const { return abstractView; }
00039 enum { Document, GetComputedStyle };
00040 protected:
00041 DOM::AbstractView abstractView;
00042 };
00043
00044 Value getDOMAbstractView(ExecState *exec, DOM::AbstractView av);
00045
00049 DOM::AbstractView toAbstractView(const Value&);
00050
00051 }
00052
00053 #endif
This file is part of the documentation for kdelibs Version 3.1.4.