blob: f026d9ae727f6468b185dcff085cbf918ca20fa7 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001/*
2 * Copyright 1997-2003 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Sun designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Sun in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 * CA 95054 USA or visit www.sun.com if you need additional information or
23 * have any questions.
24 */
25
26#include "java_awt_Color.h"
27#include "java_awt_Dimension.h"
28#include "java_awt_MenuBar.h"
29#include "java_awt_Label.h"
30#include "java_awt_FontMetrics.h"
31#include "java_awt_event_MouseEvent.h"
32#include "java_awt_Rectangle.h"
33#include "java_awt_ScrollPaneAdjustable.h"
34#include "java_awt_Toolkit.h"
35#include "java_awt_CheckboxMenuItem.h"
36#include "sun_awt_CharsetString.h"
37
38#include "jni_util.h"
39
40/*
41 * This file contains stubs for JNI field and method id initializers
42 * which are used in the win32 awt.
43 */
44
45jfieldID colorValueID;
46
47JNIEXPORT void JNICALL
48Java_java_awt_Color_initIDs
49 (JNIEnv *env, jclass clazz)
50{
51 colorValueID = (*env)->GetFieldID(env, clazz, "value", "I");
52
53 if(colorValueID == NULL)
54 JNU_ThrowNullPointerException (env, "Can't get java/awt/Color.value fieldID");
55}
56
57JNIEXPORT void JNICALL
58Java_java_awt_MenuBar_initIDs
59 (JNIEnv *env, jclass clazz)
60{
61}
62
63JNIEXPORT void JNICALL
64Java_java_awt_Label_initIDs
65 (JNIEnv *env, jclass clazz)
66{
67}
68
69JNIEXPORT void JNICALL
70Java_java_awt_FontMetrics_initIDs
71 (JNIEnv *env, jclass clazz)
72{
73}
74
75JNIEXPORT void JNICALL
76Java_java_awt_Toolkit_initIDs
77 (JNIEnv *env, jclass clazz)
78{
79}
80
81JNIEXPORT void JNICALL
82Java_java_awt_ScrollPaneAdjustable_initIDs
83 (JNIEnv *env, jclass clazz)
84{
85}
86
87JNIEXPORT void JNICALL
88Java_java_awt_CheckboxMenuItem_initIDs
89 (JNIEnv *env, jclass clazz)
90{
91}
92
93JNIEXPORT void JNICALL
94Java_java_awt_Dimension_initIDs
95 (JNIEnv *env, jclass clazz)
96{
97}
98
99JNIEXPORT void JNICALL
100Java_java_awt_Rectangle_initIDs
101 (JNIEnv *env, jclass clazz)
102{
103}
104
105JNIEXPORT void JNICALL
106Java_java_awt_event_MouseEvent_initIDs
107 (JNIEnv *env, jclass clazz)
108{
109}