2 Copyright (C) 2002 David Faure <faure@kde.org>
3 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
5 This file is part of the KDE project
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License version 2, as published by the Free Software Foundation.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public License
17 along with this program; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.
22 #ifndef GlobalObject_H
23 #define GlobalObject_H
26 #include <kdom/ecma/GlobalObject.h>
32 // FIXME: This is all dead code. This will need to be
33 // rolled into the Window object at some point (using the new idl binding method)
34 // This is left here only as example code for when the move occurs
36 class GlobalObject : public GlobalObject
39 GlobalObject(Document *doc);
40 virtual ~GlobalObject();
42 virtual KJS::JSValue *get(KJS::ExecState *exec, const KJS::Identifier &propertyName) const;
44 // EcmaScript specific stuff - only needed for GlobalObject
45 // You won't find it in "general" kdom ecma code...
46 static const struct KJS::HashTable s_hashTable;