| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| /* |
| * THE FILE HAS BEEN AUTOGENERATED BY INTEL IJH TOOL. |
| * Please be aware that all changes made to this file manually |
| * will be overwritten by the tool if it runs again. |
| */ |
| /** |
| * @author Alexey A. Petrenko |
| */ |
| |
| #include <jni.h> |
| |
| |
| /* Header for class org.apache.harmony.x.print.GDIClient */ |
| |
| #ifndef _ORG_APACHE_HARMONY_X_PRINT_GDICLIENT_H |
| #define _ORG_APACHE_HARMONY_X_PRINT_GDICLIENT_H |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| |
| /* Static final fields */ |
| |
| #undef org_apache_harmony_x_print_GDIClient_MAX_BUFFER_SIZE |
| #define org_apache_harmony_x_print_GDIClient_MAX_BUFFER_SIZE 10240L |
| |
| #undef org_apache_harmony_x_print_GDIClient_ATTRIBUTES_ARRAY_SIZE |
| #define org_apache_harmony_x_print_GDIClient_ATTRIBUTES_ARRAY_SIZE 8L |
| |
| #undef org_apache_harmony_x_print_GDIClient_COPIES_INDEX |
| #define org_apache_harmony_x_print_GDIClient_COPIES_INDEX 0L |
| |
| #undef org_apache_harmony_x_print_GDIClient_SIDES_INDEX |
| #define org_apache_harmony_x_print_GDIClient_SIDES_INDEX 1L |
| |
| #undef org_apache_harmony_x_print_GDIClient_PAPER_ID_INDEX |
| #define org_apache_harmony_x_print_GDIClient_PAPER_ID_INDEX 2L |
| |
| #undef org_apache_harmony_x_print_GDIClient_COLLATE_INDEX |
| #define org_apache_harmony_x_print_GDIClient_COLLATE_INDEX 3L |
| |
| #undef org_apache_harmony_x_print_GDIClient_CHROMATICITY_INDEX |
| #define org_apache_harmony_x_print_GDIClient_CHROMATICITY_INDEX 4L |
| |
| #undef org_apache_harmony_x_print_GDIClient_ORIENTATION_INDEX |
| #define org_apache_harmony_x_print_GDIClient_ORIENTATION_INDEX 5L |
| |
| #undef org_apache_harmony_x_print_GDIClient_XRESOLUTION_INDEX |
| #define org_apache_harmony_x_print_GDIClient_XRESOLUTION_INDEX 6L |
| |
| #undef org_apache_harmony_x_print_GDIClient_YRESOLUTION_INDEX |
| #define org_apache_harmony_x_print_GDIClient_YRESOLUTION_INDEX 7L |
| |
| #undef org_apache_harmony_x_print_GDIClient_NOT_STANDARD_MEDIA |
| #define org_apache_harmony_x_print_GDIClient_NOT_STANDARD_MEDIA 1000L |
| |
| |
| /* Native methods */ |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.checkPostScript(Ljava/lang/String;)Z |
| */ |
| JNIEXPORT jboolean JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_checkPostScript(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getColorSupported(Ljava/lang/String;)Z |
| */ |
| JNIEXPORT jboolean JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getColorSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getPagesPerMinute(Ljava/lang/String;)I |
| */ |
| JNIEXPORT jint JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getPagesPerMinute(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getPagesPerMinuteColor(Ljava/lang/String;)I |
| */ |
| JNIEXPORT jint JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getPagesPerMinuteColor(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getPrinterIsAcceptingJobs(Ljava/lang/String;)I |
| */ |
| JNIEXPORT jint JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getPrinterIsAcceptingJobs(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getPrinterLocation(Ljava/lang/String;)Ljava/lang/String; |
| */ |
| JNIEXPORT jstring JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getPrinterLocation(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getQueuedJobCount(Ljava/lang/String;)I |
| */ |
| JNIEXPORT jint JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getQueuedJobCount(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getCopiesSupported(Ljava/lang/String;)I |
| */ |
| JNIEXPORT jint JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getCopiesSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getSidesSupported(Ljava/lang/String;)Z |
| */ |
| JNIEXPORT jboolean JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getSidesSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getMediaSizesSupported(Ljava/lang/String;)[[I |
| */ |
| JNIEXPORT jobjectArray JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getMediaSizesSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getMediaIDs(Ljava/lang/String;)[I |
| */ |
| JNIEXPORT jintArray JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getMediaIDs(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getMediaNames(Ljava/lang/String;)[Ljava/lang/String; |
| */ |
| JNIEXPORT jobjectArray JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getMediaNames(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getMediaTraysSupported(Ljava/lang/String;)[I |
| */ |
| JNIEXPORT jintArray JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getMediaTraysSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getResolutionsSupported(Ljava/lang/String;)[I |
| */ |
| JNIEXPORT jintArray JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getResolutionsSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getOrientationSupported(Ljava/lang/String;)Z |
| */ |
| JNIEXPORT jboolean JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getOrientationSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.getCollateSupported(Ljava/lang/String;)Z |
| */ |
| JNIEXPORT jboolean JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_getCollateSupported(JNIEnv *, jclass, |
| jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.startDocPrinter(Ljava/lang/String;[ILjava/lang/String;Ljava/lang/String;)I |
| */ |
| JNIEXPORT jint JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_startDocPrinter(JNIEnv *, jclass, |
| jstring, jintArray, jstring, jstring); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.writePrinter([BII)Z |
| */ |
| JNIEXPORT jboolean JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_writePrinter(JNIEnv *, jclass, |
| jbyteArray, jint, jint); |
| |
| /* |
| * Method: org.apache.harmony.x.print.GDIClient.endDocPrinter(I)Z |
| */ |
| JNIEXPORT jboolean JNICALL |
| Java_org_apache_harmony_x_print_GDIClient_endDocPrinter(JNIEnv *, jclass, |
| jint); |
| |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* _ORG_APACHE_HARMONY_X_PRINT_GDICLIENT_H */ |
| |