aboutsummaryrefslogtreecommitdiffstats
path: root/Java/com_phidgets_AnalogPhidget.c
blob: 35bd2d57391af4406ef31b8774fb48a886eef98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "../stdafx.h"
#include "phidget_jni.h"
#include "com_phidgets_AnalogPhidget.h"
#include "../cphidgetanalog.h"

JNI_LOAD(analog, Analog)
}

JNI_CREATE(Analog)

JNI_GETFUNC(Analog, OutputCount, OutputCount, jint)
JNI_INDEXED_GETFUNC(Analog, Voltage, Voltage, jdouble)
JNI_INDEXED_SETFUNC(Analog, Voltage, Voltage, jdouble)
JNI_INDEXED_GETFUNC(Analog, VoltageMax, VoltageMax, jdouble)
JNI_INDEXED_GETFUNC(Analog, VoltageMin, VoltageMin, jdouble)
JNI_INDEXED_GETFUNCBOOL(Analog, Enabled, Enabled)
JNI_INDEXED_SETFUNC(Analog, Enabled, Enabled, jboolean)