KHtml

kjs_audio.h
1 /*
2  * This file is part of the KDE libraries
3  * Copyright (C) 2006 Germain Garand <[email protected]>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef KJS_AUDIO_H
21 #define KJS_AUDIO_H
22 
23 #include "ecma/kjs_binding.h"
24 #include "ecma/kjs_dom.h"
25 
26 #include <kjs/object.h>
27 
28 namespace KJS
29 {
30 
31 class AudioConstructorImp : public JSObject
32 {
33 public:
34  AudioConstructorImp(ExecState *exec, DOM::DocumentImpl *d);
35  bool implementsConstruct() const override;
36  using KJS::JSObject::construct;
37  JSObject *construct(ExecState *exec, const List &args) override;
38 private:
39  SharedPtr<DOM::DocumentImpl> doc;
40 };
41 
42 } // namespace KJS
43 
44 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Oct 26 2021 22:48:04 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.