Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / js / src / liveconnect / netscape_javascript_JSObject.h
blobfcb321b1cddd1dce2b4ba10cf7c85626bb70ca3e
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
3 * ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
16 * The Original Code is Mozilla Communicator client code, released
17 * March 31, 1998.
19 * The Initial Developer of the Original Code is
20 * Netscape Communications Corporation.
21 * Portions created by the Initial Developer are Copyright (C) 1998
22 * the Initial Developer. All Rights Reserved.
24 * Contributor(s):
26 * Alternatively, the contents of this file may be used under the terms of
27 * either of the GNU General Public License Version 2 or later (the "GPL"),
28 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the MPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the MPL, the GPL or the LGPL.
38 * ***** END LICENSE BLOCK ***** */
41 * This file is part of the Java-vendor-neutral implementation of LiveConnect
43 * Declarations of private (internal) functions/data/types for
44 * JavaScript <==> Java communication.
48 #include <jni.h>
49 /* Header for class netscape_javascript_JSObject */
51 #ifndef _Included_netscape_javascript_JSObject
52 #define _Included_netscape_javascript_JSObject
53 #ifdef __cplusplus
54 extern "C" {
55 #endif
57 * Class: netscape_javascript_JSObject
58 * Method: initClass
59 * Signature: ()V
61 JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_initClass
62 (JNIEnv *, jclass);
65 * Class: netscape_javascript_JSObject
66 * Method: getMember
67 * Signature: (Ljava/lang/String;)Ljava/lang/Object;
69 JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_getMember
70 (JNIEnv *, jobject, jstring);
73 * Class: netscape_javascript_JSObject
74 * Method: getSlot
75 * Signature: (I)Ljava/lang/Object;
77 JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_getSlot
78 (JNIEnv *, jobject, jint);
81 * Class: netscape_javascript_JSObject
82 * Method: setMember
83 * Signature: (Ljava/lang/String;Ljava/lang/Object;)V
85 JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_setMember
86 (JNIEnv *, jobject, jstring, jobject);
89 * Class: netscape_javascript_JSObject
90 * Method: setSlot
91 * Signature: (ILjava/lang/Object;)V
93 JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_setSlot
94 (JNIEnv *, jobject, jint, jobject);
97 * Class: netscape_javascript_JSObject
98 * Method: removeMember
99 * Signature: (Ljava/lang/String;)V
101 JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_removeMember
102 (JNIEnv *, jobject, jstring);
105 * Class: netscape_javascript_JSObject
106 * Method: call
107 * Signature: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
109 JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_call
110 (JNIEnv *, jobject, jstring, jobjectArray);
113 * Class: netscape_javascript_JSObject
114 * Method: eval
115 * Signature: (Ljava/lang/String;)Ljava/lang/Object;
117 JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_eval
118 (JNIEnv *, jobject, jstring);
121 * Class: netscape_javascript_JSObject
122 * Method: toString
123 * Signature: ()Ljava/lang/String;
125 JNIEXPORT jstring JNICALL Java_netscape_javascript_JSObject_toString
126 (JNIEnv *, jobject);
129 * Class: netscape_javascript_JSObject
130 * Method: getWindow
131 * Signature: (Ljava/applet/Applet;)Lnetscape/javascript/JSObject;
133 JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_getWindow
134 (JNIEnv *, jclass, jobject);
137 * Class: netscape_javascript_JSObject
138 * Method: finalize
139 * Signature: ()V
141 JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_finalize
142 (JNIEnv *, jobject);
145 * Class: netscape_javascript_JSObject
146 * Method: equals
147 * Signature: (Ljava/lang/Object;)Z
149 JNIEXPORT jboolean JNICALL Java_netscape_javascript_JSObject_equals
150 (JNIEnv *, jobject, jobject);
152 #ifdef __cplusplus
154 #endif
155 #endif