Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kjs
kjs
kjs
function.h
1
// -*- c-basic-offset: 2 -*-
2
/*
3
* This file is part of the KDE libraries
4
* Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
5
* Copyright (C) 2003 Apple Computer, Inc.
6
*
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Library General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Library General Public License for more details.
16
*
17
* You should have received a copy of the GNU Library General Public License
18
* along with this library; see the file COPYING.LIB. If not, write to
19
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
* Boston, MA 02110-1301, USA.
21
*
22
*/
23
24
#ifndef _KJS_FUNCTION_H_
25
#define _KJS_FUNCTION_H_
26
27
#include "object.h"
28
29
namespace
KJS {
30
31
class
FunctionPrototypeImp;
32
41
class
KJS_EXPORT
InternalFunctionImp
:
public
ObjectImp {
42
public
:
47
InternalFunctionImp
(
FunctionPrototypeImp
*funcProto);
48
InternalFunctionImp
(
ExecState
*exec);
49
50
bool
implementsHasInstance()
const
;
51
Boolean
hasInstance(
ExecState
*exec,
const
Value
&value);
52
53
virtual
const
ClassInfo
*classInfo()
const
{
return
&info; }
54
static
const
ClassInfo
info;
55
Identifier
name()
const
{
return
ident; }
57
void
setName
(
Identifier
_ident) { ident = _ident; }
58
59
protected
:
60
Identifier
ident;
61
};
62
63
}
// namespace
64
65
#endif
kjs
Skip menu "kjs"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
kjs
Skip menu "kjs"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver