diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2013-03-03 19:30:43 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2013-03-03 19:30:43 +0000 |
commit | 477e8e9570cebe9152c011a76defd6e9ce21fac7 (patch) | |
tree | 257399dd5eb402a14de37452069e080662c5c1c3 /Java/com_phidgets_LEDPhidget.h | |
parent | 827093b9a63335655c696d4beb3134613c4414e6 (diff) | |
parent | 46bd2ba42d186a81d7ad7e4a55e03dd63b2d042f (diff) | |
download | libphidget21-477e8e9570cebe9152c011a76defd6e9ce21fac7.tar.gz |
Merge tag 'upstream/2.1.8.20121218'
Upstream version 2.1.8.20121218
Diffstat (limited to 'Java/com_phidgets_LEDPhidget.h')
-rw-r--r-- | Java/com_phidgets_LEDPhidget.h | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/Java/com_phidgets_LEDPhidget.h b/Java/com_phidgets_LEDPhidget.h index be631c8..0fe8e65 100644 --- a/Java/com_phidgets_LEDPhidget.h +++ b/Java/com_phidgets_LEDPhidget.h @@ -180,7 +180,7 @@ JNIEXPORT jlong JNICALL Java_com_phidgets_LEDPhidget_create * Method: getCurrentLimit * Signature: ()I */ -JNIEXPORT jint JNICALL Java_com_phidgets_LEDPhidget_getCurrentLimit +JNIEXPORT jint JNICALL Java_com_phidgets_LEDPhidget_getCurrentLimit__ (JNIEnv *, jobject); /* @@ -188,7 +188,7 @@ JNIEXPORT jint JNICALL Java_com_phidgets_LEDPhidget_getCurrentLimit * Method: setCurrentLimit * Signature: (I)V */ -JNIEXPORT void JNICALL Java_com_phidgets_LEDPhidget_setCurrentLimit +JNIEXPORT void JNICALL Java_com_phidgets_LEDPhidget_setCurrentLimit__I (JNIEnv *, jobject, jint); /* @@ -231,6 +231,38 @@ JNIEXPORT jint JNICALL Java_com_phidgets_LEDPhidget_getDiscreteLED JNIEXPORT void JNICALL Java_com_phidgets_LEDPhidget_setDiscreteLED (JNIEnv *, jobject, jint, jint); +/* + * Class: com_phidgets_LEDPhidget + * Method: getBrightness + * Signature: (I)D + */ +JNIEXPORT jdouble JNICALL Java_com_phidgets_LEDPhidget_getBrightness + (JNIEnv *, jobject, jint); + +/* + * Class: com_phidgets_LEDPhidget + * Method: setBrightness + * Signature: (ID)V + */ +JNIEXPORT void JNICALL Java_com_phidgets_LEDPhidget_setBrightness + (JNIEnv *, jobject, jint, jdouble); + +/* + * Class: com_phidgets_LEDPhidget + * Method: getCurrentLimit + * Signature: (I)D + */ +JNIEXPORT jdouble JNICALL Java_com_phidgets_LEDPhidget_getCurrentLimit__I + (JNIEnv *, jobject, jint); + +/* + * Class: com_phidgets_LEDPhidget + * Method: setCurrentLimit + * Signature: (ID)V + */ +JNIEXPORT void JNICALL Java_com_phidgets_LEDPhidget_setCurrentLimit__ID + (JNIEnv *, jobject, jint, jdouble); + #ifdef __cplusplus } #endif |